Searched refs:lightParams (Results 1 – 2 of 2) sorted by relevance
2046 LightParameters &lightParams = state->lightParameters(lightIndex); in SetLightParameters() local2051 lightParams.ambient = ColorF::fromData(params); in SetLightParameters()2054 lightParams.diffuse = ColorF::fromData(params); in SetLightParameters()2057 lightParams.specular = ColorF::fromData(params); in SetLightParameters()2064 lightParams.position[0] = transformedPos[0]; in SetLightParameters()2065 lightParams.position[1] = transformedPos[1]; in SetLightParameters()2066 lightParams.position[2] = transformedPos[2]; in SetLightParameters()2067 lightParams.position[3] = transformedPos[3]; in SetLightParameters()2075 lightParams.direction[0] = transformedPos[0]; in SetLightParameters()2076 lightParams.direction[1] = transformedPos[1]; in SetLightParameters()[all …]
2319 LightParameters &lightParams = state->lightParameters(lightIndex); in SetLightParameters() local2324 lightParams.ambient = ColorF::fromData(params); in SetLightParameters()2327 lightParams.diffuse = ColorF::fromData(params); in SetLightParameters()2330 lightParams.specular = ColorF::fromData(params); in SetLightParameters()2337 lightParams.position[0] = transformedPos[0]; in SetLightParameters()2338 lightParams.position[1] = transformedPos[1]; in SetLightParameters()2339 lightParams.position[2] = transformedPos[2]; in SetLightParameters()2340 lightParams.position[3] = transformedPos[3]; in SetLightParameters()2348 lightParams.direction[0] = transformedPos[0]; in SetLightParameters()2349 lightParams.direction[1] = transformedPos[1]; in SetLightParameters()[all …]