wooo stuff yay
This commit is contained in:
parent
b0bf45a8a5
commit
d1bb9d8c67
91 changed files with 17403 additions and 42 deletions
15
games/forespend/res/shaders/screen.vs
Normal file
15
games/forespend/res/shaders/screen.vs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#version 330
|
||||
attribute vec3 vertexPosition;
|
||||
attribute vec2 vertexTexCoord;
|
||||
attribute vec4 vertexColor;
|
||||
uniform mat4 mvp;
|
||||
|
||||
out vec2 fragTexCoord;
|
||||
out vec4 fragColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
fragTexCoord = vertexTexCoord;
|
||||
fragColor = vertexColor;
|
||||
gl_Position = mvp * vec4(vertexPosition, 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue