Lines Matching refs:Specular
140 COPY_4V( ctx->Light.Light[l].Specular, params ); in gl_Lightfv()
229 COPY_4V( params, ctx->Light.Light[l].Specular ); in gl_GetLightfv()
283 params[0] = FLOAT_TO_INT(ctx->Light.Light[l].Specular[0]); in gl_GetLightiv()
284 params[1] = FLOAT_TO_INT(ctx->Light.Light[l].Specular[1]); in gl_GetLightiv()
285 params[2] = FLOAT_TO_INT(ctx->Light.Light[l].Specular[2]); in gl_GetLightiv()
286 params[3] = FLOAT_TO_INT(ctx->Light.Light[l].Specular[3]); in gl_GetLightiv()
446 COPY_4V( mat[0].Specular, params ); in gl_set_material()
449 COPY_4V( mat[1].Specular, params ); in gl_set_material()
590 COPY_4V( params, ctx->Light.Material[f].Specular ); in gl_GetMaterialfv()
643 params[0] = FLOAT_TO_INT( ctx->Light.Material[f].Specular[0] ); in gl_GetMaterialiv()
644 params[1] = FLOAT_TO_INT( ctx->Light.Material[f].Specular[1] ); in gl_GetMaterialiv()
645 params[2] = FLOAT_TO_INT( ctx->Light.Material[f].Specular[2] ); in gl_GetMaterialiv()
646 params[3] = FLOAT_TO_INT( ctx->Light.Material[f].Specular[3] ); in gl_GetMaterialiv()
826 light->MatSpecular[side][0] = light->Specular[0] * mat->Specular[0]; in gl_update_lighting()
827 light->MatSpecular[side][1] = light->Specular[1] * mat->Specular[1]; in gl_update_lighting()
828 light->MatSpecular[side][2] = light->Specular[2] * mat->Specular[2]; in gl_update_lighting()
846 light->sli = 0.30F * light->Specular[0] in gl_update_lighting()
847 + 0.59F * light->Specular[1] in gl_update_lighting()
848 + 0.11F * light->Specular[2]; in gl_update_lighting()