public GlitchyPostEffect() : base("GlitchyPostEffect") { this.glitchTexture = new SemanticMappedTexture(this.effect.Parameters, "GlitchTexture"); this.instanceData = new SemanticMappedMatrixArray(this.effect.Parameters, "InstanceData"); this.SimpleGroupPrepare = true; }
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; }
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; }
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; }