diff --git a/UnitySDK/Assets/TiltBrush/Assets/Brushes/Basic/Embers/Embers.shader b/UnitySDK/Assets/TiltBrush/Assets/Brushes/Basic/Embers/Embers.shader index 56ec29bf..df69491b 100644 --- a/UnitySDK/Assets/TiltBrush/Assets/Brushes/Basic/Embers/Embers.shader +++ b/UnitySDK/Assets/TiltBrush/Assets/Brushes/Basic/Embers/Embers.shader @@ -82,7 +82,8 @@ Category { float fft = (tex2Dlod(_FFTTex, float4(pos.y,0,0,0)).b)*2 + .1; dispVec.y += fft; #endif - return dispVec * kDecimetersToWorldUnits; + // Allow scaling to affect particle speed and distance in toolkit + return dispVec * kDecimetersToWorldUnits * length(unity_ObjectToWorld[0].xyz); } v2f vert (ParticleVertexWithSpread_t v) {