Coder Social home page Coder Social logo

Comments (2)

floooh avatar floooh commented on August 24, 2024

TBH, after quickly skimming over the GL wiki (https://www.khronos.org/opengl/wiki/Tessellation), you're probably better off not using sokol-gfx at all, since it's not just a new shader stage, but also a new primitive type (GL_PATCHES) and this requires pretty deep cuts into the shader, pipeline and draw code (so almost everything).

Normally one can get pretty far with custom requirements by mixing OpenGL calls with sokol-gfx calls, but in this case that might not be worth it because you'd need to re-implement too big parts of the sokol-gfx GL backend.

Also, don't count on tesselation support ever making it into sokol-gfx, at least not until WebGPU has figured out a way to abstract this over the various backend APIs (and then it's still an open question whether this programming model can be wrapped over D3D11 and desktop GL too): gpuweb/gpuweb#445

from sokol.

Lerg avatar Lerg commented on August 24, 2024

@floooh thank you for your insight! Other time then.

from sokol.

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.