+1
Corrigé

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

Matthew Brong il y a 9 ans mis à jour par Freya Holmér (Developer) il y a 8 ans 5

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

Solution

Solution
Corrigé

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)

Solution
Corrigé

This has now been fixed in 1.27

thanks, how long will it take to be released?

Not sure. About a week perhaps?