3dphotoshoot
annotate sdr/tex.p.glsl @ 22:d7fe157c402d
fonts
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 13 Jun 2015 05:32:07 +0300 |
parents | |
children | 3d082c566b53 |
rev | line source |
---|---|
nuclear@21 | 1 precision mediump float; |
nuclear@21 | 2 |
nuclear@21 | 3 uniform sampler2D tex; |
nuclear@21 | 4 |
nuclear@21 | 5 varying vec4 tex_coords; |
nuclear@21 | 6 |
nuclear@21 | 7 void main() |
nuclear@21 | 8 { |
nuclear@21 | 9 vec4 texel = texture2D(tex, tex_coords.xy); |
nuclear@21 | 10 gl_FragColor = texel; |
nuclear@21 | 11 } |