Shadows working but look dumb. The issue so far was that framebuffer.cpp interferes with the framebuffer used to create the shadow map.
This commit is contained in:
parent
a29494325b
commit
482ec07fb3
19 changed files with 261 additions and 206 deletions
|
|
@ -11,7 +11,7 @@ using namespace fuc2;
|
|||
*/
|
||||
namespace model_tests {
|
||||
void test_load_textures() {
|
||||
Shader shader({"shaders/14-vert.glsl", "shaders/14-frag.glsl", ""});
|
||||
Shader shader({"shaders/33-framebuffers.vert.glsl", "shaders/33-framebuffers.frag.glsl", ""});
|
||||
|
||||
Model popcorn{"assets", "popcorn_model_a.glb"};
|
||||
popcorn.draw(shader, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue