I’m having trouble using the 2D lighting system with spline shapes. It works correctly with border sprites but is not available for the fill as Sprite shape profile takes a texture for the fill as opposed to a sprite and therefore cannot carry a normal map secondary texture. I noticed this mentioned before a few times on the forum. Is there any chance this will be changed in the future?
Since FillArea uses a Texture (with TextureWrapMode required to be set to Repeat), Secondary Textures are not automatically set for them like Sprites. Please use the MaterialPropertyBlock API to set the NormalMaps.
Unity - Scripting API: MaterialPropertyBlock.SetTexture (unity3d.com)
Please let us know if this helps. Thanks.
Works perfectly. Thank you