armory/Shaders/combine_pass/combine_pass.frag.glsl

12 lines
192 B
Plaintext
Raw Normal View History

2016-03-15 11:29:53 +01:00
#version 450
2016-04-01 01:48:18 +02:00
uniform sampler2D tex;
uniform sampler2D tex2;
2016-03-15 11:29:53 +01:00
in vec2 texCoord;
2016-10-12 17:52:27 +02:00
out vec4 fragColor;
2016-03-15 11:29:53 +01:00
void main() {
2017-03-11 01:50:47 +01:00
fragColor.rgb = texture(tex, texCoord).rgb + texture(tex2, texCoord).rgb;
2016-03-15 11:29:53 +01:00
}