armory/Shaders/debug_velocity/debug_velocity.frag.glsl

14 lines
211 B
Plaintext
Raw Normal View History

2016-07-31 23:25:33 +02:00
#version 450
2017-12-13 14:21:42 +01:00
#include "compiled.glsl"
2016-07-31 23:25:33 +02:00
uniform sampler2D tex;
in vec2 texCoord;
2016-10-12 17:52:27 +02:00
out vec4 fragColor;
2016-07-31 23:25:33 +02:00
void main() {
vec4 col = texture(tex, texCoord);
2017-03-11 01:50:47 +01:00
fragColor.rgb = vec4(col.r * 10.0, col.g * 10.0, 0.0);
2016-07-31 23:25:33 +02:00
}