2f107db...5202af9
This commit is contained in:
@@ -34,8 +34,8 @@ namespace Barotrauma
|
||||
public const int DefaultBufferSize = 2000;
|
||||
public const int DefaultIndoorsBufferSize = 3000;
|
||||
|
||||
public static Vector2 DistortionScale = new Vector2(0.5f, 0.5f);
|
||||
public static Vector2 DistortionStrength = new Vector2(0.5f, 0.5f);
|
||||
public static Vector2 DistortionScale = new Vector2(2f, 2f);
|
||||
public static Vector2 DistortionStrength = new Vector2(0.25f, 0.25f);
|
||||
public static float BlurAmount = 0.0f;
|
||||
|
||||
public Vector2 WavePos
|
||||
@@ -103,7 +103,6 @@ namespace Barotrauma
|
||||
}
|
||||
else
|
||||
{ WaterEffect.CurrentTechnique = WaterEffect.Techniques["WaterShader"];
|
||||
WaterEffect.Parameters["xBlurDistance"].SetValue(BlurAmount / 100.0f);
|
||||
}
|
||||
|
||||
Vector2 offset = WavePos;
|
||||
|
||||
Reference in New Issue
Block a user