Jump to content

Cannot Disable Mipmaps or Change Sampling Mode on videoTextures


MasterSplinter
 Share

Recommended Posts

The constructor doesn't seem to behaving properly on videoTextures.

 

I can't seem to disable the mipmaps or change the sampling mode.  However, invertY is working probably.  I also get an error if I try and feed in the urls/url as an object stating that urls.ofEach is not a function.

 

Here is an example:

http://www.babylonjs-playground.com/#CHQ4T#8

Thanks in advance!

 

-P

Sidenote:  Seems to work on the basic texture:

http://www.babylonjs-playground.com/#WWRIO#1

Link to comment
Share on other sites

44 minutes ago, Deltakosh said:

It works with a power-of-two texture:http://www.babylonjs-playground.com/#CHQ4T#11 (And as you can see I was able to provide many urls)

 

Because your video is not square, webgl can only apply POINT sampling mode

So how would I get this to apply properly?  I don't see a point sampling mode in the videotexture.

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