GPT is reall good at generating comments and fixing spelling error
This commit is contained in:
11
shaders/physics_update.vert
Normal file
11
shaders/physics_update.vert
Normal file
@@ -0,0 +1,11 @@
|
||||
#version 300 es
|
||||
precision highp float;
|
||||
|
||||
in vec2 position; // Fullscreen quad vertices
|
||||
out vec2 vTexCoord;
|
||||
|
||||
void main() {
|
||||
vTexCoord = position * 0.5 + 0.5; // [-1,1] -> [0,1]
|
||||
gl_Position = vec4(position, 0.0, 1.0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user