+1
Fixed

Using matrix4x4 in custom code does not put float4x4 in the shader function

Matthew Brong 9 years ago updated by Freya Holmér (Developer) 8 years ago 5

If the matrix4x4 is used in a custom code node the incorrect type is inserted into the shader. This causes a compiler error.

Answer

Answer
Fixed

This has now been fixed in 1.27

when generating a custom function and selecting matrix4x4 as output it actually uses matrix4x4 in the shader code which is not valid code! it's impossible to fix in shader forge, the shader must be edited manually after generating in shader forge (replace matrix4x4 by float4x4)

Answer
Fixed

This has now been fixed in 1.27

thanks, how long will it take to be released?

Not sure. About a week perhaps?