]> git.sesse.net Git - movit/blob - alpha_multiplication_effect.frag
Add output size as a uniform to compute shaders, as an integer; not just the inverse...
[movit] / alpha_multiplication_effect.frag
1 vec4 FUNCNAME(vec2 tc) {
2         vec4 x = INPUT(tc);
3         x.rgb *= x.aaa; 
4         return x;
5 }