summaryrefslogtreecommitdiffstats
path: root/cwd/assets/altcraft/shaders/frag/face.fs
diff options
context:
space:
mode:
Diffstat (limited to 'cwd/assets/altcraft/shaders/frag/face.fs')
-rw-r--r--cwd/assets/altcraft/shaders/frag/face.fs4
1 files changed, 3 insertions, 1 deletions
diff --git a/cwd/assets/altcraft/shaders/frag/face.fs b/cwd/assets/altcraft/shaders/frag/face.fs
index 98b389a..bd2a2d7 100644
--- a/cwd/assets/altcraft/shaders/frag/face.fs
+++ b/cwd/assets/altcraft/shaders/frag/face.fs
@@ -7,6 +7,8 @@ in VS_OUT {
vec2 Light;
} fs_in;
+out vec4 fragColor;
+
uniform sampler2DArray textureAtlas;
uniform float DayTime;
uniform float MinLightLevel;
@@ -44,5 +46,5 @@ void main() {
float faceLight = clamp(light + skyLight,MinLightLevel,1.0);
color = vec4(color.rgb * faceLight, color.a);
- gl_FragColor = color;
+ fragColor = color;
} \ No newline at end of file