Commit graph

11 commits

Author SHA1 Message Date
offtkp
c081a099e5 Fix more shader type mismatches 2023-10-17 23:38:11 +03:00
wheremyfoodat
5043f98e00
Fix shader type mismatches ()
* Update opengl_fragment_shader.frag

* Update opengl_vertex_shader.vert
2023-10-17 22:24:44 +03:00
GPUCode
dc68fc9943 gpu: Saturate color before interpolation 2023-08-29 21:59:59 +03:00
wheremyfoodat
e9f94aab24 Default TEV source 15 to the vertex colour
Co-Authored-By: GPUCode <47210458+GPUCode@users.noreply.github.com>
2023-08-28 12:43:35 +03:00
Wunkolo
57ee0a3db9 Fix display drawing
Disable depth-testing, the display vertex-shader, and the
viewport/scissor positioning of the bottom screen.

We have visual!
2023-08-24 11:31:55 -07:00
Wunkolo
97b6b7f122 Add Vulkan Host-Shader compilation
Compiles Vulkan Host shaders into spirv binary files and embeds them
into the application's virtual file-system.
2023-08-20 23:01:43 -07:00
wheremyfoodat
7e0f0cc99a Switch to not making positional lights pink in upstream 2023-08-15 23:52:57 +03:00
wheremyfoodat
2c4473bb6e clang-format 2023-08-02 20:05:36 +03:00
wheremyfoodat
66847d4570 Positional lighting maybe 2023-08-02 18:52:52 +03:00
wheremyfoodat
f956a3eb7a Add glsl files to source_group 2023-07-16 22:01:14 +03:00
Wunkolo
a9bb11e4b3 Migrate OpenGL string-literals to embedded files
Rather than declaring a big C++ literal for these strings, they are now
proper `.vert` and `.frag` files that will become embedded into the
application at build-time. It also allows for clang-format to format the
glsl files the same as our C++ code. CMake will also automatically track
and re-embed the file if it detects that the glsl source files have
changed since the last build. Ex, making a change to
`opengl_display.frag` and compiling will automatically recompile and
link the resource-target that it is associated with.
2023-07-15 19:12:07 -07:00