You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The original shaders followed the phylisophy of wanting 50% brightness at half the range. (LightConeDistance is only the half.) Now we need the full range.
publicconstfloatHeadLightIntensity=250000;// See some sample values: https://docs.unity3d.com/Packages/com.unity.cloud.gltfast@5.2/manual/LightUnits.html
396
+
//public const float HeadLightIntensity = 250000; // See some sample values: https://docs.unity3d.com/Packages/com.unity.cloud.gltfast@5.2/manual/LightUnits.html
397
+
publicconstfloatHeadLightIntensity=4;// Using the old linear attenuation model
396
398
397
399
constfloatLIGHT_INTENSITY_ADJUSTMENT_SPOT=1f;
398
400
constfloatLIGHT_INTENSITY_ADJUSTMENT_POINT=0.08f;// By visual inspection of PlaysetLightTest at nighttime. Probably should be 1 / 4π = 0.08
0 commit comments