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.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
4 People are following this question.
Why is Unity using GL_TRIANGLES not GL_TRIANGLE_STRIP?
Shader inconsistency between OpenGL and DirectX
Problem with GetNativeTextureID() Unity 3.5 on Windows
Making an object resolution-independent
Visually testing on Ubuntu Server?