mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-11 04:15:25 +01:00
Port most shaders to GLSL ES 3.0 (#16639)
This commit is contained in:
@@ -1,15 +1,11 @@
|
||||
uniform vec2 texelSize0;
|
||||
|
||||
#ifdef GL_ES
|
||||
varying mediump vec2 varTexCoord;
|
||||
#else
|
||||
centroid varying vec2 varTexCoord;
|
||||
#endif
|
||||
CENTROID_ VARYING_ mediump vec2 varTexCoord;
|
||||
|
||||
varying vec2 sampleNW;
|
||||
varying vec2 sampleNE;
|
||||
varying vec2 sampleSW;
|
||||
varying vec2 sampleSE;
|
||||
VARYING_ vec2 sampleNW;
|
||||
VARYING_ vec2 sampleNE;
|
||||
VARYING_ vec2 sampleSW;
|
||||
VARYING_ vec2 sampleSE;
|
||||
|
||||
/*
|
||||
Based on
|
||||
|
||||
Reference in New Issue
Block a user