ptitSeb / gl4es

GL4ES is a OpenGL 2.1/1.5 to GL ES 2.0/1.1 translation library, with support for Pandora, ODroid, OrangePI, CHIP, Raspberry PI, Android, Emscripten and AmigaOS4.
http://ptitseb.github.io/gl4es/
MIT License
703 stars 159 forks source link

glsloptimizer as shader converter #191

Open artdeell opened 4 years ago

artdeell commented 4 years ago

There is a project called glsloptimizer, that converts PC shaders fairly well. (half-life 2 with gltools approved) Guessing you can use it for converting PC shaders for Android.

ptitSeb commented 4 years ago

What do you mean with "PC shaders"?

artdeell commented 4 years ago

I mean, OpenGL (not ES) shaders.

ptitSeb commented 4 years ago

But there are already supported. Is there some specifics issue you have?

artdeell commented 4 years ago

I mean, current OpenGL shader support is not that good, and usage of glsloptimizer can improve it at least a bit

ptitSeb commented 4 years ago

So, that project: https://github.com/aras-p/glsl-optimizer ?

Integrating that kind of project is a big work. I don have plans to have a shader recompiler to replace actuall shaderconv, but it's not in my immediate todo. It's a similar project to glsloptimizer yes. The issue with that one is the build system and the integration that will be problematic.

But as I wrote, it's not in my immediate TODO, I have other things first.