Is there any way to turn off the reflection or refraction visibility of an object
so it doesn't appear on the other objects in octane for C4D?
Moderator: aoktar
mitchino wrote:No.
utils
Script presets: Raytype.osl
Reflection
check
milanm wrote:mitchino wrote:No.
Wrong.
This will hide a material from reflections:
- Add an OSLTexture to Opacity
- Script category:
utils
Script presets:Raytype.osl
- set Ray to:
Reflection
- Swap:
check
Same works for refractions, shadows, ambient occlusion, diffuse/caustics and camera by changing the Ray menu to a different option.
Of course, as usual, Alpha shadows option needs to be enabled for opacity to work correctly.
Regards
Milan
A
like this:A
of the first one and change the Ray to Refraction. That will now hide that material in both refractions and reflections.simowlabrim wrote: the script you provided is not working 100%, it has some Opacity issues to fix yet,
Users browsing this forum: Google [Bot] and 7 guests