mattkimber / gorender

Go implementation of Transrender sprite renderer
MIT License
9 stars 2 forks source link

Implement `shadow_threshold` and `soft_shadow` options #9

Closed ahyangyi closed 8 months ago

ahyangyi commented 8 months ago

This follows (and contains) #8, and generalizes the shadow handling by introducing two new manifest options shadow_threshold and soft_shadow.

Now, the old behavior is replicated with shadow_threshold=-1.0 and soft_shadow=false.

mattkimber commented 8 months ago

I have not forgotten about these, I just need some time to pull the code and test them! Hopefully this week or weekend.