GithubHelp home page GithubHelp logo

Retrieving shader errors? about regl HOT 3 CLOSED

jeffawang avatar jeffawang commented on May 23, 2024
Retrieving shader errors?

from regl.

Comments (3)

jeffawang avatar jeffawang commented on May 23, 2024 1

I see, thanks!

For now I’m going to settle on my own webgl-based implementation, which just gives me line numbers.

Open to other ideas, but I’ll close the issue for now.

from regl.

rreusser avatar rreusser commented on May 23, 2024 1

FWIW if you're going to the trouble of rolling your own, you might consider using WebGL 2 now that, with the release of Safari 15, support has improved significantly. As much as think regl is great to use, it gets pretty frustrating to be stuck on GL ES 1.0. @mourner wrote some nice boilerplate here which might be a good starting point. (Edit: I see technically it uses the observable license which only permits forking within observable, but if he weren't focused on much, much, much more important things at the moment, maybe the license could be changed. πŸ‡ΊπŸ‡¦ Or if nothing else, it's good inspiration. )

from regl.

rreusser avatar rreusser commented on May 23, 2024

I believe the answer is that there is not, though this issue suggests a way to monkey-patch the error reporting method to intercept them:

#533

That's not a complete answer; I can't recall whether you can monkey patch that in regl itself or whether you have to mock console.error, but maybe that's enough to point in the right direction?

from regl.

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.