Finally somehow planet is done

This commit is contained in:
Vladislav Khorev committed 2025-12-31 23:02:13 +03:00
1 parent 592e008914
commit 2b40c13c9d
9 files changed
+315 -330

No files matched your search

+1 -3
View File
@@ -1,8 +1,6 @@
// ---Фрагментный шейдер (Fragment Shader)
varying vec2 TexCoord;
varying float viewZ;
varying vec3 pos;
uniform sampler2D Texture;
uniform float uDistanceToPlanetSurface;
@@ -55,5 +53,5 @@ void main()
gl_FragColor = mix(vec4(finalColor.rgb, alphaFactor), FOG_COLOR, fogFactor);
}
//gl_FragColor = vec4(finalColor.rgb, 1.0);
}