fLUnKnhaXYU Posted December 14, 2023 Posted December 14, 2023 sry to bother but , Im having trouble finding how to set the distance for which a light , or its affect , is visible . TY Quote
Azaezel Posted December 16, 2023 Posted December 16, 2023 If you set $pref::useLightFade = true; and define $pref::lightFadeStart $pref::lightFadeEnd (they default to 50 and 75 respectively) It will tell the light system to use the object fade protocols like so: https://github.com/TorqueGameEngines/Torque3D/blob/385143f9e56b09a20753fe66d60ae5b9182e01a0/Engine/source/lighting/advanced/advancedLightBinManager.cpp#L322-L339 + https://github.com/TorqueGameEngines/Torque3D/blob/385143f9e56b09a20753fe66d60ae5b9182e01a0/Engine/source/lighting/advanced/advancedLightBinManager.cpp#L467-L468 + https://github.com/TorqueGameEngines/Torque3D/blob/385143f9e56b09a20753fe66d60ae5b9182e01a0/Engine/source/lighting/advanced/advancedLightBinManager.cpp#L842 Quote
fLUnKnhaXYU Posted December 16, 2023 Author Posted December 16, 2023 Azaezel ! , I greatly appreciate you ! the links send me to a pricing page but , yes , I have a copy of the zipped source files . Quote
fLUnKnhaXYU Posted December 16, 2023 Author Posted December 16, 2023 muuuch better , TY I guess it needs a little more radius to appear like a big flash . I didnt get , exactly , the fade out I expected but , I will proceed with experimentation . thx again Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.