Dragosha / defold-light-and-shadows

Pack of shaders to make light and shadows in Defold.
MIT License
70 stars 7 forks source link

How to control an intensity of a sun light? #1

Closed ProgrammingLife closed 1 year ago

ProgrammingLife commented 1 year ago

Is there a way to make scene extra bright but increasing the sun value? Can't find that controller. I tried to set Color Max to 0.2 and I got dark scene as expected but when I set the value to 100.0 then nothing changes even if I set the value to 1.0.

As well for bulbs. How do I increase an intensity for bulb point lights?

Dragosha commented 1 year ago

Try to set color value in the sun object. https://github.com/Dragosha/defold-light-and-shadows#sun

"Color Max" just limit the final light factor of pixel.

intensity for bulb

color and power.

ProgrammingLife commented 1 year ago

@Dragosha, is there a way to set extremely bright values? For instance, to get a scene almost white colored

ProgrammingLife commented 1 year ago

Oh I didn't know I can use values bigger than 1.0 for color values. That worked!

Thanks, man for the great shaders pack and for your help here!