armory/Shaders/debug_velocity/debug_velocity.frag.glsl
2017-12-13 14:44:21 +01:00

14 lines
211 B
GLSL

#version 450
#include "compiled.glsl"
uniform sampler2D tex;
in vec2 texCoord;
out vec4 fragColor;
void main() {
vec4 col = texture(tex, texCoord);
fragColor.rgb = vec4(col.r * 10.0, col.g * 10.0, 0.0);
}