Libgdx and Box2DLights - too bright + colors grayed out -


i'm writing game libgdx , box2dlights lighting.

the first problem when lights overlap each other. have directional light on sun , point light on character. when overlap output color way bright. tried changing colors of lights lowering these makes lights useless when there's 1 light(too dark).

my second problem colors bit grayed out(see on screen).

image showing problems - first screen bright, second 1 light(grayed out), , third without lights(this how colors should look).

any ideas how overcome these problems?

problem solved

i asked friend , it's setting diffuse lighting in rayhandler this:

rayhandler.usediffuselight(true); 

everything works now.


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -