0
Pas un bug

Screen space vertical gradient per object

Cédric Sophie il y a 9 ans mis à jour il y a 9 ans 2
Hello, 
I created a shader to have a constant vertical gradient per object (object position and rotation independent).
The shader works perfectly as long as there is only one object using it. If I duplicate the object, the shader "breaks".
Any idea?
Thank you,

Cedric
Image 333

Solution

Solution
Pas un bug
I don't think it has anything to do with the amount of objects, it's probably depending on where it's located relative to the screen. In any case, this is more of a question for the forums, try asking there :)
Solution
Pas un bug
I don't think it has anything to do with the amount of objects, it's probably depending on where it's located relative to the screen. In any case, this is more of a question for the forums, try asking there :)
Thanks for the answer. I'll post it there for sure.