mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-22 00:37:35 +08:00
combine end and nether shaders into one group of programs. for my own ease of use.
This commit is contained in:
17
shaders/dimensions/composite3.vsh
Normal file
17
shaders/dimensions/composite3.vsh
Normal file
@ -0,0 +1,17 @@
|
||||
#include "/lib/util.glsl"
|
||||
|
||||
varying vec2 texcoord;
|
||||
flat varying float exposureA;
|
||||
flat varying float tempOffsets;
|
||||
uniform sampler2D colortex4;
|
||||
uniform int frameCounter;
|
||||
|
||||
|
||||
|
||||
void main() {
|
||||
|
||||
tempOffsets = HaltonSeq2(frameCounter%10000);
|
||||
gl_Position = ftransform();
|
||||
texcoord = gl_MultiTexCoord0.xy;
|
||||
exposureA = texelFetch2D(colortex4,ivec2(10,37),0).r;
|
||||
}
|
Reference in New Issue
Block a user