Every article tag can be clicked to get a list of all articles in that category. Every article tag also has an RSS feed! You can customize an RSS feed too!
We do often include affiliate links to earn us some pennies. See more here.
tagline-image
Good news for those of us annoyed by the poor OpenGL performance of games built with Unity, as the Unity engine will have a unified OpenGL rendering system.

What the hell does that mean?
Currently Unity has OpenGL desktop which is stuck on OpenGL 2.1, OpenGL ES 2.0 and one for OpenGL ES 3.0. You can imagine how annoying that is.

The great news for us, is that with the new unified OpenGL system, games can scale from OpenGL ES 2 all the way up to OpenGL 4.5. So, not only will games in future Unity versions use a much more modern OpenGL, this is also a high point:
QuoteWe do not need to maintain separate diverging codebases, bugs need to only be fixed once and all optimizations we do benefit all the platforms simultaneously.


There's a lot of other work going on, as they are trying to get OpenGL to work more like DirectX 11. A lot of the blog post is very technical, but one fun thing is that some of the work they are using is based upon Icculus work with Mojoshader as their HLSL to GLSL shader language translator uses code from it.

This has me cautiously excited for Unity games built on Unity 5.1+, it would need to be at least Unity 5.1 as that's where this experimental OpenGL code for the desktop currently resides.

This is one of the good things about Android and iOS being so popular as they use a form of OpenGL (OpenGL ES), and we probably wouldn't be getting these improvements if mobile wasn't so popular.

See their blog post on it here. Article taken from GamingOnLinux.com.
Tags: Editorial, Unity
0 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly checked on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
The comments on this article are closed.
16 comments
Page: 1/2»
  Go to:

Tak Jun 2, 2015
QuoteCurrently Unity has OpenGL desktop which is stuck on OpenGL 2.1
This doesn't have much to do with overall performance, but rather to do with supported OpenGL features.

However, the cleanup and move toward supporting modern OpenGL core profiles means that we can start to get away from places where everything had to be structured in a certain way in order to make fallbacks possible for the lowest common denominator, etc., and as the blog post mentions, the fact that we're sharing a lot more code between desktop GL and GLESs means that we'll get the same optimizations and fixes across all these platforms instantaneously.

Additionally, Unity 5.2 will also contain some Linux-specific improvements to multithreaded rendering.

As far as new OpenGL features, like compute/geometry/tessellation shaders, we'll start getting those as soon as the experimental GL core mode is enabled for Linux (which will be sometime after Unity 5.1, as the blog post states).
Liam Dawe Jun 2, 2015
Quoting: Tak
QuoteCurrently Unity has OpenGL desktop which is stuck on OpenGL 2.1
This doesn't have much to do with overall performance, but rather to do with supported OpenGL features.

As far as I am aware, a lot of performance related issues are on old OpenGL features, and the whole zero driver overhead stuff can only be used with modern OpenGL.
Pecisk Jun 2, 2015
I think this is very good news. Having proper OpenGL support with such scaling is awesome idea for any engine to have.
Keyrock Jun 2, 2015
Hopefully future versions of Unity will take advantage of Vulkan.
Tak Jun 2, 2015
Quoting: KeyrockHopefully future versions of Unity will take advantage of Vulkan.
Yes, we're definitely very interested in Vulkan, as might be evidenced by https://www.khronos.org/assets/uploads/developers/library/2015-gdc/Valve-Vulkan-Session-GDC_Mar15.pdf and http://aras-p.info/blog/2015/03/13/thoughts-on-explicit-graphics-apis
Tak Jun 2, 2015
[quote=Guest]
Quoting: liamdawe
Quoting: Tak
QuoteCurrently Unity has OpenGL desktop which is stuck on OpenGL 2.1
This doesn't have much to do with overall performance, but rather to do with supported OpenGL features.

Pretty much. Modern OpenGL allows for much reduced driver overhead, and also exposes a lot more features that can be used by default (e.g. frame buffer objects, allowing "off-screen" rendering to be done much easier).
Stuff like FBOs and VBOs are already in heavy use (via extensions) - various newer things from the "zero driver overhead" talks have been adopted as well, but of course it will be more/nicer/cleaner in the unified backend.
leillo1975 Jun 2, 2015
I have a question: Euro Truck Simulator 2 is an Unity engine game?
Glennh Jun 2, 2015
Quoting: leillo1975I have a question: Euro Truck Simulator 2 is an Unity engine game?

No, they use Prism3D. http://www.scssoft.com/techno.php
leillo1975 Jun 2, 2015
Thank yo
Quoting: GlennhNo, they use Prism3D. http://www.scssoft.com/techno.php

Thanks for your information.
edo Jun 2, 2015
The problem is that my laptop supports until OpenGL 3.1 and directx 10 :/ So seems to be no Unity 5.1 for me.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.