initial commit
This commit is contained in:
13
tests/shaders/frag2.glsl
Normal file
13
tests/shaders/frag2.glsl
Normal file
@@ -0,0 +1,13 @@
|
||||
#version 450
|
||||
|
||||
layout(location = 0) in vec4 cool;
|
||||
layout(location = 1) in vec2 yep;
|
||||
layout(location = 2) in float monkey;
|
||||
layout(location = 0) out vec4 f_color;
|
||||
|
||||
void main() {
|
||||
vec4 t = cool;
|
||||
t.yw += yep;
|
||||
t.x -= monkey;
|
||||
f_color = t;
|
||||
}
|
||||
Reference in New Issue
Block a user