Blindness rework - damaged eyes are now a stylized simulation of legal blindness (#23212)
* blindness rework - damaged eyes now simulate legal blindness * hEY THATS FOR DEMONSTRATION PURPOSES ONLY AAA * attributions * makes eyeclosecomponent adminbus compatible * useshader(null)
This commit is contained in:
@@ -17,5 +17,12 @@ public sealed partial class BlurryVisionComponent : Component
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("magnitude"), AutoNetworkedField]
|
||||
public float Magnitude;
|
||||
|
||||
public const float MaxMagnitude = 3;
|
||||
/// <summary>
|
||||
/// Exponent that controls the magnitude of the effect.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("correctionPower"), AutoNetworkedField]
|
||||
public float CorrectionPower;
|
||||
|
||||
public const float MaxMagnitude = 6;
|
||||
public const float DefaultCorrectionPower = 2f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user