a67f5bf511
Transparent objects may be double sided (like bubble), it doesn't make sense to use a deferred renderer.
11 lines
117 B
GLSL
11 lines
117 B
GLSL
#version 130
|
|
uniform sampler2D tex;
|
|
|
|
in vec2 uv;
|
|
out vec4 FragColor;
|
|
|
|
void main()
|
|
{
|
|
FragColor = texture(tex, uv);
|
|
}
|