Created rudimentary board
This commit is contained in:
parent
63c7a1bb2d
commit
79736fc3bc
14 changed files with 164 additions and 37 deletions
|
@ -5,11 +5,12 @@ layout (location = 1) in vec2 UV;
|
|||
|
||||
out vec2 uvCoord;
|
||||
|
||||
uniform mat4 model;
|
||||
uniform mat4 view;
|
||||
uniform mat4 projection;
|
||||
|
||||
void main()
|
||||
{
|
||||
uvCoord = UV;
|
||||
gl_Position = projection * view * vec4(position, 0.0f, 1.0f);
|
||||
gl_Position = projection * view * model * vec4(position, 0.0f, 1.0f);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue