mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-05 01:55:43 +01:00
Vulkan: scene rendering (D1–D7) on a scene walk shared with GL (N6a, N6b)
This commit is contained in:
11
shaders/vk14/pick_surface.frag
Normal file
11
shaders/vk14/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