- Home /
How can I have a transparent ring around a transparent planet?
Hello! I have a Saturn-like planet with a ring around it. If I set the planet material's texture to Opaque, it works fine, ie. the ring goes around the front of the planet and becomes invisible behind it:
However, I want to set the planet as well as the ring to have variable transparency, so I need to set them to either Transparent or Fade. When I do so, the planet appears in front of all parts of the ring:
How I can have both transparent ring & planet AND have the ring appear to wrap around the planet properly? The 1st image has the Inspector settings for the Ring Material. The 2nd image has those of the Planet, which are the same as the Planet's settings in the 1st image except for the Rendering Mode. The planet consists of spheres of different sizes inside one another, though they all share the same material.
EDIT: I went into Debug Mode and tried lowering the render queue of the planet to below 3000 and of course both parts of the ring appear in front of the planet now, which also is not desired.