2023-01-12 15:00:14 -05:00
|
|
|
#version 120
|
|
|
|
#extension GL_EXT_gpu_shader4 : enable
|
|
|
|
|
2023-04-16 16:18:26 -04:00
|
|
|
flat varying float tempOffsets;
|
|
|
|
|
|
|
|
uniform int frameCounter;
|
|
|
|
|
|
|
|
#include "/lib/util.glsl"
|
|
|
|
|
2023-01-12 15:00:14 -05:00
|
|
|
//////////////////////////////VOID MAIN//////////////////////////////
|
|
|
|
//////////////////////////////VOID MAIN//////////////////////////////
|
|
|
|
//////////////////////////////VOID MAIN//////////////////////////////
|
|
|
|
//////////////////////////////VOID MAIN//////////////////////////////
|
|
|
|
//////////////////////////////VOID MAIN//////////////////////////////
|
|
|
|
|
|
|
|
void main() {
|
|
|
|
gl_Position = ftransform();
|
|
|
|
|
2023-04-16 16:18:26 -04:00
|
|
|
tempOffsets = HaltonSeq2(frameCounter%10000);
|
|
|
|
|
|
|
|
gl_Position.xy = (gl_Position.xy*0.5+0.5)*0.51*2.0-1.0;
|
2023-01-12 15:00:14 -05:00
|
|
|
}
|