mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
15 lines
334 B
Text
15 lines
334 B
Text
|
|
#version 450
|
||
|
|
|
||
|
|
// Full-screen color overlay (e.g. underwater tint).
|
||
|
|
// Uses postprocess.vert.glsl as vertex shader (fullscreen triangle, no vertex input).
|
||
|
|
|
||
|
|
layout(push_constant) uniform Push {
|
||
|
|
vec4 color; // rgb = tint color, a = opacity
|
||
|
|
} push;
|
||
|
|
|
||
|
|
layout(location = 0) out vec4 outColor;
|
||
|
|
|
||
|
|
void main() {
|
||
|
|
outColor = push.color;
|
||
|
|
}
|