update skybox & fix block overlay

This commit is contained in:
MihailRis
2025-05-09 22:46:07 +03:00
parent 657b4304b4
commit 36e5ff2472
2 changed files with 14 additions and 11 deletions
+1 -1
View File
@@ -268,7 +268,7 @@ void main() {
camera_vector, // the camera vector (ray direction of this pixel)
1e12f, // max dist, essentially the scene depth
vec3(0.0f), // scene color, the color of the current pixel being rendered
u_lightDir, // light direction
vec3(u_lightDir.x, pow(u_lightDir.y, 3.0), u_lightDir.z), // light direction
vec3(40.0*fog), // light intensity, 40 looks nice
PLANET_POS, // position of the planet
PLANET_RADIUS, // radius of the planet in meters