3 using SiliconStudio.Core.Mathematics;
5 namespace SiliconStudio.
Paradox.Effects.Modules
12 internal static readonly
ParameterKey<int> ConfigurationIndex = ParameterKeys.New(-1);
47 public static readonly
ParameterKey<Vector3> LightDirectionVS = ParameterKeys.NewDynamic(ParameterDynamicValue.New<
Vector3,
Vector3,
Matrix>(LightDirection, TransformationKeys.WorldView, LightDirectionVSUpdate));
51 var temp = Vector3.TransformNormal(lightDirection, viewProj);
53 lightDirectionVS = temp;
Key of an effect parameter.
Represents a color in the form of rgb.
Keys used for Lighting plugin.
static void LightDirectionVSUpdate(ref Vector3 lightDirection, ref Matrix viewProj, ref Vector3 lightDirectionVS)
Represents a three dimensional mathematical vector.
SiliconStudio.Core.Mathematics.Vector3 Vector3
Represents a 4x4 mathematical matrix.