i have probleme for changing fog in away3d gold
obj.removeMethod(_fog);
_fog.dispose();
_fog = new FogMethod(3000, 8000, color);
obj.addMethod(_fog);
seem not working
no fog removeSoftware: Away3D 4.x |
||
loth, Sr. Member
Posted: 30 July 2012 04:57 AM Total Posts: 236 i have probleme for changing fog in away3d gold
obj.removeMethod(_fog); seem not working |
||
Richard Olsson, Administrator
Posted: 30 July 2012 07:17 AM Total Posts: 1192 [ # 1 ] In what way is it not working? Are you getting errors? Is the visible output not what you expected, and if so, in what way? |
||
loth, Sr. Member
Posted: 30 July 2012 07:34 AM Total Posts: 236 [ # 2 ] sorry my mistake
|
||
Richard Olsson, Administrator
Posted: 30 July 2012 07:37 AM Total Posts: 1192 [ # 3 ] Demo looks cool. Can’t see any immediate issues with fog though. Are you saying you were able to solve the problem? |
||
|
||
Richard Olsson, Administrator
Posted: 30 July 2012 07:43 AM Total Posts: 1192 [ # 5 ] Provided that you are using the Gold release of Away3D 4.0, you should be able to re-use the same fog method for several materials. If for some reason that doesn’t work, please try to reduce to the minimal test case that reproduces the issue and file a bug report explaining it as thoroughly as possible at http://github.com/away3d/away3d-core-fp11/issues |
||
|