Arbeiten aus dem URlaub

This commit is contained in:
2026-05-19 12:55:05 +02:00
parent b8a0234ad2
commit 4f48834e2c
403 changed files with 23402 additions and 6389 deletions

View File

@@ -0,0 +1,15 @@
#import "Common/ShaderLib/GLSLCompat.glsllib"
uniform sampler2D m_LeafMap;
uniform bool m_HasLeafMap;
in vec2 texCoord;
void main() {
if (m_HasLeafMap) {
vec4 tex = texture2D(m_LeafMap, texCoord);
if (tex.a < 0.5) discard;
}
// Nur Tiefe schreiben — ColorWrite ist per ForcedRenderState deaktiviert
gl_FragColor = vec4(1.0);
}