10 lines
265 B
GLSL
10 lines
265 B
GLSL
|
varying float fogCoord;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
vec4 fragColor = gl_FrontMaterial.ambient;
|
||
|
// float fogFactor = exp(-gl_Fog.density * gl_Fog.density * fogCoord * fogCoord);
|
||
|
// gl_FragColor = mix(gl_Fog.color, fragColor, fogFactor);
|
||
|
gl_FragColor = fragColor;
|
||
|
}
|