Avoid duplication of fullscreen vertex shader
This commit is contained in:
parent
1a5cc682a9
commit
2163651c43
6 changed files with 3 additions and 11 deletions
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
void main() {
|
|
||||||
gl_Position = gl_Vertex;
|
|
||||||
gl_TexCoord[0] = gl_MultiTexCoord0;
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
void main() {
|
|
||||||
gl_Position = gl_Vertex;
|
|
||||||
gl_TexCoord[0] = gl_MultiTexCoord0;
|
|
||||||
}
|
|
Loading…
Reference in a new issue