Lines Matching refs:Light
29 #include "main/light.h"
98 * P = light source position
103 * // light at infinity
178 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_SHININESS][0];
182 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_SHININESS][0];
208 /* recompute derived light/material values */
234 if (ctx->Light.ColorMaterialEnabled) {
235 const GLuint bitmask = ctx->Light._ColorMaterialBitmask;
253 store->mat[j].current = ctx->Light.Material.Attrib[attr];
334 if (!ctx->Light.Enabled || ctx->VertexProgram._Current)
369 if (ctx->Light.Model.TwoSide)
381 /* Called in place of do_lighting when the light table may have changed.
388 if (!ctx->Light.Enabled || ctx->VertexProgram._Current)
391 if (ctx->Light._NeedVertices) {
392 if (ctx->Light.Model.ColorControl == GL_SEPARATE_SPECULAR_COLOR)
398 if (ctx->Light.EnabledList.next == ctx->Light.EnabledList.prev)