Object opacity issue

Started by Eugeny, August 01, 2020, 06:49:34 am

Previous topic - Next topic

Eugeny

Hello,

I seem to have a problem with object opacity.  

Here is a simple example that demonstrates the issue. I have an object (Obj reader). In it's surface shader I try to define an opacity value to make it semi-transparent. Now, in RTP preview the object looks as I expect. However, in a final render it shows either as completely opaque (for all the opacity values > 0.5), or doesn't show at all (for opacity < 0.5).

Am I doing something wrong here? Any help will be appreciated.

WAS

Unfortunately opacity doesn't handle semi-transparency the way you want. It's be cool to see am improvement here for various applications. 

What you can do is take a surface shader, and plug a glass shader into your main input, disabled reflections and make it double sided (I believe). Than you can plug your material into the child input, and your opacity mask into the mask slot. This will allow semi-transparency and works in some scenarios alright as a cheat.

Eugeny

Thanks a lot, your solution works.
Quote from: WAS on August 01, 2020, 07:46:14 amWhat you can do is take a surface shader, and plug a glass shader into your main input, disabled reflections and make it double sided (I believe). Than you can plug your material into the child input, and your opacity mask into the mask slot. This will allow semi-transparency and works in some scenarios alright as a cheat.

Thanks a lot, your solution works.