diff options
Diffstat (limited to 'assets/shaders/triangle.vert')
-rw-r--r-- | assets/shaders/triangle.vert | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/assets/shaders/triangle.vert b/assets/shaders/triangle.vert index 0518c62..3dcf931 100644 --- a/assets/shaders/triangle.vert +++ b/assets/shaders/triangle.vert @@ -3,6 +3,9 @@ layout(location = 0) in vec3 in_position; +layout(location = 0) out vec3 out_position; + void main() { gl_Position = vec4(in_position, 1.0); + out_position = in_position; }
\ No newline at end of file |