0
Corrigé

Shader forge produces errors

Beck Sebenius il y a 11 ans mis à jour par Freya Holmér (Developer) il y a 11 ans 0

Not sure if this is intentional or not. I could see it being a feature, to let you know that your node graph is incorrect.


Here is the example I have used to produce a shader with errors:

Lerp (Vector4, Normal Vect., [null]) => Diffuse


It seems as though leaving out an interpolation value for the lerp should default to 0. I sometimes do this in other shader editors to cancel out functionality quickly for testing or debugging.

Solution

Solution
Corrigé
This behaviour was sorted a long time ago. Shaders don't compile anymore when required inputs are missing
Solution
Corrigé
This behaviour was sorted a long time ago. Shaders don't compile anymore when required inputs are missing