Shader Graph Animated material not working on UI Images
My Shader animation works fine on Sprite Renderer but not working when I attach the material to the UI image. Please help me to figure out why :|
Unity 2019.4.9f1
Universal Render Pipeline v7.3.1
Download here: AnimatedSharerGraph.shadergraph
Thanks
Answer by ba55yunky · Jan 22, 2021 at 06:58 AM
yeah, just ran into the same issue, worth noting that it display fine in the scene view but not on game view
Answer by patrickryancrotty · Jan 23, 2021 at 08:36 PM
I was having the exact same problem but just figured something out that works for me.
When you create a shader in shader graph, make sure to use the "2d Renderer" option (you can then pick lit, or unlit). It's right there above unlit graph when you go to create a new shader.
Your answer
Follow this Question
Related Questions
Masking material 0 Answers
Unable to edit grey ,,locked,, Materials 3 Answers
Change alpha on material with custom shader 0 Answers
Slime shader (Fall Guys like material) 0 Answers
[ShaderGraph] Position in object space, different in Play and Edit modes 0 Answers