I have a 4 WidgetViewport app where I would like one of the viewports to have orthographic projection. I’ve played around a little with Renderer.setOrtho / setOrthoCenter but can’t get them to have any effect. Is there a way to make this viewports camera have orthographic projection?
Thanks.
Lynn
generally it is done something like:
renderer.setOrthoCenter();
renderer.draw(node);
renderer.unsetOrtho();
I pretty sure you need to also make sure that the world location z value of whatever you are drawing is 0.
I'm not sure how the 4 viewport stuff will affect all that though since I've never used it yet.