Removing useless shaders.

This commit is contained in:
Faerbit 2015-03-07 18:57:24 +01:00
parent e02d223574
commit 48174a4fb5
4 changed files with 0 additions and 51 deletions

View File

@ -1,11 +0,0 @@
#version 150
in vec2 vTexCoord;
uniform sampler2D flame_fbo;
out vec4 oColor;
void main() {
oColor = texture(flame_fbo, vTexCoord);
}

View File

@ -1,11 +0,0 @@
#version 150
in vec2 aPosition;
in vec2 aTexCoord;
out vec2 vTexCoord;
void main() {
vTexCoord = aTexCoord;
gl_Position = vec4(aPosition, 0.0, 1.0);
}

View File

@ -1,18 +0,0 @@
#version 150
in vec2 vTexCoord;
uniform sampler2D flame_fbo;
uniform sampler2D light_fbo;
out vec4 oColor;
void main() {
vec4 flameColor = texture(flame_fbo, vTexCoord);
if (flameColor == vec4(0.0, 0.0, 0.0, 1.0)) {
oColor = texture(light_fbo, vTexCoord);
}
else {
oColor = mix(flameColor, texture(light_fbo, vTexCoord), 0.4);
}
}

View File

@ -1,11 +0,0 @@
#version 150
in vec2 aPosition;
in vec2 aTexCoord;
out vec2 vTexCoord;
void main() {
vTexCoord = aTexCoord;
gl_Position = vec4(aPosition, 0.0, 1.0);
}