Jump to content

Probe "Disco" Error


Go to solution Solved by Josh,

Recommended Posts

Posted

Okay, I think I see what is happening.

The material for the glass has metalness set to 100%, which means it only reflects the environment map or probes. But before the probes are rendered, there is nothing to reflect. Maybe it is a math error or maybe it is reflecting the contents of the cubemaps before anything is rendered, and they just contain random bytes.

I will look more closely at the shader code now, but that is basically what is going on, and the quick fix is to set metalness to 99.

image.thumb.png.3daa6dc0a0e71e4d9329425bdf5aef2c.png

Let's build cool stuff and have fun. :)

  • Solution
Posted

I added a clamp in the lineartosrgb shader functions to make sure the color values are never less than zero, and now it is fine.

  • Thanks 1

Let's build cool stuff and have fun. :)

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.

×
×
  • Create New...