Ambient Light Documentation

From Nexus Mods Wiki
Revision as of 14:01, 25 October 2019 by WarhorseStudios (talk | contribs) (Created page with "<div class="xcontent"><div class="row"><div class="col-xs-12" id="xwikicontent"> == <span>Creation</span> == You can create an ambient light from an ''Entity/Lights/Light'' o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Creation

You can create an ambient light from an Entity/Lights/Light or use a precreated one from DataBase View -> Entity Library/Lights/Standard. It has to have Ambient flag checked. 

Ambient Light Documentation Image1.png

Now, there are two possible ways to set ambient light and both behaves differently: 

  • darkening
  • lightning

Darkening effect

When AttenuationBulbSize is 0, then the ambient light multiplies ambient portion of light by it's diffuse component if it's lower than one. So with diffuse color 255,255,255, you need to set DiffuseMultiplier below 1 to see some effect. Darkening ambient is mainly used for cutscene purposes, where you want perfect control of lighting.

Ambient Light Documentation Image2.png

Lightening effect

When AttenuationBulbSize is above 0, it adds the diffuse component to ambient in radius. That means it always lightens the surrounding no matter how small the values are. Also it works with color. Typical usage is to simulate bounced light from a light source. For example fires have two lights, one direct and one ambient.

Ambient Light Documentation Image3.png