I'm trying to recreate a cell shader I made in amplify in unity. I've been mostly doing this by double checking nodes are the same space or effect by plugging them into diffuse in godot and custom lighting in unity.
However I'm having some issues with light Attenuation.
I'm plugging Attenuation directly into the diffuse node like this.
and while I would expect to just see soft falloff between point lights and direction lights I'm getting this
Honestly I'm not even sure where to start with this. Is there a step I'm missing here where I need to blend something else with camera view or something?
In unity when I plug the Light Attenuation node into custom lighting it smoothly layers the lights. Is there a way I can get this effect out of this node?
Thanks in advance.