Skip to content

Some HDRI environments are fully black in r181.0 and r181.1 #32304

@nkallen

Description

@nkallen

Description

There appears to be an issue with some specific HDRIs where they appear fully black. Attached is one such HDRI. The issue is not in r180 I'm fairly certain. It was introduced in r181 and persists into r181.1

I saw this issue which is maybe related but does not appear to be fixed.

#32225

Image

Reproduction steps

  1. The jsfiddle reproduces this behavior. I'm a bit confused by it so let me explain what the jsfiddle is doing.

It has 3 different HDRIs. It setInterval updates the environment every 3 seconds, alternating between the environments. You can see two spheres with different material properties. Depending on the environment, one of the two spheres is black. It shouldn't be black. The reason I use two spheres is one of them has a very low roughness and one has a high roughness. The problem seems to affect high-roughness materials mostly.

Not only that, if you change the order that the HDRIs are loaded, for example if you do

const urls = [url3, url2, url1];

rather than

const urls = [url1, url2, url3];

The results are slightly different, implying there is a side-effect somewhere.

I don't think this is a bug in my code. Are you guys able to take a look? Thanks!!!

Live example

Screenshots

No response

Version

r181.1

Device

No response

Browser

No response

OS

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions