Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. index bc1a411..179f5f8 100644
  2. --- a/src/ui/glw/glsl/v1.glsl
  3. +++ b/src/ui/glw/glsl/v1.glsl
  4. @@ -18,7 +18,7 @@ varying vec2 f_tex;
  5. void main()
  6. {
  7. gl_Position = projection * u_modelview * vec4(a_position, 1);
  8. - f_col_mul = a_color * clamp(u_color, 0, 1);
  9. + f_col_mul = a_color * clamp(u_color, 0.0, 1.0);
  10. f_col_off = u_color_offset;
  11. f_tex = a_texcoord;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement