I know that Unity3D uses DirectX and OpenGL at backhand for rendering. I am curious about one thing that is Resolution Independence for 2D and 3D is provided by graphical API automatically ? Or Unity3D is providing that feature
Because when i change my game resolution through changes automatically, i just want to know whether this is provided by graphical API ? Or engine is providing this component for graphical API for 2D and 3D
Answer by Waz
Aug 30, 2011 at 09:46 AM
A combination of both. Most graphics APIs, and OpenGL and DirectX are no exception, provide for flexible scaling while allowing pixel operations or at least pixel hinting such that an application can be as pixel-unaware or as pixel-perfect as it needs. Unity continues that tradition such that a typical Unity game might be pixel-unaware for the 3D scene and pixel-perfect for the GUI controls.
It's really nothing unusual though.
Thanks a lot
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
To help users post good questions and use the site effectively we have posted a user guide. Please check it out.
Answers and Comments
4 People are following this question.
runtime check for OpenGL
Easy way to check if DirectX is used as renderer (instead of Open GL or Open GL ES)
Making an object resolution-independent
Dynamic batching not working with direct X?
What graphics API does Unity's web player use?