Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //
  2. // Simple passthrough fragment shader
  3. //
  4. varying vec2 v_vTexcoord;
  5. varying vec4 v_vColour;
  6.  
  7. uniform float uRozjasnienie;
  8.  
  9. void main()
  10. {
  11.     gl_FragColor = v_vColour * texture2D( gm_BaseTexture, v_vTexcoord ) + vec4(vec3(uRozjasnienie), 0);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement