Jump to content

transparent material with reflection but no refraction

Recommended Posts

Hi. Nooby question:

I need a transparent material that reflects light but does not refract it. I could not achieve that with the principled shader. If I turn transparency to 1, I get a transparent material. Through the IOR parameter I can control the the intensity of the reflection AND the refraction. Is it possible to turn off the refraction but keep the relfection and transparency?

Thanks for your help.

Edited by a42b
Link to comment
Share on other sites


Principled shader doesn't offer much options for tricks like this so I'd say there is no convenient way how to do this with Principled. With Classic shader thou, you have an option whether to refract objects and whether to refract lights. Also, you can turn off an IOR for refractions. That might do what you're looking for.

Link to comment
Share on other sites

Thanks for the tip. But unfortunately the Classic Shader behaves in the same way as the Principled shader. If I change the IOR to 0 the reflection also disappears.

What I would like to achieve is just rendering the reflections without any diffuse component. The diffuse part should be transparent. Can someone please point me into the direction how to do that from scratch?

Link to comment
Share on other sites

yeah, IOR affects reflection and refraction in the same way. what you want to do is to enable Thin Film Refraction option under Refract tab in Classic shader. That basically sets refraction IOR to 1 while keeping reflections untouched.

removing diffuse component is easy, just untick Enable Diffuse in the shader diffuse tab.

if you need even more control you can mix two shaders with use of Mix Layers VOP (mixing PBR Reflection VOP and PBR Refraction VOP works just fine for situations like this - no need to use complex shaders like Principled or Classic)

Edited by davpe
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...