Closed QuackCola closed 1 month ago
if you simple add the Apply TRS node to a graph without connecting anything to any of its inputs. you will get the compiler error below.
Shadergraph should have a more explicit error for missing the vector input rather than just the above.
add the following before var vector = compiler.Result( Vector ); from within the ApplyTrs class
var vector = compiler.Result( Vector );
ApplyTrs class
if ( !Vector.IsValid() ) { return NodeResult.Error( "Missing Vector Input!" ); }
Thanks!
What it is?
if you simple add the Apply TRS node to a graph without connecting anything to any of its inputs. you will get the compiler error below.
Shadergraph should have a more explicit error for missing the vector input rather than just the above.
What should it be?
Solution
add the following before
var vector = compiler.Result( Vector );
from within theApplyTrs class
Result