Sign in to follow this  

Paint canvas with Fragment shader

Recommended Posts

Which is the best way to paint the canvas with an input Fragment shader using BABYLON? Not a mesh but directly the canvas itself.

I could set up an ortographic camera and a plane in front of it, but that's... just bad.

Thanks in advance

Share this post

Link to post
Share on other sites

I don't follow you. How exactly?

I have several fragment shaders I need to show up, something like in shadertoy. So far I've checked several small JS libraries which allows that, the one which fits the best is glslCanvas, but it looks like it has a but with custom uniforms.

Babylon JS is very well maintained, optimized and compatible. If I can use it for it all my problems are solved.

I tried to paint the GUI, but I don't see the way.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.