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 user guide.
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).
Answers and Comments
4 People are following this question.
Shader not working in OpenGL (Working in DirectX)
Mac build not working?! Quick help please
Why is Depth different in OpenGL?
Making an object resolution-independent
runtime check for OpenGL