#Shader Lab Cel-Shader, Recieve Shadows causes weird extra shadows on modeks

1 messages · Page 1 of 1 (latest)

warm owl
#

For some reason if "receive shadows" is on it adds an extra shadow that doesnt work like the cel shader for some reason

#

I can't just turn it off because I need it so it have other object cast shadows on it

#

So what am I supposed to do?

proper lichen
#

do you wanna do it this way or could you opt for shader graph?

warm owl
#

im sticking with lab

#

Heres another example of the problem

#

Notice how the shadow on the left has a gradient unlike the shadow on the arm

proper lichen
#

yeah

warm owl
#

Also doesnt shader graph require URP?

proper lichen
#

you can download shader graph as a package I think

#

but it comes with URP by default

warm owl
#

Ah so it can be used with built in?

#

or what ever the default render is called

proper lichen
#

I am not sure, but you can try, I can't really do it since I'd need to do a new project

#

you could try and download it from the packages

#

if it don't work. just remove it

warm owl
#

i think it does

proper lichen
#

it works?

warm owl
#

i tried it

#

and it does

proper lichen
#

nice

#

though if you do it in Shader Graph, you'll need to use Hlsl instead of shaderlab

#

at least that's what I did

#

had to do

#

uhm for custom functions

#

you can still do stuff without code

#

but for what you want, you will likely need to write a custom function for getting the sources of light

warm owl
#

Screw it sticking to shaderlab

#

The other problem is none of the other guides are using surface shaders

proper lichen
#

I can’t really help you since I don’t know shaderlab

#

I don’t know how to ramp the values either but I do know how to make a just straight up toon shader