Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Commit e0ebeb4

Browse files
committed
remove unneccesary in/out variables
1 parent d5c4005 commit e0ebeb4

File tree

5 files changed

+14
-9
lines changed

5 files changed

+14
-9
lines changed

assets/minecraft/shaders/core/common/block.vsh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ void main() {
102102
offset.y += 0.03 * cos((Position.z * pi * 7.0 + Position.x * pi / 2.0 - anim * 870) + pi / 5.0) * 0.75 * (1.0 - smoothstep(0.0, 0.9, vertexDistance / far));
103103
}
104104
}
105-
105+
106106
gl_Position = ProjMat * ModelViewMat * (vec4(Position + ChunkOffset + offset, 1.0));
107107

108108
//hanging lanterns
@@ -115,7 +115,6 @@ void main() {
115115
-1.0,
116116
sin(time) * 0.015
117117
));
118-
119118
relativePos -= vec3(0.5, 1.0, 0.5);
120119
vec3 axis = normalize(cross(vec3(0, 1, 0), newDown));
121120
float cosAngle = newDown.y;

assets/minecraft/shaders/core/common/entity_lightmap_colored.fsh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ uniform vec4 FogColor;
1515
in float vertexDistance;
1616
in vec2 texCoord0;
1717
in vec2 texCoord1;
18-
in ivec2 texCoord2;
1918
in vec4 vertexColor;
2019
in vec4 lightColor;
2120
in vec4 glpos;

assets/minecraft/shaders/core/common/entity_lightmap_colored.vsh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ out vec4 vertexColor;
2727
out vec4 overlayColor;
2828
out vec4 lightColor;
2929
out vec2 texCoord0;
30-
out vec2 texCoord1;
31-
out ivec2 texCoord2;
3230
out vec4 normal;
3331
out vec4 glpos;
3432

@@ -50,7 +48,5 @@ void main() {
5048
lightColor = minecraft_sample_lightmap(Sampler2, UV2);
5149
overlayColor = texelFetch(Sampler1, ivec2(UV1), 0);
5250
texCoord0 = UV0;
53-
texCoord1 = UV1;
54-
texCoord2 = UV2;
5551
glpos = gl_Position;
5652
}

changelog.txt

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
v++
2+
2.7
3+
4+
GUI:
5+
+Added frozen hearts
6+
7+
Shaders:
8+
-Fog distance changed back to default
9+
+Remove unneccesary in/out variables that causes load fail on some hardware
10+
11+
12+
213
2.6
314

415
Blocks:
@@ -310,7 +321,7 @@ Environment:
310321
+Light Rain and Snow
311322
+Water related particles are less blue
312323

313-
GUI
324+
GUI:
314325
+Cleaner UI buttons
315326
+Cleaner Health and Hunger icons
316327
+Cleaner XP and Horse jump bars
@@ -319,7 +330,7 @@ GUI
319330
+All container UIs are more immersive
320331
+Ghost items in specialized slots are bezeled
321332

322-
Misc
333+
Misc:
323334
+Pumpkin Blur is a heavy vignette
324335
+Map icons are arguably better
325336

v++.zip

-343 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)