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
+18
View File
@@ -0,0 +1,18 @@
#version 120
//Upper & lower parts of the sky
varying vec4 color;
void main()
{
vec4 position = gl_ModelViewMatrix * gl_Vertex;
gl_Position = gl_ProjectionMatrix * position;
gl_FogFragCoord = sqrt(position.x * position.x + position.y * position.y + position.z * position.z);
color = gl_Color;
}