Starling Renderer Plus
April 10, 2016 ยท View on GitHub
Deferred shading and post-fx extension for Starling
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.
Library contents:
- 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.
