Jump to content

render order


photo

Recommended Posts

Posted

Hi,

Does anyone know a way of rendering a ObjectGui (billboard) and it's contents over a 3d line created with engine.visualizer.renderLine3D?

I've tried everything from setting the render order on both the material and the gui itself, but nothing works.  the visualizer seems to render over everything else in the scene.

Thanks,

Simon 

Posted

Hi,

As far as I know, renderLine3D uses scene depth to render the line, so if your line is 'behind' ObjectGui it shouldn't render over it. Maybe the problem is that ObjectGui does not write depth buffer. Just enable 'Depth mask' option at ObjectGui material and should work.

Hope this helps, regards

Posted

Thanks for your help - unfortunately depth_mask flag doesn't have an effect either.

Thanks,

Simon

×
×
  • Create New...