Sorry, I just noticed that you said in the first line already that you enabled Light Probes & Ambient
.
The current version of the Spine/Sprite/Vertex Lit
shader does not support Light Probes since it uses the "LightMode" = "Vertex"
and not
"LightMode" = "ForwardBase"
lighting mode. It only simulates the three-color gradient Ambient Light. The easiest solution would be to switch to the Spine/Sprite/Pixel Lit
shader.
You could however also change the shader code accordingly if you would like to use the Spine/Sprite/Vertex Lit
shader:
Change the following line in SpritesVertexLit.shader
:
Tags { "LightMode" = "Vertex" }
to
Tags { "LightMode" = "ForwardBase" }
And this complete block in SpriteVertexLighting.cginc
, function calculateAmbientLight
to only a single line call to ShadeSH9
:
#if defined(_SPHERICAL_HARMONICS)
return ShadeSH9(half4(normalWorld, 1.0));
#else // !_SPHERICAL_HARMONICS
If you don't see any updates, be sure to modify SpritesVertexLit.shader
last so that the includes are also recompiled.