public RebootPOSTEffect() : base("RebootPOSTEffect") { this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture"); this.pseudoWorldMatrix = new SemanticMappedMatrix(this.effect.Parameters, "PseudoWorldMatrix"); this.PseudoWorld = Matrix.Identity; }
public RebootPOSTEffect() : base("RebootPOSTEffect") { this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture"); this.pseudoWorldMatrix = new SemanticMappedMatrix(this.effect.Parameters, "PseudoWorldMatrix"); this.PseudoWorld = Matrix.Identity; }
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"); }
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"); }
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); }
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); }
public CausticsEffect() : base("CausticsEffect") { this.animatedTexture = new SemanticMappedTexture(this.effect.Parameters, "AnimatedTexture"); this.nextFrameTextureMatrix = new SemanticMappedMatrix(this.effect.Parameters, "NextFrameData"); }
public CausticsEffect() : base("CausticsEffect") { this.animatedTexture = new SemanticMappedTexture(this.effect.Parameters, "AnimatedTexture"); this.nextFrameTextureMatrix = new SemanticMappedMatrix(this.effect.Parameters, "NextFrameData"); }