a67f5bf511
Transparent objects may be double sided (like bubble), it doesn't make sense to use a deferred renderer.
13 lines
202 B
GLSL
13 lines
202 B
GLSL
#version 130
|
|
uniform mat4 ModelViewProjectionMatrix;
|
|
|
|
in vec3 Position;
|
|
in vec2 Texcoord;
|
|
out vec2 uv;
|
|
|
|
void main()
|
|
{
|
|
uv = Texcoord;
|
|
gl_Position = ModelViewProjectionMatrix * vec4(Position, 1.);
|
|
}
|