Render gameobjects within boundaries

Hi guys!

Im working on a small passion project with AR. Im trying to figure out how i could render a large scene within the confines of another game object. Ive attached an image of what i mean by this, where whats drawn in white is whats being rendered and yellow is not being rendered.

I know this usually isnt a problem for normal games since you can just use occlusion culling, but in AR, i dont think it works that way.

Any help or a suggestion in the right direction would help heaps!!

Thanks in advance :slight_smile:

I think that’s what EditorVR does for the minimap, if i remember correctly they do it via manual camera rendering with recalculated matrix + shader clipping. The repository probably still has those scripts.

Sweet, I’ll give it a look. Thanks for the reply!