diff options
| author | Hunter Kvalevog <hunter@kvog.sh> | 2026-02-21 21:34:50 -0600 |
|---|---|---|
| committer | Hunter Kvalevog <hunter@kvog.sh> | 2026-02-21 21:34:50 -0600 |
| commit | 11379c6617602dbb8220fa83fcd544aaf94ab57d (patch) | |
| tree | 9239184101406878478ccfd11ecc68d94b56fe79 /shaders/vert_cube.glsl | |
| parent | f7495d74d13d2fdf616bed25cb1d39d69243559d (diff) | |
shaders: Moved demos to https://fragcoord.xyz/u/kvog
Diffstat (limited to 'shaders/vert_cube.glsl')
| -rw-r--r-- | shaders/vert_cube.glsl | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/shaders/vert_cube.glsl b/shaders/vert_cube.glsl deleted file mode 100644 index 629b5cd..0000000 --- a/shaders/vert_cube.glsl +++ /dev/null @@ -1,31 +0,0 @@ -#version 330 core - -// -------------------------------------------------------------------------------- -// Uniforms -// -------------------------------------------------------------------------------- -uniform mat4 u_vmat; - -// -------------------------------------------------------------------------------- -// Vertex inputs -// -------------------------------------------------------------------------------- -layout (location = 0) in vec3 v_in_p; -layout (location = 1) in vec2 v_in_t; -layout (location = 2) in vec3 v_in_n; - -// -------------------------------------------------------------------------------- -// Vertex outputs -// -------------------------------------------------------------------------------- -out vec3 v_p; -out vec2 v_t; -out vec3 v_n; - -// -------------------------------------------------------------------------------- -// Main -// -------------------------------------------------------------------------------- -void main() -{ - v_p = v_in_p; - v_t = v_in_t; - v_n = v_in_n; - gl_Position = u_vmat * vec4(v_p, 1.0f); -} |