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 common.glsl commonFrag.glsl
|
|
|
|
uniform sampler2D diffuse_texture;
|
|
|
|
out vec4 frag_color;
|
|
|
|
void main()
|
|
{
|
|
frag_color = apply_fog(diffuse_color * texture(diffuse_texture, uv));
|
|
}
|
|
|