示例#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 };
 }
示例#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
     };
 }
示例#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
     };
 }
示例#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
     };
 }
示例#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
     };
 }
示例#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,
         }
     };
 }
示例#7
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,
         }
     };
 }
示例#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,
         },
     };
 }
示例#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 };
 }