Rev 218 | Go to most recent revision | Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 215 | chris | 1 | |
| 2 | uniform sampler2D uDiffuse; |
||
| 3 | |||
| 4 | precision mediump float; |
||
| 5 | |||
| 6 | varying vec4 v_color; |
||
| 7 | varying vec2 v_texcoord; |
||
| 8 | |||
| 9 | void main() |
||
| 10 | { |
||
| 11 | gl_FragColor = texture2D(uDiffuse, v_texcoord.xy); |
||
| 12 | //gl_FragColor = vec4(0.63671875, 0.76, 0.22, 1.0); |
||
| 13 | //gl_FragColor = vec4(v_texcoord.x, v_texcoord.y, 0.22, 1.0); |
||
| 14 | //gl_FragColor = v_color; |
||
| 15 | } |
||
| 16 |