Nested semi transparent objects with refraction

Hello,

I would like to make an object with a semi transparent and refractive material containing another similar object. I would like to achieve a result similar to the first image but with semi transparent tube as in the second image. From what I understood this kind of nested semi transparency is not possible with a standardMaterial. Is there a custom way to do it please ?

In theory, you could render the inside objects into a texture (using RenderTarger). Then render the content of it to the background of your normal scene camera, and render the outside object. Not tested, but should work.

I am trying to do a 3D viewer for a website where the user could turn around the object. Could this technique works in this case ?

Yep I don’t see why not.

1 Like