diff options
| author | DrNuget <drnuget@outlook.com> | 2026-01-04 22:12:24 +0200 |
|---|---|---|
| committer | DrNuget <drnuget@outlook.com> | 2026-01-04 22:12:24 +0200 |
| commit | 510f1bac9b71ba240d30bb5bc5df6501e70fafc9 (patch) | |
| tree | 7bc48763071a8c315b82e638a267411c3453dd09 /src/shaders/basic.frag | |
| download | opengl-test-510f1bac9b71ba240d30bb5bc5df6501e70fafc9.tar.gz | |
Working 3D with .obj file loading
Diffstat (limited to 'src/shaders/basic.frag')
| -rw-r--r-- | src/shaders/basic.frag | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shaders/basic.frag b/src/shaders/basic.frag new file mode 100644 index 0000000..00d2a13 --- /dev/null +++ b/src/shaders/basic.frag @@ -0,0 +1,6 @@ +#version 330 core +out vec4 FragColor; +void main() +{ + FragColor = vec4(1.0f, 0.5f, 0.2f, 1.0f); +} |
