Moved shaders for triangle example into separate directory
This commit is contained in:
parent
9065df9a7a
commit
50e28c0bba
6 changed files with 2 additions and 5 deletions
13
data/shaders/triangle/triangle.frag
Normal file
13
data/shaders/triangle/triangle.frag
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#version 450
|
||||
|
||||
#extension GL_ARB_separate_shader_objects : enable
|
||||
#extension GL_ARB_shading_language_420pack : enable
|
||||
|
||||
layout (location = 0) in vec3 inColor;
|
||||
|
||||
layout (location = 0) out vec4 outFragColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
outFragColor = vec4(inColor, 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue