I was using openfl 8.9.0 in our project and we used our custom rendering mechanic based on our own display object class (extended from InteractiveObject) with overriden __renderGL() function. Our __renderGL() was doing two jobs:
- Prepare/update some shader/transform data before rendering
- Pass renderer to custom class just like in Context3DDisplayObject.render. This is the place were we used to apply our changed transformation matrix/set custom shaders/bind our texture with applyBitmapData and set our custom vertex/index buffer, and finaly drawTriangles().
But in 8.9.2 I think, there was display objects refactor and renderer stuff was separated from display objects. So, with __renderGL() is gone and everything render-related is moved to single one-for-everyone Context3DRenderer we lost our ability to put custom changes in renderer for our specific objects.
My question is, maybe there is some intended ways to change shader/transform/verticle and all sort of other data in renderer for custom objects? Our way of doing that was feeling wrong and hectic, but with last changes in renderer I feel like we forced to break in openfl even deeper to do required stuff