Jump to content

Sending multiple texture maps to a fragment shader


williamsma
 Share

Recommended Posts

Coming from a WebGL background and new to PIXI.js, so I am used to sending multiple texture maps to a single Fragment Shader.

I sense PIXI.js framework sends a default texture map to the fragment shader, but found little on sending multiple texture maps to a single Fragment Shader.  Perhaps this is a restriction of the Framework.

My question is how to send multiple texture maps to a single Fragment Shader.  Is there a simple example of this?  

Appreciate any pointing in the right direction.

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