Answer the question
In order to leave comments, you need to log in
How to work with light in LibGDX?
Good day.
I am writing my project - 2D platformer for Android. In general, the basis is already ready (ie the basis of the game itself, the "switch" between states, the idea of the game, etc.) and it remains to start with all sorts of visual effects.
The fact is that I want to make different shadows from the light, but I don’t know how to do it better.
I found a couple of tutorials on Google , but based on them it is also not entirely clear what kind of RayHendler the author uses.
I just can’t understand what kind of RayHendler class is this , which is used when writing light, since my idea does not find this class at all?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question