0

Matrix4x4 parameters not exposed to Materials

Guessy 8 ár síðan 0

Matrix4x4 properties are not exposed in the material, which is to say they do not appear in the Properties block in code and cannot be set using MaterialPropertyBlocks. I don't actually know when the blocks started supporting Matrix4x4 or if they always did, but it would be nice to see this supported in Shader Forge so that a material doesn't have to be instanced to set a matrix.


(Attempting to create Matrix4x4s in the Code node also floods the console with "Invalid component count check of custom value type: Matrix4x4", but that's a separate issue)