How to force parts inside camera to stay opaque?

You must know that normally, any part that is inside the player’s camera is invisible for the player.

For example, I have this grey part at my left:

If the camera is inside the part, it’s no longer visible:

I’m scripting my own custom camera, and I absolutely need to disable this behavior, otherwise my custom camera occlusion mode won’t work properly.

1 Like

The behavior can’t be disabled; the engine only renders the outer faces of objects with one notable exception: for MeshParts, the DoubleSided option will cause the engine to render faces along both the face’s standard normal and inverted normal, giving the effect you’re looking for. For anything else, you’d have to detect when the camera is intersecting with the object and subsequently rebuild faces manually.

2 Likes