KhronosGroup / glTF-Sample-Viewer

Physically-Based Rendering in glTF 2.0 using WebGL
Apache License 2.0
1.29k stars 238 forks source link

Wierd behviour of TransmissionTest asset #580

Closed UX3D-haertl closed 1 month ago

UX3D-haertl commented 2 months ago

If IBL and point lights are disabled: grafik

If IBL is disabled, the roughness texture looks too bright: grafik It should also change while moving the camera around it, but it does not. (The assets without transmission texture seem to work)

UX3D-haertl commented 1 month ago

High roughness for transmission looks up a small mipmap of a rendered texture without transmission. Since there is emissive light in the scene it is blended into the mipmap. The same problem occurs if the background is non black -> If you zoom in far enough that the emissive elements/background is not visible, the illumination disappears.