Guest User

Untitled

a guest
Dec 9th, 2018
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. void main(void)
  2. {
  3.  
  4. // float a =.5; // sortie noire
  5. float a =1.1; // sortie blanc
  6. int b = int(a);
  7.  
  8.  
  9. gl_FragColor = vec4(vec3(b),1.0);
  10. }
Add Comment
Please, Sign In to add comment