Toggling DOF makes Context3D throw Error #3663

Software: Away3D 4.x

Leo Bergman, Newbie
Posted: 24 October 2011 06:41 PM   Total Posts: 4

I’m trying to add a settings page where users can adjust some graphics options in a game.

When adding, removing and then adding DepthOfFieldFilter3D I will get the following error:
Error: Error #3663: Sampler 1 binds an undefined texture.
at flash.display3D::Context3D/drawTriangles()
at away3d.core.render::Filter3DRenderer/render()[D:\_dev\SpecR\src\away3d\core\render\Filter3DRenderer.as:136]
at away3d.containers::View3D/render()[D:\_dev\SpecR\src\away3d\containers\View3D.as:436]

Is it a bug, and should it be possible to toggle filters by simply adding and removing them from the filters3d array?
Or is there some routine I could perform between adding and removing a filter that would make it possible?

   

Richard Olsson, Administrator
Posted: 25 October 2011 06:58 AM   Total Posts: 1192   [ # 1 ]

This sounds like a bug. Please file a report on GitHub, and include some code to reproduce. Thanks! smile

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X