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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user