I’m trying to get lighting working using Forward Rendering on tilemaps/sprites but for some reason point lights seem to not light in a sphere. Anyone have any clues as to why? Here is a re-creation of the problem using the 2D template.
To repro:
-
Enable Forward Rendering in Project Settings
-
Remove the min screen radius for lights (set to 0.0f)
-
Change all tile map materials to the default lit engine material (this is just a normal lit material taking in vertex color with some constants for roughness/spec)
-
Place a point light in your scene and observe that only half of point light is lighting as if it was a spot light.
I’ve attached some images of the issue of the front and backside. Note the pivot point is the same for both pictures. This showcases that on the front side of the sprite the point light is not lighting above the pivot where on the back it is but wont light below the pivot. Would love some help on this issue.