05-27-2021, 03:20 PM
Testing different blending modes:
Normal blending seems right for the sprite, but it is wrong for the arrow. The arrow should look closer to Additive blending.
But that isn't right either. The sprite now is over-exposed.
So far, I couldn't find anything about how to blend blend shadows. Most online tutorials is about stencil buffer, which is for real-time shadowing.
https://en.wikipedia.org/wiki/Shadow_volume
In a way, I'm stumped. Oh crap...
I'll be taking a break to research more on this topic. I might rip something else at the mean time. If anyone can help, or have experience on blending, let me know. Thanks!
- Rufas
Normal blending seems right for the sprite, but it is wrong for the arrow. The arrow should look closer to Additive blending.
But that isn't right either. The sprite now is over-exposed.
So far, I couldn't find anything about how to blend blend shadows. Most online tutorials is about stencil buffer, which is for real-time shadowing.
https://en.wikipedia.org/wiki/Shadow_volume
In a way, I'm stumped. Oh crap...
I'll be taking a break to research more on this topic. I might rip something else at the mean time. If anyone can help, or have experience on blending, let me know. Thanks!
- Rufas