Render single mesh

Godot Version

4.5

Question

im trying to render portals, for that im modifying the engine and I wanna render the portal mesh manually to write to stencil. but im having trouble figuring how to render an single mesh in my desired location. maybe I keep some sort of reference to the portal instance and render that manually? id love if someone pointed me to the right direction

Why not use MeshInstance3D? It’s specifically used to render single meshes.

yea that was my solution, I just pass my instance rid to be rendered as the portal shape.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.