1
0
Fork 0

Avoid duplication of fullscreen vertex shader

This commit is contained in:
Frederic Bouvier 2012-05-12 11:47:18 +02:00
parent 1a5cc682a9
commit 2163651c43
6 changed files with 3 additions and 11 deletions

View file

@ -40,7 +40,7 @@
<name>ao-3</name> <name>ao-3</name>
</texture-unit> </texture-unit>
<program> <program>
<vertex-shader>Shaders/ambient.vert</vertex-shader> <vertex-shader>Shaders/fullscreen.vert</vertex-shader>
<fragment-shader>Shaders/ambient.frag</fragment-shader> <fragment-shader>Shaders/ambient.frag</fragment-shader>
</program> </program>
<uniform> <uniform>

View file

@ -14,7 +14,7 @@
<name><use>buffer-name</use></name> <name><use>buffer-name</use></name>
</texture-unit> </texture-unit>
<program> <program>
<vertex-shader>Shaders/blur.vert</vertex-shader> <vertex-shader>Shaders/fullscreen.vert</vertex-shader>
<fragment-shader>Shaders/blur.frag</fragment-shader> <fragment-shader>Shaders/blur.frag</fragment-shader>
</program> </program>
<uniform> <uniform>

View file

@ -43,7 +43,7 @@
<name>ao-3</name> <name>ao-3</name>
</texture-unit> </texture-unit>
<program> <program>
<vertex-shader>Shaders/display.vert</vertex-shader> <vertex-shader>Shaders/fullscreen.vert</vertex-shader>
<fragment-shader>Shaders/display.frag</fragment-shader> <fragment-shader>Shaders/display.frag</fragment-shader>
</program> </program>
<uniform> <uniform>

View file

@ -1,4 +0,0 @@
void main() {
gl_Position = gl_Vertex;
gl_TexCoord[0] = gl_MultiTexCoord0;
}

View file

@ -1,4 +0,0 @@
void main() {
gl_Position = gl_Vertex;
gl_TexCoord[0] = gl_MultiTexCoord0;
}