We’re attempting to upgrade from 4.1.alpha to 4.2.beta and we’re noticing a change in how refractions are working. I notice there’s a new subsurface configuration, but is there any documentation on what changed specifically around refraction and setting up the refraction parameters? We see strange blocking/pixelization and colors look different. Is there a playground with refraction that uses this new object?
It’s hard to set up as a Playground, but I can show you some screenshots:
The model in blue is refracting, but it’s also allowing some translucency. In the white version (my local version) the transparency appears to be broken so it’s refracting but not transparently.
Material is set to alpha blend and test and combine
Material has translucency enabled and link refraction with translucency
Material has alphaFromAlbedo = true
Using 4.1.alpha with the same settings produces the blue result, while 4.2 products the white result. Any ideas? I’m sure it’s a single setting somewhere that’s throwing it off.
could you try changing the refractionIndex by 1 / refractionIndex ? i think we fixed an issue about this where the index of refraction was setup wrongly before ?
Using 4.1 I can see the blue sphere refracting through the green sphere. Using 4.2, the refraction seems really oversized and distorted. Hopefully, I’m not crazy because this has been really confusing.
There’s still one difference, which is that in the older version we get specular highlights on a refracted surface while in 4.2.beta, to get a similar look I have to enable clearcoat. Any ideas what that’s about?