if spine animation is in front of light, it was dark.how to let spine using the brighter side lighting to make looks better?

Related Discussions
...

To achieve brighter side lighting for your Spine animation in Unity using URP, you can modify the shader to ensure it lights from the desired direction. You can create a custom shader or modify an existing one to use the absolute value of the dot product for lighting calculations, which allows lighting from both sides. Here's an example of how you can modify the shader:

half3 LightingLambertLitFromBehind(half3 lightColor, half3 lightDir, half3 normal) {
   half NdotL = saturate(abs(dot(normal, lightDir)));
   return lightColor * NdotL;
}

#ifdef _LIT_FROM_BEHIND
#define LightingLambert LightingLambertLitFromBehind
#else
#define LightingLambert LightingLambert
#endif

This modification ensures that the light affects the object from both sides, making it appear brighter even when the light source is behind the animation. You can find more details on shader modifications in the spine-unity Runtime Documentation.

    Spinebot thanks for response,But I haven't learned shader.I can you provide the shader for me?

    @bigasa The Universal Render Pipeline/Spine/Skeleton Lit shader already provides a Double-Sided Lighting property, you can just enable this property to enable back-lighting as well.