View Full Version : Ambient Occlusion for transparent objects!!
07-01-2009, 10:32 AM
Is it normal to render AO even for transparent objects (even if they are 1% or 100%, reflective, refractive etc etc)????
In a company I worked for they were used to make the AO pass hiding all the transparent objects.........I'd like to know if it's the right way or not.........
07-01-2009, 02:17 PM
It really depends on two factors.
1. If you are baking your occlusion maps. In this case you can hide your transparent objects, unless you want occlusion from the objects. In this case you may want to check out this link http://www.djx.com.au/blog/2007/05/12/ambient-occlusion-with-milabel/
2. If you're using render passes and using refraction. If an object is refracting, anything behind it there will be distortion. If you hide this object the distortion will no longer exist and your render pass will not be aligned with the others. For this I would recommend leaving the transparent shader on your object at render time and then using this for your pass.
07-01-2009, 03:22 PM
Technically you wouldnt want occlusion on glass objects as such - but it all depends how you use it. In some cases a label pass and be used to clean up any unwanted occlusion, but may affect any occlusion in the background. You would only want to hide the primary visibility as the object itself could generate occlusion to a surface its contacting. Most people like to multiply their occ however using it in other ways can result in less effect on less visable surfaces - which can work well.
End of the day it is an approximated process and if you are going to render using such a method, a case by case situation is the best approach. Its the trade off for faster results.
07-01-2009, 03:44 PM
Hi guys and thanks for the replies!
I have another question......I want to make a AO pass.........I know how to do that......but I want to see the bumped materials in the AO pass........is it possible????
Thanks again :)
07-01-2009, 04:04 PM
Yes there is...
Use the mia Material x shader.. make it white. turn on AO and setup your AO colour... then add a bump. This should result in a bump mapped AO.
07-01-2009, 04:04 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2015, Jelsoft Enterprises Ltd.