-
-
Notifications
You must be signed in to change notification settings - Fork 239
Description
Description of the bug
Any MeshPhysicalMaterial using transmission has rendering issue when HDR image is seen in refraction : It creates "burning" artifacts.
This appears only when the effectcomposer type is in HalfFloat or Float types. But using none of these types, refraction is ok but everything else has banding.
I don't understand why this happens because reading Three js Renderers sources show that they use Halfloat type texture for refraction renderTarget...
The issue happens for any kinf of effect pass of the postprocessing lib (except RenderPass) (I've tried with saturation, SSAO, ToneMapping etc).
To Reproduce
Please try this codesandbox to reproduce burning artifacts : https://codesandbox.io/s/halffloat-transmission-issue-2j3hr7?file=/src/index.js
Expected behavior
No blue parts (seems segative) as you can see in under screenshot
Screenshots
Library versions used
- Three: 0.146.0
- Post Processing: 6.29.1
Desktop
- OS: Windows
- Browser Chrom
- Graphics hardware: NVIDIA
