Exemple #1
0
 /// <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 };
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LightPoint"/> class.
 /// </summary>
 public LightPoint()
 {
     Radius = 1.0f;
     Shadow = new LightStandardShadowMap {
         Importance = LightShadowImportance.Low
     };
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LightPoint"/> class.
 /// </summary>
 public LightPoint()
 {
     Radius = 1.0f;
     Shadow = new LightStandardShadowMap
     {
         Size = LightShadowMapSize.Small
     };
 }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LightPoint"/> class.
 /// </summary>
 public LightPoint()
 {
     Radius = 1.0f;
     Shadow = new LightStandardShadowMap
     {
         Size = LightShadowMapSize.Small
     };
 }
Exemple #5
0
 /// <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
     };
 }
Exemple #6
0
 /// <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;
     Shadow = new LightStandardShadowMap()
     {
         Size = LightShadowMapSize.Medium,
         BiasParameters =
         {
             DepthBias = 0.001f,
         }
     };
 }
Exemple #8
0
 /// <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,
         },
     };
 }
Exemple #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LightPoint"/> class.
 /// </summary>
 public LightPoint()
 {
     Radius = 1.0f;
     Shadow = new LightStandardShadowMap() { Importance = LightShadowImportance.Low };
 }