This method of the Direct3dRMDevice Class sets the number of shades in a ramp of colors used for shading.
public void setShades(int s);
s | The new number of shades. This parameter must be a power of 2. |
By default, a device's number of shades is initially set to 32.