Skip to content

Commit 348c3a9

Browse files
committed
25w35a support (oops)
1 parent 7613617 commit 348c3a9

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
loom.platform=fabric
22

33
deps.parchment_version=
4-
deps.fabric_api_version=0.132.2+1.21.9
4+
deps.fabric_api_version=0.132.3+1.21.9
55
deps.modmenu_version=15.0.0-beta.3
66

7-
mod.mc_version=25w32a
7+
mod.mc_version=25w35a
88
mod.mc_dep=>1.21.8 <=1.21.9
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#version 150
2+
3+
#moj_import <minecraft:dynamictransforms.glsl>
4+
5+
uniform sampler2D Sampler0;
6+
in vec2 texCoord0;
7+
out vec4 fragColor;
8+
9+
void main() {
10+
vec4 color = texture(Sampler0, texCoord0) * ColorModulator;
11+
if (color.a == 0.0) {
12+
discard;
13+
}
14+
15+
fragColor = color;
16+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#version 150
2+
3+
#moj_import <minecraft:dynamictransforms.glsl>
4+
#moj_import <minecraft:projection.glsl>
5+
6+
in vec3 Position;
7+
in vec2 UV0;
8+
out vec2 texCoord0;
9+
10+
void main() {
11+
gl_Position = ProjMat * ModelViewMat * vec4(Position, 1.0);
12+
texCoord0 = UV0;
13+
}

0 commit comments

Comments
 (0)