Initial commit
This commit is contained in:
11
engines/freescape/shaders/freescape_cubemap.vertex
Normal file
11
engines/freescape/shaders/freescape_cubemap.vertex
Normal file
@@ -0,0 +1,11 @@
|
||||
in vec3 position;
|
||||
in vec2 texcoord;
|
||||
|
||||
uniform mat4 mvpMatrix;
|
||||
out vec2 TexCoord;
|
||||
|
||||
void main()
|
||||
{
|
||||
TexCoord = texcoord;
|
||||
gl_Position = mvpMatrix * vec4(position, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user