cargocat
cargocat
TIPThe Iris Project
Created by cargocat on 5/15/2025 in #iris-issues
How would I implement compatibility for Iris with this RenderPipeline
public static RenderPipeline LINES_NO_DEPTH = RenderPipeline.builder(RenderPipelines.MATRICES_COLOR_SNIPPET)
.withLocation("pipeline/render_outlines")
.withVertexShader("core/rendertype_lines")
.withFragmentShader(ResourceLocation.fromNamespaceAndPath(XRay.MOD_ID, "frag/rendertype_lines_unaffected"))
.withUniform("LineWidth", UniformType.FLOAT)
.withUniform("ScreenSize", UniformType.VEC2)
.withBlend(BlendFunction.TRANSLUCENT)
.withCull(false)
.withVertexFormat(DefaultVertexFormat.POSITION_COLOR, VertexFormat.Mode.LINES)
.withDepthTestFunction(DepthTestFunction.NO_DEPTH_TEST)
.build();
public static RenderPipeline LINES_NO_DEPTH = RenderPipeline.builder(RenderPipelines.MATRICES_COLOR_SNIPPET)
.withLocation("pipeline/render_outlines")
.withVertexShader("core/rendertype_lines")
.withFragmentShader(ResourceLocation.fromNamespaceAndPath(XRay.MOD_ID, "frag/rendertype_lines_unaffected"))
.withUniform("LineWidth", UniformType.FLOAT)
.withUniform("ScreenSize", UniformType.VEC2)
.withBlend(BlendFunction.TRANSLUCENT)
.withCull(false)
.withVertexFormat(DefaultVertexFormat.POSITION_COLOR, VertexFormat.Mode.LINES)
.withDepthTestFunction(DepthTestFunction.NO_DEPTH_TEST)
.build();
log: https://gist.github.com/cargocats/f9044af611ae3c09afa32fbe3570dfc2 Believe this is the start of the issue: [17:50:09] [Render thread] [Iris/FATAL]: Missing program minecraft:pipeline/render_outlines in override list. This is likely an Iris bug!!! java.lang.Throwable
2 replies