mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-12 19:43:22 +08:00
Complete code re-work 'Getting Started' tutorials.
This commit is contained in:
9
src/1.getting_started/3.3.shaders_class/3.3.shader.fs
Normal file
9
src/1.getting_started/3.3.shaders_class/3.3.shader.fs
Normal file
@@ -0,0 +1,9 @@
|
||||
#version 330 core
|
||||
out vec4 fragColor;
|
||||
|
||||
in vec3 ourColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
fragColor = vec4(ourColor, 1.0f);
|
||||
}
|
||||
Reference in New Issue
Block a user