Anisotropy with ClusteredLightContainer bug

Using a ClusteredLightContainer in a scene that contains materials with anisotropy enabled results in the following error:

FRAGMENT SHADER ERROR: 0:863: ‘clearcoatOut’ : undeclared identifier

The same error occurs whether I use WebGL2 or WebGPU.

minimum repro: Babylon.js Playground

I apologize if this is a known issue or limitation.

Thank you for this great framework!

1 Like

Thanks for reporting, it’s a bug, here’s the fix:

2 Likes

Thank you for the quick fix. I’m looking forward to the release!