yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
6c292d3b
main
1#version 400 2 3uniform sampler2D texSampler2D ; 4uniform sampler3D texSampler3D ; 5 6in float blend ; 7in vec2 scale ; 8in vec4 u ; 9 10in vec2 t ; 11in vec3 coords ; 12 13void main () 14{ 15float blendscale = 1.789 ; 16 17vec4 v = texture (texSampler2D , (t + scale ) /scale ).wzyx ; 18 19vec4 w = texture (texSampler3D ,coords )+ v ; 20 21gl_FragColor = mix (w ,u ,blend * blendscale ); 22}