medfall

A super great game engine
Log | Files | Refs

commit f39bc1a02176b4b7effe50d7d8d1a581c8288f5f
parent 4e909f86b2f4bd19389d5f085227907e60c7d280
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sun Jul  9 23:40:40 +0300

Smaller + better defined sun

Diffstat:
shaders/skybox.glsl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shaders/skybox.glsl b/shaders/skybox.glsl @@ -47,7 +47,7 @@ void main() { } float sun_dot = clamp( dot( sun_dir, npos ), 0.0, 1.0 ); - float sun_intensity = smoothstep( 0.995, 1.0, sun_dot ); + float sun_intensity = smoothstep( 0.999, 0.9995, sun_dot ); float halo_intensity = smoothstep( 0.90, 1.0, sun_dot ); float scaled_z = elevation / 1.571;