Jump to content

Race condition with webcam texture


ozRocker
 Share

Recommended Posts

When I'm using webcam as a texture I get a lot of these warnings:

RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.

which happen until the webcam texture finally appears on the object.  I think its trying to display the texture before the webcam feed has appeared.

Here's my webcam playground: https://www.babylonjs-playground.com/#1R77YT#10

 

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