Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vec4 effect(vec4 color, Image texture, vec2 texture_coords, vec2 screen_coords)
- {
- if (Texel(texture, texture_coords).r > 0.5)
- return vec4(0.741, 0, 0, 1);
- else
- return vec4(0, 0, 0.196, 1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement