Beispiel #1
0
 public GlitchyPostEffect()
     : base("GlitchyPostEffect")
 {
     this.glitchTexture      = new SemanticMappedTexture(this.effect.Parameters, "GlitchTexture");
     this.instanceData       = new SemanticMappedMatrixArray(this.effect.Parameters, "InstanceData");
     this.SimpleGroupPrepare = true;
 }
Beispiel #2
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");
 }
 public InstancedArtObjectEffect()
     : base("InstancedArtObjectEffect")
 {
     this.texture           = new SemanticMappedTexture(this.effect.Parameters, "CubemapTexture");
     this.instanceData      = new SemanticMappedMatrixArray(this.effect.Parameters, "InstanceData");
     this.Pass              = LightingEffectPass.Main;
     this.SimpleMeshPrepare = this.SimpleGroupPrepare = true;
 }
 public TrixelParticleEffect()
     : base("TrixelParticleEffect")
 {
     this.texture           = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
     this.instanceData      = new SemanticMappedMatrixArray(this.effect.Parameters, "InstanceData");
     this.Pass              = LightingEffectPass.Main;
     this.SimpleMeshPrepare = this.SimpleGroupPrepare = true;
 }
Beispiel #5
0
 public InstancedStaticPlaneEffect()
     : base("InstancedStaticPlaneEffect")
 {
     this.baseTexture  = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
     this.ignoreFog    = new SemanticMappedBoolean(this.effect.Parameters, "IgnoreFog");
     this.sewerHax     = new SemanticMappedBoolean(this.effect.Parameters, "SewerHax");
     this.instanceData = new SemanticMappedMatrixArray(this.effect.Parameters, "InstanceData");
     this.Pass         = LightingEffectPass.Main;
 }
 public InstancedBlackHoleEffect(bool body)
     : base("InstancedBlackHoleEffect")
 {
     this.baseTexture        = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
     this.isTextureEnabled   = new SemanticMappedBoolean(this.effect.Parameters, "IsTextureEnabled");
     this.instanceData       = new SemanticMappedMatrixArray(this.effect.Parameters, "InstanceData");
     this.currentPass        = body ? this.currentTechnique.Passes["Body"] : this.currentTechnique.Passes["Fringe"];
     this.SimpleGroupPrepare = this.SimpleMeshPrepare = true;
 }
Beispiel #7
0
 public PlaneParticleEffect()
     : base("PlaneParticleEffect")
 {
     this.texture           = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
     this.additive          = new SemanticMappedBoolean(this.effect.Parameters, "Additive");
     this.fullbright        = new SemanticMappedBoolean(this.effect.Parameters, "Fullbright");
     this.instanceData      = new SemanticMappedMatrixArray(this.effect.Parameters, "InstanceData");
     this.Pass              = LightingEffectPass.Main;
     this.SimpleMeshPrepare = this.SimpleGroupPrepare = true;
 }
 public InstancedAnimatedPlaneEffect()
     : base("InstancedAnimatedPlaneEffect")
 {
     this.animatedTexture = new SemanticMappedTexture(this.effect.Parameters, "AnimatedTexture");
     this.ignoreFog       = new SemanticMappedBoolean(this.effect.Parameters, "IgnoreFog");
     this.sewerHax        = new SemanticMappedBoolean(this.effect.Parameters, "SewerHax");
     this.ignoreShading   = new SemanticMappedBoolean(this.effect.Parameters, "IgnoreShading");
     this.instanceData    = new SemanticMappedMatrixArray(this.effect.Parameters, "InstanceData");
     this.frameScale      = new SemanticMappedVector2(this.effect.Parameters, "FrameScale");
     this.Pass            = LightingEffectPass.Main;
 }