Jump to content

Horrible jaggies on reflectionTexture when microSurface < 1


httpfiles
 Share

Recommended Posts

Hello everyone, recently I'm confused with our PBR System, wishing get some help here,  my problem below:

 

This is the different glossiness effects in PHYSICALLY-BASED RENDERING, AND YOU CAN TOO!  by Marmoset

energycompare03.jpg

This is the PBR Glossiness Demo in Playcanvas.

glossiness-playcanvas.thumb.jpg.5eb123044ea62d42923a2fac1cb5d86e.jpg

This is BabylonJS PBR MicroSurface Demo:

pbrmaterialglossiness.jpg

See the jaggies when Glossiness <1 or Microsurface < 1? But in the other PBR Systems there's only a smooth bluring gradient

In almost mobile browser it's even showing horrible mosaics, like this:

58fd96a89d021_newimage-avcy8.thumb.jpg.e273efcd2fd15007b924b45104c6f418.jpg

What happened? And how to avoid it ? Or there's something wrong with our PBR Theory?

Thank you very much!

Link to comment
Share on other sites

Hello, @Sebavan , here is our test result:

 

iOS 10.3.1 + Chrome 57,  The problem only takes place with HDRCubeTexture but not CubeTexture.

58fec88ae69c9_newimage-s8ng5.thumb.jpg.64594300b2e09db98b91587530399eaf.jpg

 

On PC, this is a similar sphere in the other PBR system:

58fed18d475c2_newimage-uxwbq.jpg.1b1f141c37fbdeefa040398c708f5ac5.jpg

and this is in our system:

20170425123220.png.336453f6b45a7b123afb3e5f404b8abc.png

 

Above all ,  the effect of 'Glossiness/Microsurface < 1' on PC is nearly acceptable, but on mobile browsers which is not quite correct.

Link to comment
Share on other sites

Yep this is a known issue we ll address pretty soon (upcoming couple of months).

currently your best bet on ios or mac is to use preprocessed cube map like here:

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

A good explanation of the issue is available here:

https://doc.babylonjs.com/overviews/physically_based_rendering_master#seamless-cubemap

I let you know as soon as we have a better way to adress the blur.

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