• Daz 3D
  • Shop
  • 3D Software
    • Daz Studio Premier
    • Daz Studio
    • Install Manager
    • Partnerships
    • AI Training data
    • Exporters
    • Daz to Roblox
    • Daz to Maya
    • Daz to Blender
    • Daz to Unreal
    • Daz to Unity
    • Daz to 3ds Max
    • Daz to Cinema 4D
  • 3D Models
    • Genesis 9
    • Genesis 8.1
    • Free 3D Models
  • Community
    • Gallery
    • Forums
    • Blog
    • Press
    • Help
  • Memberships
    • Daz Premier
    • Daz Plus
    • Daz Base
    • Compare
  • Download Studio
ADVANCED SEARCH
  • Menu
  • Daz 3D
ADVANCED SEARCH
Add image
  • Shop
  • 3d Software
    • Daz Studio Premier
    • Daz Studio
    • Install Manager
    • Partnerships
    • AI Training data
    • Exporters
    • Daz to Roblox
    • Daz to Maya
    • Daz to Blender
    • Daz to Unreal
    • Daz to Unity
    • Daz to 3ds Max
    • Daz to Cinema 4D
  • 3D Models
    • Genesis 9
    • Genesis 8.1
    • Free 3D Models
  • Community
    • Our Community
    • Gallery
    • Forums
    • Blog
    • Press
    • Help
  • Memberships
    • Daz Premier
    • Daz Plus
    • Daz Base
    • Compare

Notifications

You currently have no notifications.

Loading...
    • Categories
    • Recent Discussions
Daz 3D Forums > 3rd Party Software > Blender Discussion

Glass from Studio to Blender via Diffemorphic??

brainmuffinbrainmuffin Posts: 1,267
February 2021 in Blender Discussion

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

  • Krys KryngleKrys Kryngle Posts: 311
    February 2021

    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.

  • PadonePadone Posts: 3,998
    February 2021

    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.

    bsdf.jpg
    242 x 129 - 8K
  • SDevSDev Posts: 158
    February 2021
    A nice glass caustics shader workaround for 2.8+ https://www.creativeshrimp.com/uber-glass-shader-blender.html
  • PadonePadone Posts: 3,998
    February 2021 edited February 2021

    @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

    caustics.jpg
    599 x 624 - 87K
    caustics-render.jpg
    480 x 270 - 18K
    Post edited by Padone on February 2021
  • brainmuffinbrainmuffin Posts: 1,267
    February 2021

    Padone said:

    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.

    The model in question is Solaris Control Cabin (https://www.daz3d.com/solaris-control-cabin). I'll run and post a render from Iray and one from Blender. The glass is too reflective and not transparent.
  • brainmuffinbrainmuffin Posts: 1,267
    February 2021 edited February 2021

    The left image is a Render from Studio using Iray. The right image is a converted to Blender via Diffeo using cycles.

     

    Solaris-Control-01.png
    1920 x 1080 - 5M
    Control-Room-01-A.png
    1920 x 1080 - 4M
    Post edited by brainmuffin on February 2021
  • SDevSDev Posts: 158
    February 2021
    Padone said:

    @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

    That's why I wrote 'workaround' Alessandro.:)
  • TheMysteryIsThePointTheMysteryIsThePoint Posts: 3,216
    March 2021

    @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.

  • PadonePadone Posts: 3,998
    March 2021 edited March 2021

    @brainmuffin

    1. Be sure to use iray materials (uber shader) in daz studio. Then diffeo has some support for 3Delight but it's not so good.
    2. Use cycles with the bsdf conversion when importing in blender. That's the best option for material conversion.
    3. The environment hdri has to be the same to get the same results, be sure to set "draw dome = on" in daz studio for the hdri to be imported in blender.
    4. Be sure to get enough render quality in cycles. Then diffeo will set the minimum requirements as default, or give warnings on import if you change that. If you have any doubts then set cycles to the maximum quality that's the "full global illumination" preset.

    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.

    solaris-iray.jpg
    640 x 360 - 186K
    solaris-cycles.jpg
    640 x 360 - 62K
    Post edited by Padone on March 2021
Sign In or Register to comment.
Adding to Cart…

Daz 3D is part of Tafi

Connect

DAZ Productions, Inc.
7533 S Center View Ct #4664
West Jordan, UT 84084

HELP

Contact Us

Tutorials

Help Center

Sell Your 3D Content

Affiliate Program

Documentation Center

Open Source

Consent Preferences

JOIN DAZ

Memberships

Blog

About Us

Press

Careers

Bridges

Community

In the Studio

Gallery

Forum

DAZ STORE

Shop

Freebies

Published Artists

Licensing Agreement | Terms of Service | Privacy Policy | EULA

© 2025 Daz Productions Inc. All Rights Reserved.