Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vec4 col = v_vColour * texture2d( gmBaseTexture, v_vTexCoord);
- float c = (col.r + col.g + col.b) / 3.0;
- vgl_FlagColour = vec4(c, c, c, col.a);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement