1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-05-14 20:47:46 +00:00
novus/renderer/shaders/debug.vert

17 lines
326 B
GLSL
Raw Normal View History

// SPDX-FileCopyrightText: 2025 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: CC0-1.0
#version 450
layout(location = 0) in vec3 inPosition;
layout(std430, push_constant) uniform PushConstant {
mat4 vp, model;
};
void main() {
vec4 bPos = model * vec4(inPosition, 1.0);
gl_Position = vp * bPos;
}