mirror of
https://github.com/guilhermewerner/opengl
synced 2025-06-16 13:24:19 +00:00
Load Shaders from Files
This commit is contained in:
8
OpenGL/Shaders/Fragment.glsl
Normal file
8
OpenGL/Shaders/Fragment.glsl
Normal file
@ -0,0 +1,8 @@
|
||||
#version 330 core
|
||||
|
||||
layout(location = 0) out vec4 color;
|
||||
|
||||
void main()
|
||||
{
|
||||
color = vec4(0.0, 1.0, 0.0, 1.0);
|
||||
};
|
Reference in New Issue
Block a user