I want use NormalMap as texture in Filter3D.
I don’t want to modify Away3D code.
Could you add it as property of “activate” function?
Normal texture for Filter3DSoftware: Away3D 4.x |
||
GoroMatsumoto, Sr. Member
Posted: 20 November 2012 07:28 PM Total Posts: 166 I want use NormalMap as texture in Filter3D. I don’t want to modify Away3D code. |
||
Alejandro Santander, Administrator
Posted: 21 November 2012 04:35 AM Total Posts: 414 [ # 1 ] Hey, Could you provide a a sample of what you’re talking about? Perhaps including some code?
|
||
GoroMatsumoto, Sr. Member
Posted: 21 November 2012 10:52 AM Total Posts: 166 [ # 2 ] I am writing my own SSAO as Filter3D. I want rotate the ray hemisphere by normal information.(like attached one.) In Away3D, I think that can be provided by PositionRenderer. I want use that like this, (in Filter3D)
override public function activate(stage3DProxy : Stage3DProxy, camera : Camera3D, depthTexture : Texture, normalTexture : Texture) : void Thank you.
|