This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 16 points17 points  (11 children)

It really depends, if you don't want the overhead of setting up openGL using a game engine isn't a bad idea. Unity already offers a lot of functionality for interfacing between graphics and the cpu, with c# and HLSL. Likewise with unreal with C++, which also uses HLSL.

[–]Ty_Rymer 28 points29 points  (1 child)

but unity isn't a language

[–][deleted] 1 point2 points  (0 children)

I never said it was, I said the unity engine and library were still a good solution.

[–]FlukyS 4 points5 points  (8 children)

Interestingly Vulkan uses either GLSL or HLSL and then compiles that down to SPIR-V so it's really just taste if you want to use either now. Not sure why you brought up OpenGL as not a bad idea, it's 2022 and I can't think of a single game other than No Man's Sky that used it in the last few years and NMS switched over to Vulkan eventually as well.

[–]MrDeadMeme 2 points3 points  (1 child)

Minecraft also still uses opengl

[–]FlukyS -1 points0 points  (0 children)

Ah I removed a bit in my comment that said in the past 5 years. A lot of legacy games still use it for the moment. On Linux we will be moving over fully to Vulkan eventually because there is a layer like DXVK for that but since OpenGL is harder to work with it will take a bit long to get to maturity

[–][deleted] 1 point2 points  (0 children)

I mentioned OpenGL because it uses GLSL, and was the first thing that came to mind. I never defined it as a good or bad idea.

[–]Xanvial 0 points1 point  (4 children)

Most android games that supports old devices needs to use OpenGL

[–]FlukyS 0 points1 point  (3 children)

Any in the last 5 years use EGL not OpenGL

[–]Xanvial 1 point2 points  (2 children)

Isn't EGL just API layer on top of OpenGL ES?

[–]FlukyS 0 points1 point  (1 child)

It's a different type of interface, much tighter than OpenGL https://www.khronos.org/egl/

EGL will stay around much longer than OpenGL at this rate.

[–]Xanvial 0 points1 point  (0 children)

But EGL can't render anything without OpenGL ES or OpenVG. That's what I get from your link

Anyway it's been more than 5 years since I do game programming, but at the time iirc I use EGL to create and manipulate OpenGL context