1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-07 02:35:20 +01:00

Introduce array textures for node rendering (#16574)

This commit is contained in:
sfan5
2025-11-01 17:21:41 +01:00
committed by GitHub
parent 1ead48c58b
commit de5ef4ca29
31 changed files with 777 additions and 187 deletions

View File

@@ -1,3 +1,4 @@
// FIXME missing array texture handling
uniform sampler2D ColorMapSampler;
varying vec4 tPos;
@@ -10,7 +11,7 @@ centroid varying vec2 varTexCoord;
void main()
{
vec4 col = texture2D(ColorMapSampler, varTexCoord);
// FIXME: magic number???
if (col.a < 0.70)
discard;