Organize imports and work on integrating lighting

This commit is contained in:
schmelczerandras 2020-07-24 23:00:26 +02:00
parent 0cd383794c
commit affb1b4f4f
16 changed files with 170 additions and 155 deletions

View file

@ -0,0 +1,10 @@
#version 300 es
uniform mat3 ndcToWorld;
in vec4 a_position;
out vec2 worldCoordinates;
void main() {
worldCoordinates = (vec3(a_position.xy, 1.0) * ndcToWorld).xy;
gl_Position = a_position;
}