Deactivate shadow
-
hey guys
is it possible to deactivate the shadow??
if not how can i change the colour of the suns in a system, because i want that if i fly around an object, that there are no colour differences (dark/bright change)
i want that the colour/texture of an object is everytime still the same in every perspective… -
I would imagine the easiest way to do that would be to match the ambient lighting in each system with the lightsource, but there are sometimes more than one lightsource. You’re not looking at shadows, simply the lightsource being blocked by a solid object. Might look a bit daft though so I would probably try it one system at a time and see how it looks.
Basically in this example open universe/systems/br01/br01.ini
You’re looking for these entries:
[Ambient]
color = 60, 20, 10[LightSource]
nickname = Br01_system_light
pos = 0, 0, 0
color = 253, 230, 180
range = 120000
type = DIRECTIONAL
atten_curve = DYNAMIC_DIRECTIONAmbient is the background lighting, I believe it’s omni-directional so should light all objects from all directions.
Lightsource is usually the light shining from a sun if one is present in a system, this is directional and gets cancelled out by a solid object.
Make the ambient color setting the same as the lightsource color setting and see if that gives you the result you’re looking for. If I’m wrong or there’s another way some boffin will probably be along shortly.
-
hmmmm….i think it works but i cant see it well because i have different textures for the Asteroids, the dynamics should be white, and the static near black, but it looks so:
after 90° turn
and white is more blue than white, maybe the reflection??
EDIT:
ok fixed it, i changes the color to 0, 0, 0 for ambient an light source but the shadow is still there and it is still more blue then white
-
Asteroid fields have their own ambient settings etc in the relevant field file.
Solar/asteroids then the relevant field ini file.
Should find entries like this:[Field]
diffuse_color = 220, 220, 180
ambient_color = 120, 120, 120
ambient_increase = 70, 40, 30Told you you might not get exactly what you were looking for, often you just open a bigger can of worms when altering such things.