- Home /
How do I render the inside of a transparent model (a glass jar)?
I'm trying to create a HDRP/lit material for a glass jar model. The jar is a single mesh and it has an inside.
However, when rendered by unity the bottom of the glass isn't rendered:
I've tried enabling double-sided surface for the material, as suggested in a tutorial, however, this seems to just disable back-face culling, and, as expected I just get lots of artifacts from z-fighting.
Some parts of the model do look right, though... I guess what I want, is for the inside of the jar to be rendered first, and then the outside on top. Does anyone know how to achieve this?
I imagine it is, but just to check, the normal for the interior bottom face is towards the interior of the jar?
Answer by bobbaluba · Sep 28, 2019 at 06:04 AM
So I tried a few more things. Turns out enabling "appear in refraction" seems to be doing what I want:
The options I used:
Your answer
Follow this Question
Related Questions
Rendering objects into another camera with a different material in HDRP 0 Answers
How to know if my Shader Graph is supported by the SRP Batcher? 1 Answer
Render a object on top of another. 2 Answers
How to FadeIn 3dObject using alpha color? 1 Answer
Using materials as effects bad practice? 0 Answers