armory/raw/debug_velocity/debug_velocity.frag.glsl
2016-10-12 17:52:27 +02:00

18 lines
261 B
GLSL

#version 450
#ifdef GL_ES
precision mediump float;
#endif
#include "../compiled.glsl"
uniform sampler2D tex;
in vec2 texCoord;
out vec4 fragColor;
void main() {
vec4 col = texture(tex, texCoord);
fragColor = vec4(col.r * 10.0, col.g * 10.0, 0.0, 1.0);
}