Hey!
Can anyone remember how to do this little trick?
I'd like to find some way to limit the opacity depending on how many surfaces a primary camera ray has passed through in Mantra.
I'd like to say “if this is the second or third transparant surface let the opacity be 1”. The Ray Bounce Level Vop getraylevel() can tell me this when I raytrace but I can't figure out/remember how to do this with straight opacity.
Cheers
Louis
getting opacity depth info a la raylevel
4319 3 0- louis dunlevy
- Member
- 641 posts
- Joined: July 2005
- Offline
- andrewc
- Member
- 1002 posts
- Joined: July 2005
- Offline
- louis dunlevy
- Member
- 641 posts
- Joined: July 2005
- Offline
- jason_iversen
- Member
- 12532 posts
- Joined: July 2005
- Offline
The getraylevel() equivalent for non-raytraced transparent surfaces is an existing RFE - hopefully it'll get in there sometime!
Jason Iversen, Technology Supervisor & FX Pipeline/R+D Lead @ Weta FX
also, http://www.odforce.net [www.odforce.net]
also, http://www.odforce.net [www.odforce.net]
-
- Quick Links