Skip to content

Commit 51713b6

Browse files
committed
Remove unused pipelines
1 parent cc7616e commit 51713b6

File tree

1 file changed

+0
-45
lines changed

1 file changed

+0
-45
lines changed

src/main/kotlin/com/lambda/graphics/mc/LambdaRenderPipelines.kt

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -37,51 +37,6 @@ object LambdaRenderPipelines : Loadable {
3737
private val LAMBDA_ESP_SNIPPET =
3838
RenderPipeline.builder(RenderPipelines.TRANSFORMS_AND_PROJECTION_SNIPPET).buildSnippet()
3939

40-
/**
41-
* Pipeline for static ESP faces (filled quads).
42-
* - Translucent blending for see-through effect
43-
* - No depth write to allow overlapping
44-
* - No culling to see all faces
45-
* - Uses TRIANGLES mode for maximum flexibility
46-
*/
47-
val ESP_FACES: RenderPipeline =
48-
RenderPipelines.register(
49-
RenderPipeline.builder(LAMBDA_ESP_SNIPPET)
50-
.withLocation(Identifier.of("lambda", "pipeline/esp_faces"))
51-
.withVertexShader(Identifier.ofVanilla("core/position_color"))
52-
.withFragmentShader(Identifier.ofVanilla("core/position_color"))
53-
.withBlend(BlendFunction.TRANSLUCENT)
54-
.withDepthWrite(false)
55-
.withDepthTestFunction(DepthTestFunction.LEQUAL_DEPTH_TEST)
56-
.withCull(false)
57-
.withVertexFormat(
58-
VertexFormats.POSITION_COLOR,
59-
VertexFormat.DrawMode.QUADS
60-
)
61-
.build()
62-
)
63-
64-
/**
65-
* Pipeline for static ESP faces that render through walls.
66-
* - Same as ESP_FACES but with no depth test
67-
*/
68-
val ESP_FACES_THROUGH: RenderPipeline =
69-
RenderPipelines.register(
70-
RenderPipeline.builder(LAMBDA_ESP_SNIPPET)
71-
.withLocation(Identifier.of("lambda", "pipeline/esp_faces_through"))
72-
.withVertexShader(Identifier.ofVanilla("core/position_color"))
73-
.withFragmentShader(Identifier.ofVanilla("core/position_color"))
74-
.withBlend(BlendFunction.TRANSLUCENT)
75-
.withDepthWrite(false)
76-
.withDepthTestFunction(DepthTestFunction.NO_DEPTH_TEST)
77-
.withCull(false)
78-
.withVertexFormat(
79-
VertexFormats.POSITION_COLOR,
80-
VertexFormat.DrawMode.QUADS
81-
)
82-
.build()
83-
)
84-
8540
/**
8641
* Pipeline for ESP lines/outlines.
8742
* - Uses MC's line rendering with per-vertex line width

0 commit comments

Comments
 (0)