first commit
This commit is contained in:
commit
a408df2a76
218 changed files with 52376 additions and 0 deletions
15
shaders/gl/vibe.vert
Normal file
15
shaders/gl/vibe.vert
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#version 330 core
|
||||
// Fullscreen triangle vertex shader for Verbatim 5.129.0 My Vibe Shader (OpenGL 3.3 Core)
|
||||
|
||||
out vec2 v_uv;
|
||||
|
||||
void main() {
|
||||
vec2 positions[3] = vec2[3](
|
||||
vec2(-1.0, -1.0),
|
||||
vec2( 3.0, -1.0),
|
||||
vec2(-1.0, 3.0)
|
||||
);
|
||||
vec2 p = positions[gl_VertexID];
|
||||
gl_Position = vec4(p, 0.0, 1.0);
|
||||
v_uv = p * 0.5 + vec2(0.5);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue