combine end and nether shaders into one group of programs. for my own ease of use.

This commit is contained in:
Xonk
2023-08-03 00:23:29 -04:00
parent cfc8722bc8
commit 848cccd9da
138 changed files with 2362 additions and 4710 deletions

View File

@ -0,0 +1,9 @@
#include "/lib/settings.glsl"
uniform vec2 texelSize;
#include "/lib/res_params.glsl"
void main() {
gl_Position = ftransform();
vec2 scaleRatio = max(vec2(0.25), vec2(18.+258*2,258.)*texelSize);
gl_Position.xy = (gl_Position.xy*0.5+0.5)*clamp(scaleRatio+0.01,0.0,1.0)*2.0-1.0;
}