Then why not add the missing constructors in mtl_shader_defines.msl
?
I can't reproduce this anymore. I can, however, reproduce a crash when motion blur and the HDRI spheres are enabled. @Jeroen-Bakker Did you make any change related to this?
The crash when using the lookdev HDRI spheres is already been tracked here (#116413), no need to open a separate report. I've updated the description to keep this focused on a single issue.
I think for something like what you describe, compiling a shader is the least of your problems, and something that is already supported anyway. Your example seems to be missing many details, and…
What types of matrix constructors are supported/unsupported in MSL?
If possible, I would do this only for non supported constructors.
So we still can use:
mat3 m = mat3(i, j, k);
but…
I'm not sure taking the perpendicular plane is better than taking the symmetric plane.
What this does is projecting the position onto the yellow planes. ![imagen](/attachments/278afdd8-f7f2-4…
The main cause of this was fixed by 0db6d8a5fca86f52830a7f3d1b857b022264f4e2. I didn't close the issue back then since there was still a remaining issue related to shadow tiles, but that's fixed…