Organize imports and work on integrating lighting
This commit is contained in:
parent
0cd383794c
commit
affb1b4f4f
16 changed files with 170 additions and 155 deletions
10
frontend/src/shaders/passthrough-shading-vs.glsl
Normal file
10
frontend/src/shaders/passthrough-shading-vs.glsl
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue