Hello!
Please, advice me simple way to modify box2d lighting result. Libgdx. Isometric projection tiles.
Excluding and including box2dlights rendering.
I’ve made box2dlights generate lights for my floor only and the problem is copying light level from floor to walls upwards pixel by pixel.
Modification must be done by drawing algorithm directly to some instance like framebuffer. I don’t know.
Tried to get finished texture from box2lights by rayHandler.getLightMapTexture(). But it has to be at first positioned, resized, flipped properly, then inserted in framebuffer(??), modified how i want and then maybe processed in shaders.
Box2dlights does much but reading source code does not help me because I’m not familiar with framebuffers\meshes\textures and graphics in general.
Considered modifying box2lights source code to get in the middle of complete rendering process but it also does not seem to be any better.
Experienced opinions, anyone, please.