A 3d fps game made in OpenGL
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Symmetry/assets/shaders/phong.frag

7 lines
220 B

//include fog.glsl phongCommon.glsl common.glsl commonFrag.glsl version.glsl
void main()
{
vec4 totalLightColor = calculateLight();
fragColor = applyFog(diffuseColor * (totalLightColor + ambientLight));
}