Glass from Studio to Blender via Diffemorphic??
brainmuffin
Posts: 1,205
I've been having the hardest time correctly getting glass (in say a Window) to be transparent in Blender using Cycles. Anyone have a good recipe to follow?
Comments
There is a glass bsdf node in blender, but I think most people mix gloss and transparent to get the effect they want.
The easiest way is to head over to blendswap and search for 'glass' or 'glass shader'. There are a bunch of different models with materials depending on what color and type of glass you want.
Another option, maybe even easier, is to add the free version of Blenderkit. They have about 50 different glass shaders in the free section. That is just drag and drop, wicked easy after you sign up and install.
Diffeo should correctly convert glass from iray to cycles. That is, if it works in iray then it should work the same in cycles. If not, please provide a simple test scene so we can look at it. If you are referring to caustic effects then cycles is just not good at that, there's nothing we can do.
Also be sure to select the BSDF option for materials that gives the best conversion.
@SDev Using a "transparent color ramp" for shadow rays is of course a viable way to fake caustics. But this has nothing to do with real caustics. I mean, the faked caustics are just a nice "paint" with nothing to do with PBR.
edit. For anyone interested below a common setup for fake caustics, that's also used in the video above. Basically the dot product is used to trace the color ramp from the outside to the inside of the shadow area, so you can paint whatever you want on the shadow and make it seems a caustic effect.
https://bitbucket.org/Diffeomorphic/import_daz/issues/400
The left image is a Render from Studio using Iray. The right image is a converted to Blender via Diffeo using cycles.
@brainmuffin
I think you'd find The Cycles Encyclopedia both extremely useful and extremely interesting. For something like glass, you could probably just do it from scratch and end up with something you like better, anyway.
@brainmuffin
If the conditions above are respected, that's what to do for a high quality material conversion, then here I get the same results in daz studio and blender, apart tone mapping. Below first iray then cycles, with the default iray hdri.