Code Monkey home page Code Monkey logo

Comments (5)

 avatar commented on May 18, 2024

One of the key features of Diligent Engine is that it allows using HLSL on all supported platforms and backends. GLES2.0 shading language misses a number of critical features that does not make shader translation possible.

from diligentengine.

eugeneko avatar eugeneko commented on May 18, 2024

@DiligentGraphics
Just curious, what are actual issues with OpenGL ES 2.0 support?
Maybe if you give some hints and directions, there would be people ready to try porting.
OpenGL ES 2.0 and especially WebGL 1.0 are still quite popular.

Is it because of uniform buffers?

from diligentengine.

 avatar commented on May 18, 2024

@eugeneko The main problem was with shader conversion. HLSL->GLSL converter relies on specifying variable locations to match shader inputs and outputs, and GLES2.0 does not support that.

I did not know about uniform buffers actually, but looks like they are not supported in GLES2.0 (correct me if I am wrong). If this is really the case, then Diligent can't support GLES2.0.

Diligent is designed as a modern cross-platform library targeting next-gen APIs. It has to sacrifice backwards compatibility with really old APIs

from diligentengine.

eugeneko avatar eugeneko commented on May 18, 2024

I did not know about uniform buffers actually, but looks like they are not supported in GLES2.0 (correct me if I am wrong).

Yeah, you are right. It was the first thing I've checked when looked at this issue, and Diligent looks really tied to these guys.

It has to sacrifice backwards compatibility with really old APIs

For mobiles GLES 2.0 is not that old.
I think it would disappear in ~5 years tho, so indeed this issue isn't that severe...

It's good thing you stick to modern interface. Maintaining all this old stuff and managing uniforms would have had awful impact on usability.

from diligentengine.

 avatar commented on May 18, 2024

GLES2.0 can't be supported by Diligent Engine because this old API lacks crucial abstractions (uniform buffers and other).

from diligentengine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.