Cyanilux / URP_ShaderGraphCustomLighting

Some custom lighting functions/sub-graphs for Shader Graph, Universal Render Pipeline
MIT License
541 stars 61 forks source link

shadows not working #14

Closed ventoline closed 1 year ago

ventoline commented 1 year ago

image the teal is the original shader, the red my implementation (to rule out issues with the project of scene). I implemented my toon shader, added the ramp and specular wihtout any issues but the shadow map and baked/subtractive GI dont seem effective : I have reproduced the shadergraph in a very similar subgraph below, am I missing something?

image

ventoline commented 1 year ago

I figured my mistake, made the wrong connection!