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.
|
//include fog.glsl commonFrag.glsl common.glsl
|
|
|
|
uniform sampler2D sampler;
|
|
|
|
void main()
|
|
{
|
|
vec4 pixelColor = diffuseColor * texture(sampler, uv);
|
|
fragColor = applyFog(pixelColor);
|
|
}
|
|
|