Vertices Engine  v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
Loading...
Searching...
No Matches
VerticesEngine.Graphics.vxShadowEffect Class Reference
Inheritance diagram for VerticesEngine.Graphics.vxShadowEffect:
VerticesEngine.Graphics.vxShader

Public Member Functions

 vxShadowEffect (Effect effect)
 
- Public Member Functions inherited from VerticesEngine.Graphics.vxShader
 vxShader (Effect effect)
 

Static Public Member Functions

static IEnumerable< Vector2 > poissonKernel ()
 
- Static Public Member Functions inherited from VerticesEngine.Graphics.vxShader
static void PrintParameterValues (Effect effect)
 
static object GetParameterValue (EffectParameter Parameter)
 

Public Attributes

EffectParameter ShadowViewProjection
 
EffectParameter DepthBias
 
EffectParameter World
 

Static Public Attributes

static Color[] ShadowSplitColors
 The shadow split colors.
 
static float[,] ShadowDepthBias
 The shadow depth bias.
 

Properties

static Vector2[] PoissonKernel [get]
 Gets the poisson kernel.
 
static float[] PoissonKernelScale [get]
 The Poisson Kernel Scale.
 

Additional Inherited Members

- Protected Member Functions inherited from VerticesEngine.Graphics.vxShader
override void Dispose (bool disposing)
 

Member Data Documentation

◆ ShadowDepthBias

float [,] VerticesEngine.Graphics.vxShadowEffect.ShadowDepthBias
static
Initial value:
=
{
{ 2.5f, 0.00009f },
{ 2.5f, 0.00009f },
{ 2.5f, 0.0009f },
{ 2.5f, 0.0009f }
}

The shadow depth bias.

◆ ShadowSplitColors

Color [] VerticesEngine.Graphics.vxShadowEffect.ShadowSplitColors
static
Initial value:
=
{
new Color(255, 0, 0, 255),
new Color(0, 255, 0, 255),
new Color(0, 0, 255, 255),
new Color(160, 32, 240, 255)
}

The shadow split colors.

Property Documentation

◆ PoissonKernel

Vector2 [] VerticesEngine.Graphics.vxShadowEffect.PoissonKernel
staticget

Gets the poisson kernel.

An array of Two Dimensional Vectors (Vector2's) that define the poisson kernel.

It returns the following values.

public static IEnumerable<Vector2> poissonKernel()
{
return new[]
{
new Vector2(-0.326212f, -0.405810f),
new Vector2(-0.840144f, -0.073580f),
new Vector2(-0.695914f, 0.457137f),
new Vector2(-0.203345f, 0.620716f),
new Vector2( 0.962340f, -0.194983f),
new Vector2( 0.473434f, -0.480026f),
new Vector2( 0.519456f, 0.767022f),
new Vector2( 0.185461f, -0.893124f),
new Vector2( 0.507431f, 0.064425f),
new Vector2( 0.896420f, 0.412458f),
new Vector2(-0.321940f, -0.932615f),
new Vector2(-0.791559f, -0.597710f)
};
}

The documentation for this class was generated from the following file: