X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=sdr%2Ffoo.v.glsl;h=1e8d9b6df513f5cbf544d2d834d74119940b45e8;hb=6bdfcf4ad3daddcd9d689deb15798403c89ce42b;hp=b2911c523abea05c651298b08949480fac3345ef;hpb=6c206da1b97ad86e095d383f4ebd3d8f332ad416;p=andemo diff --git a/sdr/foo.v.glsl b/sdr/foo.v.glsl index b2911c5..1e8d9b6 100644 --- a/sdr/foo.v.glsl +++ b/sdr/foo.v.glsl @@ -1,10 +1,12 @@ -attribute vec4 apos; -attribute vec2 atex; +attribute vec4 attr_vertex, attr_color; +attribute vec2 attr_texcoord; +varying vec4 color; varying vec2 texcoord; void main() { - gl_Position = apos; - texcoord = atex; + gl_Position = attr_vertex; + texcoord = attr_texcoord; + color = attr_color; }