Magnus Norddahl
6894eb013f
Begin removing binding points from the hwrenderer layer.
...
Well known buffers should be created and managed by the backend, otherwise the backend just becomes an OpenGL emulator.
2023-04-16 19:30:27 +02:00
Magnus Norddahl
ba0243e378
Fix sunlight not working on models
2023-04-07 18:00:48 +02:00
Magnus Norddahl
34d2b2e440
Add sunlight trace
2023-04-06 16:13:03 +02:00
Christoph Oelckers
f662c629e3
- ensure that shadowmap indices only get set when shadowmaps are enabled.
...
Having valid indices set when shadowmaps are off would cause the shader to run the full checks for all lights.
2021-08-11 10:06:22 +02:00
Christoph Oelckers
0cffeef2c6
- added map option to disable shadowmaps.
...
Prompted by 'Hurt' which has > 4000 lights and runs into both performance issues and unpredictable light selection for the limited amount of shadowmap slots.
2021-07-13 11:54:25 +02:00
Christoph Oelckers
efbd80c325
- fixed: the attenuation flag wasn't passed to the shader if shadowmaps were disabled.
2020-06-12 15:16:50 +02:00
Christoph Oelckers
5d10d6c448
- directory structure cleanup.
...
The hwrenderer folder did not contain sufficient files anymore for such extensive subgrouping.
2020-04-29 17:36:58 +02:00