I’m trying to add a ReflectionPlane to my Away3D scene using this code:
private function createReflectivePlane():void{
var refPlane:ReflectivePlane = new ReflectivePlane(view);
refPlane.width = 500;
refPlane.height = 500;
refPlane.segmentsH = 4;
refPlane.segmentsW = 4;
//refPlane.moveDown(100);
refPlane.moveUp(400);
view.scene.addChild(refPlane);
}
My scene is is made up of several planes and around 24 rectangles all shaded with PhongColorMaterial. Everything shows up and works fine until I call my reflective plane method. If called nothing in the scene shows up, I’m just left with a white screen.