A deferred shading extension for Starling 2.
With Starling 1.x, a separate custom Starling fork was required. No longer needed with Starling 2. Check nekobit.eu for more info.
- Deferred renderer which supports
- Ambient, Spot, Point lights
- Pixel-perfect 2D shadow renderer
- Post FX renderer, currently contains following effects:
- Bloom (port to Starling 2 in progress)
- Anamorphic Flares (port to Starling 2 in progress)
Note: using filters/stencil masks on elements inside DeferredShadingContainer (or container itself) is currently not supported.
Note 2: you may get "Native shader compilation error" while using STANDARD_EXTENDED. Probably the bug of Flash runtime.
Online Demo (project can be found here)
Deferred renderer is partially based on blog posts here and here.