You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refraction (both cubemap and dynamic) can only be used with metalness. Otherwise we get shader compilation errors. Ideally this should work as well, or at least force useMetalness perhaps.
Note that this issues exist and can be reproduce both in engine V2 and V1.
Repros:
engine example Material-refraction, just comment out 'material.useMetalness = true;'
Editor. Create a new material, open Refraction section, and set Refraction value to non-zero.