a42b Posted March 12, 2018 Share Posted March 12, 2018 (edited) 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 March 12, 2018 by a42b Quote Link to comment Share on other sites More sharing options...
davpe Posted March 13, 2018 Share Posted March 13, 2018 Hi, 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. Quote Link to comment Share on other sites More sharing options...
a42b Posted March 16, 2018 Author Share Posted March 16, 2018 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? Quote Link to comment Share on other sites More sharing options...
davpe Posted March 16, 2018 Share Posted March 16, 2018 (edited) 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 March 16, 2018 by davpe Quote Link to comment Share on other sites More sharing options...
a42b Posted March 21, 2018 Author Share Posted March 21, 2018 Enabling the Thin Film Refraction option did the trick. Thank you so much. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.