Hi could I request a feature for allowing custom shaders so that we can implement normal maps for lighting in pixijs?
thanks or if there is an existing solution anyone can point me to will be appreciated!
Hi could I request a feature for allowing custom shaders so that we can implement normal maps for lighting in pixijs?
thanks or if there is an existing solution anyone can point me to will be appreciated!
Hello!
Did you encounter any issues with the approach suggested in this thread?
Hi Davide, not really, used a filter on the entire sprite to set the z coordinate in my shader which works on the entire sprite.
However, the normal maps require messing around with the individual shader of each attachments - it was too much of a change from the normal spine workflow though - i am using skins for mix and match, which might no longer work if i manually replace each attachment. (not sure what other features might cause an issue).
Apologies, but the procedure outlined in the previous thread is currently the only viable option.
With the release of Pixi version 8—mainly due to dual support for WebGL and WebGPU—there has been a reduction in flexibility for lower-level customizations. This makes implementing this feature request quite complex. Since there is still a way to achieve the desired result, this is not a top-priority feature for implementation at the moment.
We will take your request into consideration, but unfortunately, there are many other tasks we need to address first, so it may take some time before we can work on this.
If you'd like, you're welcome to try implementing it yourself and submit a PR. Even if it’s not a perfect implementation, having a base to start from could help speed up the process when we eventually select this feature for development.