diff options
author | aap <aap@papnet.eu> | 2020-11-18 10:27:55 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-11-18 10:27:55 +0100 |
commit | 82b0103c6789041b721b1de30746ce21a556ab4d (patch) | |
tree | 2312509d815997225ba4ad09b6f574918a8c06d2 /src/extras/shaders/neoGloss.vert | |
parent | Merge pull request #820 from withmorten/mission-switcher (diff) | |
download | re3-82b0103c6789041b721b1de30746ce21a556ab4d.tar re3-82b0103c6789041b721b1de30746ce21a556ab4d.tar.gz re3-82b0103c6789041b721b1de30746ce21a556ab4d.tar.bz2 re3-82b0103c6789041b721b1de30746ce21a556ab4d.tar.lz re3-82b0103c6789041b721b1de30746ce21a556ab4d.tar.xz re3-82b0103c6789041b721b1de30746ce21a556ab4d.tar.zst re3-82b0103c6789041b721b1de30746ce21a556ab4d.zip |
Diffstat (limited to 'src/extras/shaders/neoGloss.vert')
-rw-r--r-- | src/extras/shaders/neoGloss.vert | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/extras/shaders/neoGloss.vert b/src/extras/shaders/neoGloss.vert index 78dd1b33..41102f3f 100644 --- a/src/extras/shaders/neoGloss.vert +++ b/src/extras/shaders/neoGloss.vert @@ -1,15 +1,11 @@ uniform vec3 u_eye; +VSIN(ATTRIB_POS) vec3 in_pos; -layout(location = 0) in vec3 in_pos; -layout(location = 1) in vec3 in_normal; -layout(location = 2) in vec4 in_color; -layout(location = 3) in vec2 in_tex0; - -out vec3 v_normal; -out vec3 v_light; -out vec2 v_tex0; -out float v_fog; +VSOUT vec3 v_normal; +VSOUT vec3 v_light; +VSOUT vec2 v_tex0; +VSOUT float v_fog; void main(void) |