Glass shader settings

I've added a shader to some glass in a window. When I render the figure behind the glass is distorted. What setting in the surface panel do I alter to lessen or get rid of this distortion? Below is an example.

Cheers.

shader example.jpg
608 x 861 - 271K

Comments

  • FishtalesFishtales Posts: 6,119

    If in Iray then use the Thin Glass clear shader.

  • prixatprixat Posts: 1,588

    It looks like the refraction is quite high.

    If you want to keep a hint of the distortion then reduce the IOR (index of Refraction) to a value nearer to 1.

  • SteveM17SteveM17 Posts: 973

    It's not in Iray, it's 3delight.

     

    prixat said:

    It looks like the refraction is quite high.

    If you want to keep a hint of the distortion then reduce the IOR (index of Refraction) to a value nearer to 1.

    Messing around with refraction seems to be the solution as you suggest. Thanks.

  • FishtalesFishtales Posts: 6,119

    That isn't distortion, those are broken panes of glass so some of the character is behind glass and some not so it looks like distortion.

  • SteveM17SteveM17 Posts: 973

    Here is a render with less refraction, but the glass doesn't look convincing to me.

     

    Dracula1.jpg
    1860 x 867 - 756K
  • prixatprixat Posts: 1,588
    edited January 2016

    With a dark room behind the window, I would expect glass to be more reflective.

    Do you have something for it to reflect?

    Post edited by prixat on
  • SteveM17SteveM17 Posts: 973
    prixat said:

    With a dark room behind the window, I would expect glass to be more reflective.

    Do you have something for it to reflect?

    You mean something behind the camera? No, it's empty at the moment, but I'll add something and see if that works.

     

  • FishtalesFishtales Posts: 6,119

    The Refractive Index for glass is usually 1.50 but can vary by type.

  • SteveM17SteveM17 Posts: 973
    Fishtales said:

    The Refractive Index for glass is usually 1.50 but can vary by type.

    At the moment the index of refraction is at 1.45.

    I've put a building across from the window, but can't get a reflection for some reason.

  • SpottedKittySpottedKitty Posts: 7,232
    SteveM17 said:
    I've put a building across from the window, but can't get a reflection for some reason.

    Is there any light source illuminating this new building? You might need to add one, or adjust your existing lights.

  • SteveM17SteveM17 Posts: 973
    SteveM17 said:
    I've put a building across from the window, but can't get a reflection for some reason.

    Is there any light source illuminating this new building? You might need to add one, or adjust your existing lights.

    I thought of that, and put a spotlight bang in front of it. Still no reflection.

  • prixatprixat Posts: 1,588
    edited January 2016

    How about something closer to the window?

    If you move the bat a bit, does it reflect?

    Though you get into tough philosophical questions like, "If vampires don't have reflections, why would do vampire bats have them?"

    Post edited by prixat on
  • SteveM17SteveM17 Posts: 973
    prixat said:

    How about something closer to the window?

    If you move the bat a bit, does it reflect?

    Though you get into tough philosophical questions like, "If vampires don't have reflections, why would do vampire bats have them?"

    You have hurt my brain.

  • SteveM17SteveM17 Posts: 973

    Is there any way to remove a shader?

  • Apply a different shader.

  • SteveM17SteveM17 Posts: 973

    I mean is there a way to make an object go back to simple diffuse type settings, as it was before any shader was applied?

  • That is the Daz Default Shader - you could make a preset, if one isn't supplied, by saving a Shader preset from a newly created primitive.

  • Mage 13X13Mage 13X13 Posts: 434
    edited January 2022

    Fishtales said:

    The Refractive Index for glass is usually 1.50 but can vary by type.

    Actually its 1.52 for clear glass with white light. Other light colors change this because of the difference in light wave lengths. Different colors have different wave lengths. You are correct that there can be other values for glass depending on composition of the glass, though. Leaded Glass actually has a higher index.

    Post edited by Richard Haseltine on
  • SteveM17 said:

    Is there any way to remove a shader?

     

    In  Surfaces go to the Presets pane and select Shaders. Find Utilities in the list that comes up and open it. At the top of the items in that section you will find the first one is ! Reset Surface. That will remove everything, and set your surface back to untextured. Hope this helps. 

Sign In or Register to comment.