Home
last modified time | relevance | path

Searched refs:s_FogColor (Results 1 – 1 of 1) sorted by relevance

/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/Fog/
DFog.cpp57 GLfloat s_FogColor[4]={1.0f, 1.0f, 1.0f, 1.0f}; variable
336 s_FogColor[0] = 0.2f + dx * (1.0f - 0.2f); in DrawFrame()
337 s_FogColor[1] = 0.4f + dx * (1.0f - 0.4f); in DrawFrame()
338 s_FogColor[2] = 0.6f + dx * (1.0f - 0.6f); in DrawFrame()
339 glUniform3fv(glGetUniformLocation(s_PgID, "dmp_Fog.color"), 1, s_FogColor); in DrawFrame()