Hi,
I have an Application with Starling+Away3D Interoperation (two Starling Layers, two 3D-Layers). One of the 3D Layers contains a Mesh with a reflection on the floor.
Everything works fine so far, but:
As soon as I change the Viewport Y-Position or -height of the second Away3D Scene, the calculation of the reflection becomes wrong (moves up or down in relation to the Mesh, X-Position and width of the reflection looks good).
I had a look at the source of the PlanarReflectionTexture.as and in its render()-method you already take care on the actual view.width and .height. The Camera uses the PerspectiveLens, the position of the MirrorMesh is fine.
Is that a known issue? Did I miss something? Do I have to add something to the Matrix of the SceneTransform?
_reflectiontexture.applyTransform(_mirrorMesh.scenetransform)
Thanks in advance!
Ps: The rendering of the reflection is a frame behind, is it just my render order or is there a trick?