Hi… is there a way (or a best/preferred way) to set up animated sprites so that they’re able to cast real time shadows?
I’ve been attempting to use the attached shadergraph based on this tutorial: Sprite Shadows in Unity - Cast and receive shadows using a SpriteRenderer (https://youtu.be/d_OBjV7c1CY).
I created a quick test project so I could take screenshots to show you what I’m seeing. The shadow appears in the Unity scene window but not when the project is played in the browser.
I’ve probably just got something set up wrong … but I wanted to check-in here first to see if this sort of thing is supported before I carry on banging my head against a wall
Custom shaders (so shadergraph shaders) in needle only support unlit right now meaning lights and shadows dont affect them
Sprites are currently always without shadows but we can add an extra option for it like with regular renderers where you can just enable shadow casting (without the need of an extra shader).
Would that help you?
Wow! I genuinely cannot thank you enough for this, @marwie1. It looks*** utterly BRILLIANT***
BTW, do you dudes ever take any time off? Y’know, for stuff like… sleeping… or eating… Seriously though, the colossal amount of work that you put into all this is downright inspiring, it really is.
@marwie1 @herbst​:cactus: … I’ve just this minute tried the new Sprite Renderer Data Script included in the latest Needle update and IT IS FABULOUS!!!
It works like an absolute DREAM! Thank you so very much for this!