mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-06 06:58:35 +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:
11
shaders/ogl46/pick_surface.frag
Normal file
11
shaders/ogl46/pick_surface.frag
Normal file
@@ -0,0 +1,11 @@
|
||||
#version 460 core
|
||||
#define STAGE_FRAGMENT 1
|
||||
#include "common.glsl"
|
||||
|
||||
layout(location = 0) out vec4 out_color;
|
||||
layout(location = 2) in vec2 f_coord;
|
||||
|
||||
void main()
|
||||
{
|
||||
out_color = vec4(param[0].r, f_coord, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user