Closed ahyangyi closed 8 months ago
This follows (and contains) #8, and generalizes the shadow handling by introducing two new manifest options shadow_threshold and soft_shadow.
shadow_threshold
soft_shadow
Now, the old behavior is replicated with shadow_threshold=-1.0 and soft_shadow=false.
shadow_threshold=-1.0
soft_shadow=false
I have not forgotten about these, I just need some time to pull the code and test them! Hopefully this week or weekend.
This follows (and contains) #8, and generalizes the shadow handling by introducing two new manifest options
shadow_threshold
andsoft_shadow
.shadow_threshold
makes the inner product threshold adjustable (rather than hardcoded at 0.0);soft_shadow
introduces a new mode where the shadow strength is in proportion to lighting in excess ofshadow_threshold
.Now, the old behavior is replicated with
shadow_threshold=-1.0
andsoft_shadow=false
.