projects
/
andemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
windows build with msvc2022
[andemo]
/
sdr
/
foo.v.glsl
diff --git
a/sdr/foo.v.glsl
b/sdr/foo.v.glsl
index
b2911c5
..
1e8d9b6
100644
(file)
--- 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()
{
varying vec2 texcoord;
void main()
{
- gl_Position = apos;
- texcoord = atex;
+ gl_Position = attr_vertex;
+ texcoord = attr_texcoord;
+ color = attr_color;
}
}