Hi, I am converting Away3.5 code to Away3.6. I have a problem with the following :
DofCache.aperture=_Aperture; DofCache.usedof=usedof; DofCache.maxblur=_Maxblur; DofCache.focus=_Focus; _DofSprite2D_1 = new Mesh(); _DofSprite2D_1.addSprite(new DepthOfFieldSprite(_Material1)); ... If I set DofCache.usedof=false, I get nothing, while in Away3.5 it used to disable the dof effect. Is there a way to enable/disable dof in Away3.6 with DepthOfFieldSprite object? Sylvain
