KhronosGroup / glTF-Sample-Viewer

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

Wierd behviour of TransmissionTest asset #580

Closed UX3D-haertl closed 5 days ago

UX3D-haertl commented 1 month 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 5 days 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.