away3d / away3d-core-fp11

Away3D engine for Flash Player 11
http://www.away3d.com
Other
639 stars 274 forks source link

Disappearing SkyBox #643

Closed yogishpuri closed 10 years ago

yogishpuri commented 11 years ago

The update of the cameraController has issues when a light is a shadow light. I made some modifications in example Basic_Shading.as from away3d-examples-fp11-4.1.4-gold. I added SkyBox to scene and shadowMethod to planeMaterial. Now, when i am dragging from top to bottom, skybox disappear and then appear again.

If I turn off autoUpdate on the HoverController and made cameraController.update() manualy in onEnterFrame, everything works fine.

Here you can see the bug: http://away_test.reflexuniversity.eu/bug/

And here you can download the modified Basic_Shading class: http://away_test.reflexuniversity.eu/Basic_Shading.as

gonchar commented 10 years ago

thank you for the report and the example source code. I've tested both situations that you've described, and it works well with the current dev branch version.