armory/Shaders/debug_velocity/debug_velocity.frag.glsl
luboslenco 93cc102bf5 Faster
2018-12-06 15:23:08 +01:00

14 lines
218 B
GLSL

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