-- LIGHT_PRESET = -- { -- ANIMLIGHT = "AnimLightComponent", -- ANIMATED = "AnimatedComponent", -- ANIMMESHVERTEX = "AnimMeshVertexComponent", -- ATLASANIM = "AtlasAnimationComponent", -- FXBANK = "FxBankComponent", -- MESH3D = "Mesh3DComponent", -- PARTICLE = "ParticleGeneratorComponent", -- TEXTURE = "TextureGraphicComponent", -- TRAIL = "Trail3DComponent", --} -- Usage: -- add a line in this format on the instance data file of your actor -- setLightPresets("EngineData/LightPresets/SampleLightPreset.ilu") -> this will apply the presets on all the graphic components -- setLightPresets("EngineData/LightPresets/SampleLightPreset.ilu",LIGHT_PRESET.ANIMATED) -> this will apply it only on the animatedcomponent -- you can assign one preset per component if you want, or one for all LightPreset = { -- DEFAULT VALUES: -- FrontLightBrightness = 0.0, -- FrontLightContrast = 1.0, -- BackLightBrightness = 0.0, -- BackLightContrast = 1, FrontLightBrightness = 0.4, FrontLightContrast = 0.5, BackLightBrightness = 0.2, BackLightContrast = 0.8, }