kiryha Posted July 3, 2019 Share Posted July 3, 2019 I am using "glass" material for the outer shape of my eye. I am losing lighting and color (left pic is without outer shape) inside the glass object. Is it should be like this or I need to set up something else (like in Arnold you need to explicitly set object property to handle transparency)? Quote Link to comment Share on other sites More sharing options...
anim Posted July 3, 2019 Share Posted July 3, 2019 You can turn on fake caustics on the glass material 1 Quote Link to comment Share on other sites More sharing options...
TobyGaines Posted July 4, 2019 Share Posted July 4, 2019 Better yet, for this type of thing where your outer eye object is solely faking the smooth / wet surface of the eye, turn off all shadow casting and indirect lighting contributions, and you get a little faster rendering bonus 1 Quote Link to comment Share on other sites More sharing options...
kiryha Posted July 8, 2019 Author Share Posted July 8, 2019 How can I disable all shadow casting and indirect lighting contributions on Geometry level? Or it should be done in the shader (I have no idea how to do it as well)? Quote Link to comment Share on other sites More sharing options...
marque_pierre Posted July 10, 2019 Share Posted July 10, 2019 I have had the exact same problem. The best solution I found (although certainly still not quite where I wanted it to be) was to build my own shader instead of using the glass shader preset. So add a material builder node and inside that add the classic shader core. In the classic shader core, turn down diffuse and reflection completely. Basically you only want that for the refraction (the IOR is in the settings tab, should you need to change it). Then add a PBR Reflect node for your reflection - daisy chain style. And you are good to go. Looking something like the attachment. This barebones shader was put together by one of our guys to deal with glass windows that would render with so much noise. So, it can do that too... 1 Quote Link to comment Share on other sites More sharing options...
anim Posted July 10, 2019 Share Posted July 10, 2019 (edited) On 7/8/2019 at 5:04 PM, kiryha said: How can I disable all shadow casting and indirect lighting contributions on Geometry level? Or it should be done in the shader (I have no idea how to do it as well)? you can do the same what Fake Caustics does, use Is Shadow Ray VOP node to switch opacity for shadow rays, in case of turning shadows off switch to constant 0 however be careful with Glass materials that don't cast shadows at all, I remember them producing unrealistically bright values within the Glass, I had the best results with fake caustics or combined with real ones Edited July 10, 2019 by anim 1 Quote Link to comment Share on other sites More sharing options...
Skybar Posted July 10, 2019 Share Posted July 10, 2019 Couldn't you also just put -shadow in Render Visibility on the geo node? Quote Link to comment Share on other sites More sharing options...
jon3de Posted July 11, 2019 Share Posted July 11, 2019 A thing, which I know is not the problem here, but anyway good to mention when working with smaller characters is to check the "Raytracing Bias" in the Rop node. I had a lot of transparency issues with the eyes on a rather smaller character. So maybe make also sure to check that the bias is small enough. Quote Link to comment Share on other sites More sharing options...
davpe Posted July 12, 2019 Share Posted July 12, 2019 i came across exactly the same thing. the outer layer is simply casting an undesired shadow which can be easily removed in shader with isShadow VOP: 2 Quote Link to comment Share on other sites More sharing options...
TobyGaines Posted July 12, 2019 Share Posted July 12, 2019 On 2019-07-10 at 7:55 AM, Skybar said: Couldn't you also just put -shadow in Render Visibility on the geo node? Exactly, by far the easiest - but if you don't want to break out the geo, that cool IsShadow method looks ideal ^ Quote Link to comment Share on other sites More sharing options...
kiryha Posted July 12, 2019 Author Share Posted July 12, 2019 Is there a way to do - shadow on SOP level? Quote Link to comment Share on other sites More sharing options...
davpe Posted July 13, 2019 Share Posted July 13, 2019 5 hours ago, kiryha said: Is there a way to do - shadow on SOP level? no. you can do it per object or per shader, as mentioned. 1 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.