mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-07 02:38:08 +01:00
Vulkan: scene rendering (D1–D7) on a scene walk shared with GL (N6a, N6b)
This commit is contained in:
10
shaders/vk14/vertexonly.vert
Normal file
10
shaders/vk14/vertexonly.vert
Normal file
@@ -0,0 +1,10 @@
|
||||
#version 460 core
|
||||
#define STAGE_VERTEX 1
|
||||
#include "common.glsl"
|
||||
layout(location = 0) in vec3 v_vert;
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = (projection * effective_modelview()) * vec4(v_vert, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user