#Inside of Mesh transparent?
11 messages · Page 1 of 1 (latest)
Don't quote me, but I think that's the default behaviour
A triangle won't normally render when you look at it from the back, and if you're inside a cube you're looking at the back of all the triangles
right, that makes sense.. but if I wanted to make the inside of the cube transparent... the faces would need to be double-sided, right?
I know I can go into blender and solidify a mesh and then make the inside faces transparent... but then the camera would just show the backside of the outside faces..
the thing I want to achieve is if the camera goes inside an object that the object becomes transparent... but it seems the way to do that is actually have code that switches the material if the camera ends up inside of it 🤔
ah, actually, that doesn't work because it's still the backface. I have to actually hide the object
It's probably best to specifically hide it yeah
I don't understand, the insides of meshes are all transparent by default like Ole said.
i think what I'm seeing might be because of a shader I'm using
if you are making a custom shader, you need to change some things on the specialize function to say to do backface culling