Jump to content

Help with Shader Bug


Pryme8
 Share

Recommended Posts

https://pryme8.github.io/TileMaster/editor/index2.html

So what I am trying to do now, is debug what the gl error that is poping up is coming from.. Its something about a value not being bound correctly but im not sure how to track this down.

 

What I am trying to do is I have the first scene with the shader, and the ability to select a tile on the atlas.  Once this tile is selected I am trying to display it in the secondary scene or the preview output canvas which has a second shader that I am going to be doing the animation preview on.

I just need to figure out where the error is coming from, I know the second shader sampling method is wrong at this moment but ill fix it once I figure out this gl error first.

https://github.com/Pryme8/TileMaster/blob/gh-pages/editor/index2.html#L130  line 130 on is what handles the second shader and the bindings.

Link to comment
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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...