- Home /
Shadergraph (12.1.2) position not applied per object
Hello
It seems this shader I have created with rim lighting is somehow calculating it once and applying to all objects the same way, independently of their rotation and position. The same happens with the shading effect.
The effect seems to be calculated for the object in the left and then applied to the one on the right without taking into consideration its angle with the camera is different. Probably some kind of optimization to not make the calculations all over again, but how do I turn it off and force it to be calculated for each instance?
This is how I am applying the rim:
Your answer
Follow this Question
Related Questions
Make a complex object semi transparent without changing it 2 Answers
Images with gradient poorly managed by Unity 1 Answer
Shadow sprite rotation regardless of the light source 0 Answers
_WorldSpaceLightPos0.xyz always 0 2 Answers
Displaying part of sprite that overlaps with other gameObject 0 Answers