/// <summary> /// Initializes a new instance of the <see cref="LightSpot"/> class. /// </summary> public LightSpot() { Range = 3.0f; AngleInner = 30.0f; AngleOuter = 35.0f; Shadow = new LightStandardShadowMap() { Importance = LightShadowImportance.Medium }; }
/// <summary> /// Initializes a new instance of the <see cref="LightPoint"/> class. /// </summary> public LightPoint() { Radius = 1.0f; Shadow = new LightStandardShadowMap { Importance = LightShadowImportance.Low }; }
/// <summary> /// Initializes a new instance of the <see cref="LightPoint"/> class. /// </summary> public LightPoint() { Radius = 1.0f; Shadow = new LightStandardShadowMap { Size = LightShadowMapSize.Small }; }
/// <summary> /// Initializes a new instance of the <see cref="LightSpot"/> class. /// </summary> public LightSpot() { Range = 3.0f; AngleInner = 30.0f; AngleOuter = 35.0f; Shadow = new LightStandardShadowMap() { Size = LightShadowMapSize.Medium, BiasParameters = { DepthBias = 0.001f, } }; }
/// <summary> /// Initializes a new instance of the <see cref="LightSpot"/> class. /// </summary> public LightSpot() { Range = 3.0f; AngleInner = 30.0f; AngleOuter = 35.0f; UVOffset = Vector2.Zero; UVScale = Vector2.One; Shadow = new LightStandardShadowMap() { Size = LightShadowMapSize.Medium, BiasParameters = { DepthBias = 0.001f, }, }; }
/// <summary> /// Initializes a new instance of the <see cref="LightPoint"/> class. /// </summary> public LightPoint() { Radius = 1.0f; Shadow = new LightStandardShadowMap() { Importance = LightShadowImportance.Low }; }