Hello,
Has anyone experienced that the Main Light Direction shadergraph node outputs an inverted vector inside the simulator?
Hello,
Has anyone experienced that the Main Light Direction shadergraph node outputs an inverted vector inside the simulator?
Looks like this was an oversight on our part. We’ll fix the issue in an upcoming release, but it’s probably worth noting that A. the coordinate space of the direction is Unity world space, and B. we currently just take the first light that matches the conditions for the PolySpatial Lighting node, regardless of whether it’s directional. In other words, you may experience issues with the node if you have multiple lights.