Jump to content

PBR Reflection Texture - Single Image error on IE10/Edge


Bob Razowsky
 Share

Recommended Posts

Hi!

I noticed something weird working with reflection texture on IE10 and Microsoft Edge.

When using a single image as reflection texture,  I get the error "Unable to compile effect", "Invalid arguments passed to function 'texture2D'".

Here is a PG reproducing the issue https://www.babylonjs-playground.com/#IRZYH#20

It's working fine on Chrome and Firefox.

Link to comment
Share on other sites

Unfortunately this is expected. Edge/IE do not support a required extension: texture_lod. when used with a cubemap we are doing a lot of work under the hood to generate fake LODs. But this is not done when used with a 2d texture

So I recommend to stick with a cubetexture here (or use the standard material)

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