Simon.Anderson Posted July 26, 2017 Posted July 26, 2017 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
javier.serrano Posted July 26, 2017 Posted July 26, 2017 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
Simon.Anderson Posted July 27, 2017 Author Posted July 27, 2017 Thanks for your help - unfortunately depth_mask flag doesn't have an effect either. Thanks, Simon
Recommended Posts