This commit is contained in:
2026-04-12 16:40:54 +07:00
parent d163609854
commit 2fe83bfb1f
31 changed files with 1153 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
#version 120
uniform sampler2D texture;
varying vec4 color;
varying vec4 texcoord;
void main()
{
gl_FragData[0] = texture2D(texture, texcoord.st) * color;
gl_FragData[0].rgb = mix(gl_FragData[0].rgb, gl_Fog.color.rgb, clamp((gl_FogFragCoord - gl_Fog.start) * gl_Fog.scale, 0.0, 1.0));
}