diff --git a/com.unity.render-pipelines.high-definition/Runtime/Sky/VisualEnvironment.cs b/com.unity.render-pipelines.high-definition/Runtime/Sky/VisualEnvironment.cs index 77330b9298a..d369fc25f95 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/Sky/VisualEnvironment.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/Sky/VisualEnvironment.cs @@ -180,7 +180,7 @@ public override int GetHashCode() /// Returns interpolated value from the visual environment. /// The camera containing the volume stack to evaluate /// The value for this parameter. - public float GetValue(HDCamera camera) + public virtual float GetValue(HDCamera camera) { if (value.mode == WindOverrideMode.Custom) return value.customValue; @@ -239,7 +239,7 @@ public override void Interp(WindParamaterValue from, WindParamaterValue to, floa /// Returns interpolated value from the visual environment. /// The camera containing the volume stack to evaluate /// The value for this parameter. - public float GetValue(HDCamera camera) + public override float GetValue(HDCamera camera) { // Multiply mode is not supported for wind orientation if (value.mode == WindOverrideMode.Multiply)