Hello. I have been using the SkyControl utility to create a sky for my game. And I really love it. My only concern is that the sun’s light isn’t strong enough. So, I decided to mult the power of my sun:
sun.setColor(ColorRGBA.White.mult(2));
Before I implemented this control, my sun made the terrain very green and bright, which was lovely. But it looks like the SkyControl overrides the sun’s color for different hours (when it’s afternoon, the color of the sun becomes more orange), and, of course, overrides the mult() value.
I already looked at this thread which is the same problem as my one, but it was not solved.
So I ask, is there a way to change the sun’s intensity? Is there a value on the SkyControl I can change or a method in my game I can do to solve this?
I already tried to change the observer’s latitude, but it doesn’t change the light.
For lighting, this is completely untrue. Brighter light color = brighter light. It’s also untrue for any color material parameters. JME does not clamp anything there.
Colors that are part of textures get clamped because of the texture format itself.
Thanks, normen. By the way I also think the nights are very “bright”: the clouds are white and the ground should be darker. The irony: At day it’s to dark. At night it’s to bright (that rhymed)
So, I downloaded the source code, and there was a class to test the skycontrol. I launched it and there was a slider to change the light’s intensity. So, I looked for the code and I discovered this line: