Skybox and Lights setup: Difference between revisions

From PSwiki
Jump to navigation Jump to search
No edit summary
Line 28: Line 28:
* Skylight Color: (R=0.988979,G=0.996863,B=1.000000,A=1.000000)
* Skylight Color: (R=0.988979,G=0.996863,B=1.000000,A=1.000000)
* DirectionalLight Intensity: 0.3
* DirectionalLight Intensity: 0.3
== values from 0.7.8 release ==
At noon:
* Skybox Light: 1.0
* Skylight Intensity: 1
* DirectionalLight Intensity: 2
At night:
* Fog Inscattering Color: 0
* Skybox Light: 0.05
* Skylight Intensity: 0.1
* DirectionalLight Intensity: 0.1

Revision as of 22:38, 11 February 2021


Elements contributing to day / night cycle

  • DirectionalLight, actor in the Persistent Level (Yliakum). Casting light globally in a certain direction. Set to Stationary.
    • Intensity
    • Light Color
  • SkyLight, actor in the Persistent Level. Stores the color of the skybox and influence all items in the game with indirect light based on the skybox color. Set to Stationary.
    • Intensity
  • bp_sky, actor in the Persistent Level, which contains all the logic for rain/snow/fog/... , clouds, time of the day, the actual skybox which is a static mesh (dome).
    • Light, scalar parameter on the Material applied to the skybox mesh
  • ExponentialHeightFog, actor in the Persistent Level, managing the fog. Careful to change its color at night, or the skydome will stay lit.
    • Light color

up to 0.7.7 release values

At noon:

  • Fog Inscattering Color: (R=0.313989,G=0.467784,B=0.887923,A=1.000000)
  • Skybox Light: 2.0
  • Skylight Intensity: 1.5
  • Skylight Color: (R=0.853051,G=0.958179,B=1.000000,A=1.000000)
  • DirectionalLight Intensity: 4.965001

At night:

  • Fog Inscattering Color: (R=0.023549,G=0.035084,B=0.066594,A=0.075000)
  • Skybox Light: 0.15
  • Skylight Intensity: 0.1125
  • Skylight Color: (R=0.988979,G=0.996863,B=1.000000,A=1.000000)
  • DirectionalLight Intensity: 0.3


values from 0.7.8 release

At noon:

  • Skybox Light: 1.0
  • Skylight Intensity: 1
  • DirectionalLight Intensity: 2

At night:

  • Fog Inscattering Color: 0
  • Skybox Light: 0.05
  • Skylight Intensity: 0.1
  • DirectionalLight Intensity: 0.1