openfl / starling

Known as the "Cross-Platform Game Engine", Starling is a popular Stage3D framework for OpenFL and Haxe
Other
236 stars 67 forks source link

Fix filters for containers that contain flatten sprites #91

Closed NenadBojkovski closed 6 years ago

NenadBojkovski commented 6 years ago

When filters are applied on containers that contain flatten object, the filter will be incorrectly drawn because support.finishQuadBatch(); will overwrite the RenderSupport's mMvpMatrix3D calculated previously in var mvpMatrix:Matrix3D = support.mvpMatrix3D;