Occlusion Effect on Transparent Material

Occlusion Effect on Transparent Material

Postby MaxFromHotmax » Fri Apr 06, 2018 4:10 am

Hello,
I was wondering if it's possible to have an occlusion effect show up on a Transparent or Fade material.

Thanks,
Max
MaxFromHotmax
 
Posts: 1
Joined: Fri Apr 06, 2018 4:07 am

Re: Occlusion Effect on Transparent Material

Postby Amplify_Borba » Fri Apr 06, 2018 1:44 pm

Ambient Occlusion is applied before any transparent object is rendered and depends on the depth, in order for it to affect Transparent or Fade materials they'd have to be using a custom shader that could write to the depth, since Unity's Standard Surface Shaders do not, because by default their materials don't write in the depth buffer (which means they can't be used to compute ambient occlusion at all).

Please let me know if you have any further questions, thanks!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am


Return to Amplify Occlusion

Who is online

Users browsing this forum: No registered users and 1 guest

cron