Advertisement
Guest User

kotlin opengl trouble

a guest
Apr 29th, 2017
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. //vertex
  2. attribute vec4 v_position;
  3.  
  4. void main(){
  5. gl_Position = v_position;
  6. }
  7. //fragment
  8. precision mediump float;
  9. uniform vec4 fr_Color;
  10.  
  11. void main() {
  12. gl_FragColor = fr_Color;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement