PrimeWorldEditor/resources/shaders/CollisionShader.ps

18 lines
234 B
PostScript
Raw Normal View History

#version 330 core
// Input
in vec2 TexCoord;
// Output
out vec4 PixelColor;
// Uniforms
uniform sampler2D Texture;
uniform vec4 TintColor;
// Main
void main()
{
PixelColor = vec4(texture(Texture, TexCoord).rgb, 0) * TintColor;
}