I have a transmission material and a reflector in a scene. When the reflector is active, the refraction of the transmission material disappears.
You can see this here if you tilt the model backwards:
https://www.body3d.eu/3D/Cat_Transmission/index.html?reflector=true
Here transmission always works correctly, it is the same file but i have switched off the reflector:
https://www.body3d.eu/3D/Cat_Transmission/index.html?reflector=false
Is this a bug or am I doing something wrong?
What you see is a bug in older versions of three.js
. Please upgrade to at least to 163
which fixed the issue. It seems you are using r157
right now.
PR that fixed the bug: WebGLRenderer: Fix transmission with nested render calls. by Mugen87 · Pull Request #27886 · mrdoob/three.js · GitHub
4 Likes
Thanks it works fine now.
Thanks especially for your work here in the forum. Since I’ve been working with three.js, you’ve provided the solutions to at least 10 of my tricky problems. 
3 Likes