File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/client/java/pro/mikey/fabric/xray/render Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx4G
33minecraft_version =1.21.5
44
55# Mod Properties
6- mod_version =21.4 .0
6+ mod_version =21.5 .0
77maven_group =pro.mikey
88archives_base_name =advanced-xray-fabric
99
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments