mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-01 20:35:04 +01:00
feat(vulkan): vulkan 1.4 core with the user interface and the launcher, shaders split into ogl46/vk14 with SPIR-V binaries loaded first
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
layout(location = 0) in vec3 v_vert;
|
||||
layout(location = 1) in vec3 v_color;
|
||||
|
||||
out vec3 f_color;
|
||||
out vec4 f_pos;
|
||||
out vec4 f_clip_pos;
|
||||
|
||||
#include <common>
|
||||
|
||||
void main()
|
||||
{
|
||||
f_pos = modelview * vec4(v_vert, 1.0);
|
||||
f_clip_pos = (projection * modelview) * vec4(v_vert, 1.0);
|
||||
f_color = pow(v_color, vec3(1.0));
|
||||
|
||||
gl_Position = f_clip_pos;
|
||||
}
|
||||
Reference in New Issue
Block a user