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.
It's best if you share the reference image so we can have proper idea.
As for your problem, I think it's because of the inner mesh intersecting the outer mesh, try to scale the inner mesh inwards.
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.
If there's a liquid inside then be sure to check this article out and apply the first method