mirror of
https://github.com/guezoloic/LearnOpenGL.git
synced 2026-01-25 09:34:16 +00:00
feat: triangle is perfectly draw
This commit is contained in:
8
res/render/primitives/p_triangle.frag
Normal file
8
res/render/primitives/p_triangle.frag
Normal file
@@ -0,0 +1,8 @@
|
||||
#version 330 core
|
||||
|
||||
out vec4 color;
|
||||
|
||||
void main()
|
||||
{
|
||||
color = vec4(1.0f, 0.5f, 0.2f, 1.0f);
|
||||
}
|
||||
Reference in New Issue
Block a user