still working on getiting these shaders to a usable API
This commit is contained in:
20
resources/shaders/color-passthrough.frag
Normal file
20
resources/shaders/color-passthrough.frag
Normal file
@@ -0,0 +1,20 @@
|
||||
#version 450
|
||||
|
||||
// These come in from the previous shader (vertex)
|
||||
layout(location = 0) in vec4 out_color;
|
||||
|
||||
// This goes out to the bound image in window_size_dependent setup
|
||||
layout(location = 0) out vec4 f_color;
|
||||
|
||||
void main() {
|
||||
f_color = out_color;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user