Question by
shved54415 · Jun 11, 2020 at 11:13 AM ·
shaderspritespriterenderergraphvector graphics
Get a Color from the Sprite Renderer in the Shader Graph using a Vector Sprite. Unity 2019.4.0f1.
Hello, i need to get a color from the Sprite Renderer in the Shader graph using a Vector Sprite (not Textured Sprite).
I used the Vertex Color node, but it doesn't work for the Vector Sprite.
So, how can i get it? Help me please.
photo-2020-06-11-14-12-46.jpg
(85.4 kB)
photo-2020-06-11-13-50-19.jpg
(87.1 kB)
Comment
Answer by BAIZOR · Aug 04, 2020 at 10:01 PM
Just use _Color and _MainTex properties
annotation-2020-08-05-010301.jpg
(20.6 kB)