diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-01-08 22:26:07 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-01-08 22:26:07 -0500 |
| commit | 5845642965a1eebaec3a1d1126445ecb459688b8 (patch) | |
| tree | d3c54bec229ac4dcf7c4af349e0383130a041752 /assets/shaders/vert.vert | |
| parent | b2548ba4ce295fcd94a50123fb543fac2ef2bc33 (diff) | |
first-pass replace cmake with make
Diffstat (limited to 'assets/shaders/vert.vert')
| -rw-r--r-- | assets/shaders/vert.vert | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/assets/shaders/vert.vert b/assets/shaders/vert.vert deleted file mode 100644 index 57fa219..0000000 --- a/assets/shaders/vert.vert +++ /dev/null @@ -1,31 +0,0 @@ -#version 450 - -layout(binding = 0) uniform UniformBufferObject { - mat4 model; - mat4 view; - mat4 proj; -} ubo; - -// vertex -// layout(location = 0) in vec4 inColor; -layout(location = 0) in vec3 inPosition; -layout(location = 1) in vec3 inNorm; -layout(location = 2) in vec2 inUV; - -// instance -layout(location = 3) in mat4 instPosRotScale; - -// output -layout(location = 0) out vec4 fragColor; -layout(location = 1) out vec3 fragTexCoord; - -void main() { - gl_Position = - ubo.proj * - ubo.view * - ubo.model * - instPosRotScale * - vec4(inPosition, 1.0); - fragColor = vec4(0.0, 0.0, 0.0, 0.0); - fragTexCoord = vec3(inUV, 0); -} |
