mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-12 03:23:22 +08:00
Initial commit, all code samples with working CMake script for VS/Windows.
This commit is contained in:
9
src/1.getting_started/3.shaders/basic.frag
Normal file
9
src/1.getting_started/3.shaders/basic.frag
Normal file
@@ -0,0 +1,9 @@
|
||||
#version 330 core
|
||||
in vec3 ourColor;
|
||||
|
||||
out vec4 color;
|
||||
|
||||
void main()
|
||||
{
|
||||
color = vec4(ourColor, 1.0f);
|
||||
}
|
||||
Reference in New Issue
Block a user