Home | History | Annotate | Download | only in globaltime

Lines Matching defs:light

57  * frustum and light intensities during application development.
105 * // Enable a light for the GLView to manipulate
152 * <li> la - ambient light (all RGB channels)
153 * <li> lar - ambient light red channel
154 * <li> lag - ambient light green channel
155 * <li> lab - ambient light blue channel
156 * <li> ld - diffuse light (all RGB channels)
157 * <li> ldr - diffuse light red channel
158 * <li> ldg - diffuse light green channel
159 * <li> ldb - diffuse light blue channel
160 * <li> ls - specular light (all RGB channels)
161 * <li> lsr - specular light red channel
162 * <li> lsg - specular light green channel
163 * <li> lsb - specular light blue channel
164 * <li> lma - light model ambient (all RGB channels)
165 * <li> lmar - light model ambient light red channel
166 * <li> lmag - light model ambient green channel
167 * <li> lmab - light model ambient blue channel
251 "Light Model Ambient Intensity",
252 "Light Model Ambient Red",
253 "Light Model Ambient Green",
254 "Light Model Ambient Blue",
328 * Sets the overall ambient light intensity. This intensity will
329 * be used to modify the ambient light value for each of the red,
334 * ambient light intensity.
341 * Sets the light model ambient intensity. This intensity will be
342 * used to modify the ambient light value for each of the red,
348 * light model ambient intensity.
370 * Sets the overall diffuse light intensity. This intensity will
371 * be used to modify the diffuse light value for each of the red,
376 * ambient light intensity.
398 * Sets the overall specular light intensity. This intensity will
399 * be used to modify the diffuse light value for each of the red,
404 * ambient light intensity.
887 * Sets the lighting parameters for the given light.
892 * <li>sets the GL_AMBIENT intensities for the given light</li>
893 * <li>sets the GL_DIFFUSE intensities for the given light</li>
894 * <li>sets the GL_SPECULAR intensities for the given light</li>
900 float[] light = new float[4];
901 light[3] = 1.0f;
904 light[0] = params[LIGHT_MODEL_AMBIENT_RED]*lmi;
905 light[1] = params[LIGHT_MODEL_AMBIENT_GREEN]*lmi;
906 light[2] = params[LIGHT_MODEL_AMBIENT_BLUE]*lmi;
907 gl.glLightModelfv(GL10.GL_LIGHT_MODEL_AMBIENT, light, 0);
910 light[0] = params[AMBIENT_RED]*ai;
911 light[1] = params[AMBIENT_GREEN]*ai;
912 light[2] = params[AMBIENT_BLUE]*ai;
913 gl.glLightfv(lightNum, GL10.GL_AMBIENT, light, 0);
916 light[0] = params[DIFFUSE_RED]*di;
917 light[1] = params[DIFFUSE_GREEN]*di;
918 light[2] = params[DIFFUSE_BLUE]*di;
919 gl.glLightfv(lightNum, GL10.GL_DIFFUSE, light, 0);
922 light[0] = params[SPECULAR_RED]*si;
923 light[1] = params[SPECULAR_GREEN]*si;
924 light[2] = params[SPECULAR_BLUE]*si;
925 gl.glLightfv(lightNum, GL10.GL_SPECULAR, light, 0);