diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-03-18 13:38:36 +0100 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-03-18 13:38:36 +0100 |
commit | 90397c50e72567fa9df7d316f1bb263823d42da8 (patch) | |
tree | b91abc68d29cdfe89475566b93f43ad9eb998514 /cwd/shaders/sky.fs | |
parent | Optimized update of RendererSection (diff) | |
download | AltCraft-90397c50e72567fa9df7d316f1bb263823d42da8.tar AltCraft-90397c50e72567fa9df7d316f1bb263823d42da8.tar.gz AltCraft-90397c50e72567fa9df7d316f1bb263823d42da8.tar.bz2 AltCraft-90397c50e72567fa9df7d316f1bb263823d42da8.tar.lz AltCraft-90397c50e72567fa9df7d316f1bb263823d42da8.tar.xz AltCraft-90397c50e72567fa9df7d316f1bb263823d42da8.tar.zst AltCraft-90397c50e72567fa9df7d316f1bb263823d42da8.zip |
Diffstat (limited to 'cwd/shaders/sky.fs')
-rw-r--r-- | cwd/shaders/sky.fs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cwd/shaders/sky.fs b/cwd/shaders/sky.fs index 549d463..23f6ada 100644 --- a/cwd/shaders/sky.fs +++ b/cwd/shaders/sky.fs @@ -4,7 +4,6 @@ in vec2 uvPos; in vec3 pos; uniform sampler2D textureAtlas; -uniform vec4 skyTexture; uniform float DayTime; uniform vec4 sunTexture; uniform vec4 moonTexture; @@ -42,7 +41,7 @@ vec4 Moon() { } void main() { - vec4 starColor = texture(textureAtlas,TransformTextureCoord(skyTexture,uvPos)); + vec4 starColor = vec4(0.0f, 0.04f, 0.06f, 1.0f); gl_FragColor = mix(starColor, DaySkyColor, DayTime); gl_FragColor += Sun(); gl_FragColor += Moon(); |