2
$\begingroup$

I want to create a simple see-through glass but without the reflections and refraction.

Here is the issue: enter image description here

The refraction makes it look like there is another chair in front of the original chair.

The normals are fine.
Geometry is fine.
The glass has thickness to it.

I played with the light path nodes and they give similar results.

And this didn't work, either.

$\endgroup$
6
  • $\begingroup$ Without the reflections, do you need a glass at all? $\endgroup$
    – user1853
    Oct 26, 2017 at 19:11
  • $\begingroup$ Have you created both sides of the glass panes? $\endgroup$ Oct 26, 2017 at 20:43
  • $\begingroup$ @cegaton Of course. $\endgroup$
    – 4-K
    Oct 27, 2017 at 15:14
  • 1
    $\begingroup$ Here is the SOLUTION, if anyone else is interested. $\endgroup$
    – 4-K
    Oct 27, 2017 at 15:16
  • 1
    $\begingroup$ @4-K please include the actual solution (and not just a link) as an answer, rather than adding a link in a comment. Giving back to the community is a good way to repay people for spending time to help you out. $\endgroup$
    – dr. Sybren
    Dec 10, 2017 at 17:46

2 Answers 2

2
$\begingroup$

This answer from CarlG on Blenderartists.org helped me:

If you want manual glass on thick panes, all you need to do is setup the shader manually: Fresnel to mix between refraction shader and glossy (sharp is ok) shader. If you want to lower the reflections you just dial in a darker value. You can then mix in a transparency shader after that using LightPath/isShadowRay to eliminate it casting shadows, very useful if caustics is turned off and/or (?) if diffuse bounces are low.

In real life dulling down the reflections are usually done by adding an anti glare coating to it, this tints the facing angles of the reflections slightly green (if you wear glasses, check them out if they have such a coating).

However, for glass panes (equal thickness) using refraction is a huge waste of resources since refractions would be most evident near the edges (which you don't see). So the trick here is to replace the refraction shader with a transparency shader. You may need to invert IOR (in the fresnel node) for backfacing faces. Unless I need to see the double reflection from multiple layers of glass (not happened so far), I'll just use flat panes of glass.

You can actually use refraction shader on thin panes as long as you feed its normal input from Geometry/Incoming. You'd still need to invert the IOR for backfacing faces though. This trick is useful if you want frosted glass at a fraction of the price for real frosted thick glass.

Here is the setup I typically use for pretty much ALL glass I do (excluding glass vases and ornaments). If I need frosted I swap out the glass Transparency shader (I keep the shadow one) and feed it normal from Geometry/Incoming.

enter image description here

$\endgroup$
0
$\begingroup$

This setup does well for clear glass. It shows glossy highlights,
but the rest is transparent, so you can see objects inside.

Glass

What you've linked looks overly complicated.

You can just change it to Multiscatter, and turn up roughness,
if you want to completely obliterate the gloss effect.

flat glass

$\endgroup$
1
  • 4
    $\begingroup$ This didn't work. $\endgroup$
    – 4-K
    Oct 27, 2017 at 15:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .