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. You can also follow my personal adventures on Bluesky.
See more from me
The comments on this article are closed.
All posts need to follow our rules. For users logged in: please hit the Report Flag icon on any post that breaks the rules or contains illegal / harmful content. Guest readers can email us for any issues.
16 comments Subscribe

Tak 2 Jun 2015
Currently 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 2 Jun 2015
  • Admin
Currently 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 2 Jun 2015
I think this is very good news. Having proper OpenGL support with such scaling is awesome idea for any engine to have.
Keyrock 2 Jun 2015
Hopefully future versions of Unity will take advantage of Vulkan.
Tak 2 Jun 2015
Hopefully 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 2 Jun 2015
[quote=Guest]
Currently 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 2 Jun 2015
I have a question: Euro Truck Simulator 2 is an Unity engine game?
Glennh 2 Jun 2015
I have a question: Euro Truck Simulator 2 is an Unity engine game?

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

Thanks for your information.
edo 2 Jun 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.
marcelomendes 2 Jun 2015
Good. Lets hope the tons of Early Access Unity based games upgrade to this new release. o_O
Shmerl 2 Jun 2015
Aren't they also involved in Vulkan development? If so, will Unity support Vulkan / SPIR-V as well?

UPDATE: I missed the comment about it above :)
edo 2 Jun 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.
I’m curious, what GPU do you have?
amd mobility radeon hd 4250
edo 3 Jun 2015
amd mobility radeon hd 4250
According to [this page](http://www.game-debate.com/gpu/index.php?gid=781&gid2=608&compare=intel-hd-graphics-3000-desktop-vs-radeon-hd-6410d) your GPU can do OpenGL 3.3. I just wanted to check that :).
Still not enough to run Unity 5.1 games, but you are right.
edo 5 Jun 2015
Still not enough to run Unity 5.1 games, but you are right.
I don’t think you need to worry as their blog post states the new renderer supports “all versions from 2.1 to 4.5”.
I thought the point of this was just to support one Opengl renderer for all the platforms, I guess I have to re-read it
dubigrasu 21 Jun 2015
Just a small info, Unturned recently upgraded their engine to 5.
Finally working for me this way, and running pretty good.
http://steamcommunity.com/games/304930/announcements/detail/237910886970970507
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.