Closed captainkidd5 closed 4 years ago
@captainkidd5 This is indeed not supported. The library was originally created with a top down or side way view in mind. It would be a really cool addition but probably not a trivial implementation.
Understandable. Would be ecstatic to see that feature included at some point but you've done an incredible job as it stands so I absolutely can't complain.
I'm not sure if Penumbra was intended for 2/3 perspective games so I understand if there isn't any built in way to do this. Most of my layer sorting is done visa Y axis sorting. Objects with larger (lower done) y values are prioritized in front of objects with smaller y values. As you can see in this picture shadows cast from lights below the object create a shadow which covers the object, rather than the area behind it.
Is there a way of specifying the layer depth of individual shadows based on the Y position of objects? I've looked through the source a bit and can't seem to find anything!