Example source code
borisoff opened this issue · comments
Hi!
Really impressed with the original LTBL you adopted for SFML 2.5.1. Trying to use the LTBL2 with no luck. Can you post a complete source code for an example similar to the original LTBL one?
Thank you!
I've uploaded the code to a repo of mine a very long time ago: https://github.com/eXpl0it3r/LTBL
Yes, I checked that, and it works fine. I tried to use LTBL2 which has a different API. I can't figure out how to draw the shadows. Tried to draw LightSystem::getLightingTexture() texture with a sprite on top of my scene. But it just looks black for directional light, and has a small rect for point light.
Ah, sorry. I misunderstood your question, I thought you wanted the LTBL source code, but you're actually looking for a LTBL 2 example 😅
I see on the SFML forum there was a demo, sadly it didn't come with the source code 🙁
Hi, I can put aside some time to write an example, might take a bit though.
Would be great!
🙏
🙏