Hi guys! I've finally ported my deferred shading extension to Starling 2. Currently, I pretty much have everything stable and working and this is what you get:
- Ambient/Point/Spot lights
- Pixel perfect 2D shadows
- Some post-processing filters, like AnamorphicFlares/Bloom/Etc (not ported yet)
It is a standalone extension now, no need for any custom Starling forks anymore!
And ofc, there may and will be bugs, so if you are using it and experience a problem, just create a Github issue.
Performance-wise I'm aware of some areas where I could optimize things and I am planning that for the near future (I may be able to batch more things together, use instanced drawing for lights, etc). For now, everything should work well on decent PCs. For mobile, MRTs are quite a performance killer, so I may be able to adapt the extension to perform good on high-end mobile devices but probably, that's it.
@Daniel, thanks for all the hard work with Starling. The new architecture really shines!