libgdx / box2dlights

Fork of box2dlights by Kalle Hamalainen
Apache License 2.0
256 stars 81 forks source link

Generating shadow from 2d image #71

Closed wingoku closed 3 years ago

wingoku commented 9 years ago

I wanted know if I can generate a shadow from a 2d image. For example: I have a coke cane and I want to generate a shadow such that it drops on the table or horizontal surface on right side of the coke. Then I want to create an image/bitmap of the coke & shadow combined. A little bit of hints will be very helpful.

crykn commented 3 years ago

Considering this question was posted over 5 years ago, I'm closing this. For future questions, our Discord server would be a better place.