Skip to content

Commit f7a1c6c

Browse files
committed
Merge pull request #10325 from jonathoncobb/jonathoncobb/proximity-light-flicker
Fix for flickering Proximity Lighting
1 parent dad8b78 commit f7a1c6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/MRTK/Core/Utilities/StandardShader/ProximityLight.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ public void Pulse(float pulseDuration = 0.2f, float fadeBegin = 0.8f, float fade
158158
private void OnEnable()
159159
{
160160
AddProximityLight(this);
161+
UpdateProximityLights(true);
161162
}
162163

163164
private void OnDisable()

0 commit comments

Comments
 (0)