Exemplo n.º 1
0
 public RebootPOSTEffect()
   : base("RebootPOSTEffect")
 {
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
   this.pseudoWorldMatrix = new SemanticMappedMatrix(this.effect.Parameters, "PseudoWorldMatrix");
   this.PseudoWorld = Matrix.Identity;
 }
Exemplo n.º 2
0
 public RebootPOSTEffect()
     : base("RebootPOSTEffect")
 {
     this.texture           = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
     this.pseudoWorldMatrix = new SemanticMappedMatrix(this.effect.Parameters, "PseudoWorldMatrix");
     this.PseudoWorld       = Matrix.Identity;
 }
Exemplo n.º 3
0
 public InstancedMapEffect()
     : base("InstancedMapEffect")
 {
     this.texture        = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
     this.billboard      = new SemanticMappedBoolean(this.effect.Parameters, "Billboard");
     this.cameraRotation = new SemanticMappedMatrix(this.effect.Parameters, "CameraRotation");
     this.instanceData   = new SemanticMappedMatrixArray(this.effect.Parameters, "InstanceData");
 }
Exemplo n.º 4
0
 public MatricesEffectStructure(EffectParameterCollection parameters)
 {
   this.worldViewProjection = new SemanticMappedMatrix(parameters, "Matrices_WorldViewProjection");
   this.worldInverseTranspose = new SemanticMappedMatrix(parameters, "Matrices_WorldInverseTranspose");
   this.world = new SemanticMappedMatrix(parameters, "Matrices_World");
   this.textureMatrix = new SemanticMappedMatrix(parameters, "Matrices_Texture");
   this.viewProjection = new SemanticMappedMatrix(parameters, "Matrices_ViewProjection");
 }
Exemplo n.º 5
0
 public CombineEffect()
     : base("CombineEffect")
 {
     this.rightTexture = new SemanticMappedTexture(this.effect.Parameters, "RightTexture");
     this.leftTexture  = new SemanticMappedTexture(this.effect.Parameters, "LeftTexture");
     this.redGamma     = new SemanticMappedSingle(this.effect.Parameters, "RedGamma");
     this.rightFilter  = new SemanticMappedMatrix(this.effect.Parameters, "RightFilter");
     this.leftFilter   = new SemanticMappedMatrix(this.effect.Parameters, "LeftFilter");
     this.LeftFilter   = new Matrix(0.2125f, 0.7154f, 0.0721f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
     this.RightFilter  = new Matrix(0.0f, 0.0f, 0.0f, 0.0f, 0.2125f, 0.7154f, 0.0721f, 0.0f, 0.2125f, 0.7154f, 0.0721f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
 }
Exemplo n.º 6
0
 public CombineEffect()
   : base("CombineEffect")
 {
   this.rightTexture = new SemanticMappedTexture(this.effect.Parameters, "RightTexture");
   this.leftTexture = new SemanticMappedTexture(this.effect.Parameters, "LeftTexture");
   this.redGamma = new SemanticMappedSingle(this.effect.Parameters, "RedGamma");
   this.rightFilter = new SemanticMappedMatrix(this.effect.Parameters, "RightFilter");
   this.leftFilter = new SemanticMappedMatrix(this.effect.Parameters, "LeftFilter");
   this.LeftFilter = new Matrix(0.2125f, 0.7154f, 0.0721f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
   this.RightFilter = new Matrix(0.0f, 0.0f, 0.0f, 0.0f, 0.2125f, 0.7154f, 0.0721f, 0.0f, 0.2125f, 0.7154f, 0.0721f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
 }
Exemplo n.º 7
0
 public CausticsEffect()
   : base("CausticsEffect")
 {
   this.animatedTexture = new SemanticMappedTexture(this.effect.Parameters, "AnimatedTexture");
   this.nextFrameTextureMatrix = new SemanticMappedMatrix(this.effect.Parameters, "NextFrameData");
 }
Exemplo n.º 8
0
 public CausticsEffect()
     : base("CausticsEffect")
 {
     this.animatedTexture        = new SemanticMappedTexture(this.effect.Parameters, "AnimatedTexture");
     this.nextFrameTextureMatrix = new SemanticMappedMatrix(this.effect.Parameters, "NextFrameData");
 }