I am coding a data visualisation application, it has a GUI system which one of the features will be a 2d image viewer and 3d model viewer which i’ll call in a unitypackage like an in game 3d inventory viewer.
I’m not convinced render to texture would be the best idea as I need to be able to move, rotate and interact with the 3d unitypackage model.
What might be the best route for this? How can I render a 3d model inside a GUI rect?
-Hosse
You don’t need render to texture, you can just use a second camera and a Normalized Viewport Rectangle
Thats one option but how can I call and kill this inside a script?
Also, how to I set up layers so a camera will render only those specific layers?
take a look at the docs I linked to as well as these:
and the Layer docs
I believe by setting the .enabled on the Camera component.
this looks interesting . Is there any easier way to explain how to do this ?