Skip to content

Commit e2a29ae

Browse files
chore: version bump and minor rendering fix
1 parent fa591e9 commit e2a29ae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx4G
33
minecraft_version=1.21.5
44

55
# Mod Properties
6-
mod_version=21.4.0
6+
mod_version=21.5.0
77
maven_group=pro.mikey
88
archives_base_name=advanced-xray-fabric
99

src/client/java/pro/mikey/fabric/xray/render/RenderOutlines.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ public class RenderOutlines {
3434
public static AtomicBoolean requestedRefresh = new AtomicBoolean(false);
3535

3636
public static RenderPipeline LINES_NO_DEPTH = RenderPipeline.builder(RenderPipelines.MATRICES_COLOR_SNIPPET)
37-
.withLocation("pipeline/render_outlines")
37+
.withLocation("pipeline/xray_lines")
3838
.withVertexShader("core/rendertype_lines")
3939
.withFragmentShader(ResourceLocation.fromNamespaceAndPath(XRay.MOD_ID, "frag/rendertype_lines_unaffected"))
4040
.withUniform("LineWidth", UniformType.FLOAT)
4141
.withUniform("ScreenSize", UniformType.VEC2)
4242
.withBlend(BlendFunction.TRANSLUCENT)
4343
.withCull(false)
44-
.withVertexFormat(DefaultVertexFormat.POSITION_COLOR, VertexFormat.Mode.LINES)
44+
.withVertexFormat(DefaultVertexFormat.POSITION_COLOR_NORMAL, VertexFormat.Mode.LINES)
4545
.withDepthTestFunction(DepthTestFunction.NO_DEPTH_TEST)
4646
.build();
4747

0 commit comments

Comments
 (0)