LTBL2 icon indicating copy to clipboard operation
LTBL2 copied to clipboard

Example source code

Open borisoff opened this issue 3 years ago • 7 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!

borisoff avatar Feb 02 '21 21:02 borisoff

I've uploaded the code to a repo of mine a very long time ago: https://github.com/eXpl0it3r/LTBL

eXpl0it3r avatar Feb 02 '21 22:02 eXpl0it3r

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.

borisoff avatar Feb 03 '21 16:02 borisoff

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 🙁

eXpl0it3r avatar Feb 03 '21 19:02 eXpl0it3r

Hi, I can put aside some time to write an example, might take a bit though.

222464 avatar Feb 03 '21 19:02 222464

Would be great!

borisoff avatar Feb 03 '21 23:02 borisoff

🙏

naftali100 avatar Mar 09 '22 14:03 naftali100

🙏

llem00n avatar Nov 28 '22 12:11 llem00n