tell me how many passes should a shader have at least and what passes?
I’m trying to write my own shader (not a graph shader) and made a pass (Forward) but I see that there is fog in the foreground and the texture is shining through, the shadows are also not visible correctly, and so I think - should there be additional passes or am I calculating incorrectly in this pass?
P.S. - tell me where I can read how exactly to write my own shaders and everything is described in detail, I got a template from some links but it is very difficult to understand because I don’t know what the variables are and I get even more confused when I search through the libraries