Page 1 of 1
MoodSettings : Sky/Ambient light
Posted: 31 Jul 2014, 00:28
by TitiShu
I'm making a space mod for SM and comes the part of the lighting... the moodsettings.xml is great but i've a problem :
As i've a black sky the skylight is black... all parts that are not directly lighted by the sun are toooo dark (black)
so is there a way to set a skylight that not depend of the sky (the ambient light doesn't affect the lighting)
Usually (in other software) the skylight and sky are not directly linked we can set a red sky and a green skylight but here (in maniaplanet) it looks that it's impossible... or maybe that i've missed the way to do that
Re: MoodSettings : Sky/Ambient light
Posted: 31 Jul 2014, 10:10
by Fix
No you don't have the possibility to trick the lighting engine this way.
What you can try is to set a very high sky bounce, set a sky not totally black, and lower the exposure values to darken the final image.
note : on the moon, the shadows are very black, because the sky is black.
Re: MoodSettings : Sky/Ambient light
Posted: 31 Jul 2014, 23:54
by TitiShu
Ok Ty this is what i was trying to do...
And an other question about the moon
We can change the height of the sun with latitude, but for the moon it makes a rotation of the moon around the horizon...
As the moon is blocked on the horizon my lighting is a bit strange
Code: Select all
<Mood>
<Light EnableStars="1" Latitude="65" DayTime01="0.15" LocalLightX="2" HelperHdrX="0.2">
<LAmbient Color="d5ffce" Scale="1.18933"/>
<LDirSun Color="000000" Scale="1"/>
<LDirMoon Color="5c7457" Scale="1.8"/>
<T3SpecularLocal ScaleIntens="1" ScaleExponent="1.2"/>
<T3LightMap MaxHDR="1" BounceFactor="4" SkyFactor="4" SkyUseClouds="1"/>
</Light>
<Atmo MoonHdrScale="1" FxSmSelfIllumScaleGamePlay="2">
[...]
_________
And when I use the MoonHdrScale i've some random result, sometimes it change the scale/size of the moon and sometimes it change the illumination of the moon
(trying to reproduce it to take screens)
Re: MoodSettings : Sky/Ambient light
Posted: 01 Aug 2014, 00:37
by Fix
I'm out for some days, I can't look at it right now, sorry. but you can produce some images to illustrate your problem, maybe LuckyBoy can then explain what's happening.
I think the max HDR = 1 can cause some tone mapping oddities (that will make the moon glow "seems to grow".
If your light map has some areas brightly lit and with a value of light stronger than 1, these areas will be clamped to 1, and you can have then a difference of HDR between your other inputs (lightDir value , Sky texture max value, etc...).
you can try a max HDR of 3.
Re: MoodSettings : Sky/Ambient light
Posted: 01 Aug 2014, 01:56
by TitiShu
The big moon wasn't an illusion from the tonemapping... xD
The problem here is that the moon is blocked on the horizon (or rotate on wrong axis) even if I change latitude... and if I change the Daytime, the sun is coming around +/-0.25 until +/-0.9
Code: Select all
<Mood>
<Light EnableStars="1" Latitude="65" DayTime01="0.15" LocalLightX="3" HelperHdrX="0.2">
<LAmbient Color="d5ffce" Scale="1.18933"/>
<LDirSun Color="5c7457" Scale="1.8"/>
<LDirMoon Color="000000" Scale="1"/>
<T3SpecularLocal ScaleIntens="1" ScaleExponent="1.2"/>
<T3LightMap MaxHDR="1" BounceFactor="3" SkyFactor="4" SkyUseClouds="1"/>
</Light>
<Atmo MoonHdrScale="1" FxSmSelfIllumScaleGamePlay="1">
<HdrSun Power="70000">
<Atmo1 Power="30" Color="6c8467" Scale="0"/>
<Atmo2 Power="1" Color="5c7457" Scale="0"/>
</HdrSun>
<Clouds MinRgb="000000" MinRgbX="1" MaxRgb="ffffff" MaxRgbX="1.00003" GodLightIntens="0" SunThroughIntens="0.5">
<EdgeLight>
<Layer0 Power="10" Scale="40"/>
<Layer1 Power="2" Scale="0.5"/>
<Layer2 Power="1" Scale="0.2"/>
</EdgeLight>
</Clouds>
<CloudsX2 MinRgb="ffffff" MinRgbX="0.208006" MaxRgb="ffffff" MaxRgbX="0.812024"/>
<CloudsVortex MinRgb="060709" MaxRgb="171726"/>
<FogMatter Count="0"/>
</Atmo>
<Fog Enabled="1" DepthMin="500" DepthMax="1000" Exponant="0.6" IntensMin="0" IntensMax="1" Color="1f271f">
<Height YBottom="-50" YTop="300" MulBottom="0.91" MulTop="0.5"/>
<Clouds DepthMax="40000" Exponant="1" IntensMax="0.9"/>
<SkyClouds GlobalIntens="0"/>
</Fog>
<Fx>
<T3Bloom StreaksIntens="0.8" StreaksAttenuation="0.5">
<HdrNorm_to_Intens>
<Key In="0" Out="0"/>
<Key In="2" Out="0"/>
<Key In="4" Out="0.1"/>
<Key In="5" Out="0.5"/>
<Key In="30" Out="0.01"/>
</HdrNorm_to_Intens>
</T3Bloom>
<T3ToneMap FilmCurve="Preset3">
<AutoExp MinExposure="0" MaxExposure="1" SecondsToMidFalloff="0.4">
<AvgLumi_to_KeyValue>
<Key In="0.001" Out="0.01"/>
<Key In="0.0025" Out="0.012"/>
<Key In="0.006" Out="0.028"/>
<Key In="0.02" Out="0.1"/>
</AvgLumi_to_KeyValue>
</AutoExp>
</T3ToneMap>
<ColorGrading FileName="ColorGrading01.png" Intensity="0.65"/>
</Fx>
</Mood>