Profile image

CustomLightMod

30.9k FlyingPatriot  3 months ago

Downloads

646 downloads
Version 1.0 Tool Map Plugin

A very primitive mod that adds directional light (sun) to all scenes in the game.
Since the vanilla sun is tightly controlled by scripts, attempts to change the lighting value fail.

Here are the console commands:

>>Light.set_enabled false (disable vanilla light)
//CustomLight(Clone)>>Light.set_enabled true (enable custom light)
//CustomLight(Clone)>>Light.set_intensity 0.9 (change custom light intensity)
//CustomLight(Clone)>>Light.set_shadowStrength 0.6 (change custom light shadows strength)
//CustomLight(Clone)>>Light.set_color 0,0,15,0 (change custom light color in RGBA)

I use it for custom maps, that have problems with shading.