#I just fixed this same issue today mind
1 messages · Page 1 of 1 (latest)
hello
ok so
there is a tutorial on youtube, which helps with recieving shadows on unlit shaders
✔️ Tested in 2020.3 & 2021.1
Do you have a material that doesn't look quite right in Unity's URP lit shader graph? Or would you like to experiment with stylized art styles with the convenience of the shader graph? In this tutorial, I show how to implement custom lighting, allowing you to solve both those problems. Afterwards, you could extend t...
but if you don't want the headache
of going through the entire thing
ill just send you my material files
and you can slot in your image textures instead
oh yeah if you wouldnt mind
alright ty
try adding this to your project, add the material to your grass object,
and send me ss of the shadergraph, ill tell you where to slot in the stuffs
The basic idea is that
You want to plug in your color / image texture or whatever it is, into this Shadow Catcher Node
before connecting to the Fragment's Base Color
so put the unlit shadow catcher just before the final image goes into the base colour?
yup
ah umm
can you cross check your graph inspector?
make sure precision is set to single, and the material is unlit
ok can you open the subshader?
yeah i am
try once with alpha set to 1?
okay np
try toggling off SSAO?
dang, this is strange
though ssao should not be causing an issue..
dang
maybe there is some thing specific about my implementation then..
have a look through this, he covers it more in depth
Yeah it is very strange
I'll watch the tutorial
Thank you very much for the help though
my implementation worked off this video
dang dude, sorry I couldn't help much
Hope you figure out though
Nah dw about it thank you
i ended up using a different answer after some obscure google searching, i just forced the normals to be facing upwards
and now it works
in a lit shader
i'll keep this fix in mind too if I ever need it in the future