Modifying VBlur Class

Software: Away3D 4.x

andreahmed, Member
Posted: 15 October 2013 08:43 AM   Total Posts: 62

Hi All,
I have managed to write a custom blur material, thanks to the tutorial smile.

I have used the https://github.com/away3d/away3d-core-fp11/blob/master/src/away3d/filters/tasks/Filter3DVBlurTask.as 

I would like to know how do I modify the blur amount at run time ?

should I upload the amount as a constant to the shader ? but the code actually is just adding the blur at the initialization, and that doesn’t permit to change the amount in runtime.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X