diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-10 01:10:44 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-10 01:10:44 +0000 |
commit | 8740d30b01f6c12e2fcea0450df73736cd17dc87 (patch) | |
tree | de7715148889aba33d1ccca6740a0e661c866087 /test | |
parent | Add lights resource set and test scene (diff) | |
download | ilt-8740d30b01f6c12e2fcea0450df73736cd17dc87.tar.bz2 ilt-8740d30b01f6c12e2fcea0450df73736cd17dc87.tar.xz ilt-8740d30b01f6c12e2fcea0450df73736cd17dc87.zip |
Add spot light definition, loader, and rendering
Rendering is untested, data is passed to whatever GL program is currently active.
Diffstat (limited to 'test')
-rw-r--r-- | test/test-assetFactory.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test-assetFactory.cpp b/test/test-assetFactory.cpp index e7ba19c..91a5321 100644 --- a/test/test-assetFactory.cpp +++ b/test/test-assetFactory.cpp @@ -49,6 +49,7 @@ public: lights(const SceneShader & shader) const override { shader.pointLight.add({-3, 1, 5}, {1, 1, 1}, .1F); + objects.apply(&Renderable::lights, shader); } void |