0
$\begingroup$

i am trying to make a glass shader for a photorealistic scene that im making but i have an issue with a glass of water. My glass in real life has some edge loops in the inner part of it. I modelled them and made a glass shader. But the inner part of it isnt refracting.enter image description here

enter image description here

enter image description here

This is the best that i could make. But the top part is so bad. enter image description here

$\endgroup$

2 Answers 2

2
$\begingroup$

I think the problem could be that you are using the light path node at the end, try this, I hope it helps.

enter image description here enter image description here enter image description here

$\endgroup$
2
  • $\begingroup$ Francisco, I am amazed at the glass you were able to acheive!! I have had the most difficult time getting glass to look proper in 2.8. Would you be willing to share your file itself? I followed your suggestions above, but couldn't achieve the results you have. $\endgroup$
    – Swirlyking
    Commented Apr 6, 2019 at 17:51
  • $\begingroup$ @Swirlyking thanks for your comment, here is the link to the file, please let me know if I can help in anything else. <img src="https://blend-exchange.giantcowfilms.com/embedImage.png?bid=6075" /> $\endgroup$ Commented Apr 8, 2019 at 14:40
0
$\begingroup$

It's best if you share the reference image so we can have proper idea.

  1. As for your problem, I think it's because of the inner mesh intersecting the outer mesh, try to scale the inner mesh inwards.

  2. If it's not a separate mesh then I think you need to adjust your normals.

    • go to edit mode
    • select the whole mesh
    • ctrl + N or go to toolbar -> shading -> under normals: recalculate.
  3. If there's a liquid inside then be sure to check this article out and apply the first method

$\endgroup$
1
  • $\begingroup$ Nop, doesn´t work $\endgroup$ Commented Dec 23, 2018 at 22:38

You must log in to answer this question.

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