added a shader class and converted existing shaders to files
This commit is contained in:
parent
3428be29ae
commit
b21b9398e6
6 changed files with 160 additions and 65 deletions
7
shaders/shader.fs
Normal file
7
shaders/shader.fs
Normal file
|
@ -0,0 +1,7 @@
|
|||
#version 330 core
|
||||
out vec4 FragColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
FragColor = vec4(1.0f, 0.5f, 0.2f, 1.0f);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue