So I tried that and of course the result sucked So, I was thinking, is there any way to turn the background on when transmission renders its texture, and then back off for the final render?
yup, onBeforeRender = function( renderer ) { var isTransmissionPass = !!renderer.getRenderTarget(); does it for me, thanks!
2 Likes
does using material.envMap=hdriTexture
also work?
nah this is added on top of what passes through the glass, so white + envmap = still white here
1 Like