skybox: added moon and stars

This commit is contained in:
MihailRis
2024-01-26 02:49:42 +03:00
parent b42a517cc6
commit a4a5aef422
22 changed files with 258 additions and 52 deletions
+1 -1
View File
@@ -277,7 +277,7 @@ void main() {
MIE_BETA, // Mie scattering coefficient
ABSORPTION_BETA, // Absorbtion coefficient
AMBIENT_BETA, // ambient scattering, turned off for now. This causes the air to glow a bit when no light reaches it
G*fog, // Mie preferred scattering direction
G*fog*0.7, // Mie preferred scattering direction
HEIGHT_RAY, // Rayleigh scale height
HEIGHT_MIE*u_mie*u_mie, // Mie scale height
HEIGHT_ABSORPTION, // the height at which the most absorption happens