Skip to content

Commit ca6b77b

Browse files
committed
Fixed other half of scattering bug
1 parent 9c0ab17 commit ca6b77b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OpenShade/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ private void ApplyPreset(object sender, RoutedEventArgs e)
822822
if (tweak.parameters[2].value == "1")
823823
{
824824
cloudText = cloudText.CommentOut(ref success, "float height = corner.y;", "float4 color = lerp(baseColor, topColor, s);", true);
825-
cloudText = cloudText.ReplaceAll(ref success, "float4 colorIntensity = float4(fColor.r, fColor.g, fColor.b, saturate(alpha)) * color;", "float4 colorIntensity = float4(fRed, fGreen, fBlue, saturate(alpha));");
825+
cloudText = cloudText.ReplaceAll(ref success, "float4 colorIntensity = float4(fColor.r, fColor.g, fColor.b, saturate(alpha)) * color;", "float4 colorIntensity = float4(fColor.r, fColor.g, fColor.b, saturate(alpha));");
826826
}
827827
break;
828828

0 commit comments

Comments
 (0)