Hello,
I am using HDRP and have recently been trying out Shader Graph to create a “direction of electric flow or water flow” on some objects. I have watched many videos and am still struggling to understand 1) the nodes themselves, and 2) Why it isn’t working as the videos i follow.
Basically, when i am recreating the shaders from the videos I am not getting the same results. It either partially works with some strange issues or doesn’t work at all. I’ve gotten one to partially work from this video, which is very close to what i am trying to do: (173) How To Create A Progress Fill Shader In Unity | Unity Shader Graph Tutorial - YouTube
I know I just need to mess around with the numerical values a bit to get what i need, once I get it working fully. But my main issue is how it operates. For testing purposes, I have a cylinder that I am trying to fill with a color over time. But the object appears to change values as I move (both scene and game windows). Images for reference:
Just a tad to the right of the player (scene view)
Just a tad left of the player (scene view)
The same thing happens in the game view. If i move back and forward, the object appears to stay the same but if I move laterally it changes. My main guess is that it has something to do with a camera render distance setting, but I hardly work with shaders. Any help is appreciated. Some settings of the Shader and Camera below, let me know if I need to provide any more info.
Thanks internet peoples