Answer the question
In order to leave comments, you need to log in
How to make darkness and light source in 2D Unity game?
It is necessary to make complete darkness on the stage.
It has a character who will play the role of a lantern (Point Light).
Played with Window > Lighting > Scene, made the character a light source, but nothing works. What am I doing wrong and what should I do?
Unity version: 5.6.4
Answer the question
In order to leave comments, you need to log in
Window > Lighting > Scene
are ambient settings, realtime lighting generation (shadows and all) and light baking. where did you "make the character a light source"??
take the scene, remove all light sources. in the lighting settings - remove Ambient and other global illumination, if not needed. (read the description in the documentation of who is responsible for what)
add a light source to the character.
don't forget to make the light Realtime and the environment it interacts with - shouldn't be static baked already.
start with a simple empty scene with cubes. no matter 2d or 3d
and do not forget that there are versions in the unit - which are very different, so either indicate yourself or a screenshot of the editor (you can usually see it if you do not cut the window frame)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question