setting render targets with BloomFilter3d

Software: Away3D 4.x

Avatar
oladitan, Member
Posted: 24 July 2012 01:34 PM   Total Posts: 71

hello. I am trying to give my BloomFilter3d a specific render target. in the “setRenderTargets”, i am not sure how to indicate the “Stage3DProxy” argument. thank you.

   

Richard Olsson, Administrator
Posted: 24 July 2012 02:24 PM   Total Posts: 1192   [ # 1 ]

What are you trying to achieve? The setRenderTargets() should generally only be invoked by the filter management system to make sure that one filter renders it’s output onto the texture that is the input for the next filter. What are you trying to do that would require you to do this management yourself?

   

Avatar
oladitan, Member
Posted: 24 July 2012 03:14 PM   Total Posts: 71   [ # 2 ]

thank you for the response Richard. I would like to apply the filter to specific objects rather than the entire scene.

   

Richard Olsson, Administrator
Posted: 24 July 2012 03:17 PM   Total Posts: 1192   [ # 3 ]

I see. That’s not what that function is for. It’s used to set up the chain of RTT textures so that filters can be daisy-chained.

Per-object filters is not a feature that Away3D supports, so if you want to do something like that you would have to hack things quite heavily (and would probably lose functionality in other areas in the process.)

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X