Nme shader compilation error

Hey guys,

PBRMetallicRoughnessBlock throws shader compilation error just with default parameters while node material build is successful
image

Looks like its regression
Best Regards

Found out that if indexOfRefraction is added, shader is compiled successfully. is it mandatory now? anyway material shouldn’t be compiled if it’s mandatory

No, it’s a bug we fixed last Friday (see NodeMaterial PBR), we are going to generate a new minor version so that the fix is available in the Playground / NPM.

1 Like