When I try playing inside the editor, all my sprite lighting work fine. But when I use mobile preview, I get fully dark mats
Unlit materials work fine, but I need dark effect from the directional light source at some moments. So, how can I fix it?
When I try playing inside the editor, all my sprite lighting work fine. But when I use mobile preview, I get fully dark mats
Unlit materials work fine, but I need dark effect from the directional light source at some moments. So, how can I fix it?
Do you get the same issue when you switch your editor to a different shader preview model? Try moving your lights around. What are the settings on your light? Static, Dynamic or Stationary?
Hi Defale;
Supported Light Types
Mobile platforms only support a subset of the light types available in Unreal Engine. These are:
Stationary Directional Light: Directional Light with Mobility = Stationary. Best quality.
Static Directional Light: Directional Light with Mobility = Static. Best performance (no distance field shadows or sun specular).
Static Point Light: Point Light with Mobility = Static.
Static Spot Light: Spot Light with Mobility = Static.
.