From 1080bc281549b9154114e3f05c60f15b926dc21e Mon Sep 17 00:00:00 2001 From: FalsePattern Date: Tue, 28 Nov 2023 09:01:54 +0100 Subject: removed unnecessary shader in/out --- src/main/resources/shaders/chunk.frag | 1 - src/main/resources/shaders/chunk.vert | 3 --- 2 files changed, 4 deletions(-) (limited to 'src/main/resources/shaders') diff --git a/src/main/resources/shaders/chunk.frag b/src/main/resources/shaders/chunk.frag index 5cc33c1..03ae8e4 100644 --- a/src/main/resources/shaders/chunk.frag +++ b/src/main/resources/shaders/chunk.frag @@ -9,7 +9,6 @@ in mat4 ProjInv; in vec4 FogColor; in vec2 FogStartEnd; in float FogFactor; -flat in vec2 ProvokingTexCoord; uniform sampler2D atlas; uniform sampler2D lightTex; diff --git a/src/main/resources/shaders/chunk.vert b/src/main/resources/shaders/chunk.vert index f8a42a0..3e12f99 100644 --- a/src/main/resources/shaders/chunk.vert +++ b/src/main/resources/shaders/chunk.vert @@ -23,7 +23,6 @@ out mat4 ProjInv; out vec4 FogColor; out vec2 FogStartEnd; out float FogFactor; // -1 means: disable fog -flat out vec2 ProvokingTexCoord; void main() { @@ -52,6 +51,4 @@ void main() FogFactor = -1; } FogStartEnd = fogStartEnd; - - ProvokingTexCoord = aTexCoord; } \ No newline at end of file -- cgit