daily pastebin goal
8%
SHARE
TWEET

Untitled

a guest Oct 20th, 2018 69 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. /////////////////////////////////////////////////////////
  2. // Set color effect
  3. varying mediump vec2 vTex;
  4. uniform lowp sampler2D samplerFront;
  5. uniform lowp float red;
  6. uniform lowp float green;
  7. uniform lowp float blue;
  8.  
  9. void main(void)
  10. {
  11.     lowp float a = texture2D(samplerFront, vTex).a;
  12.    
  13.     gl_FragColor = vec4(red * a, green * a, blue * a, a);
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top