Jump to content

[SOLVED] - Latest 2.6 - Preprocess Issue With HDR


MackeyK24
 Share

Recommended Posts

The latest webgl 20 and vertex array object might need a bit of tweaking or the generateBabylonHDR functions do.

the update cause more webgl error when using a pre processed HDR file produced using the generateBabylonHDROnDisk:

 

[.Offscreen-For-WebGL-0x7f9edb812e00]GL ERROR :GL_INVALID_OPERATION : glTexImage2D: invalid internalformat/format/type combination 0x8814/0x1907/0x1406
196/#UTEVJ#0:1 [.Offscreen-For-WebGL-0x7f9edb812e00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.

 

I made a Test Pre Process HDR Skybox playground to show the problem... @Sebavan and or @Deltakosh ... I am pinging you guys here :)

also a A Regular HDR working sample is here

Link to comment
Share on other sites

9 hours ago, Sebavan said:

Yep I am onit (thx webgl 2) you ll have it tomorrow.

You da man Sebastian :)

They are FREAKIN beautiful.. Loads REALLY FAST ... Thanks man :)

Now i am going to make a "Skybox Generator Scene" to include in the toolkit that you can use to "BAKE" or "PREPROCESS your skybox" ... SWEET !!!

 

Gonna test the performance on mobile next ... Fingers Crossed !!!

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