public FarawayEffect() : base("FarawayEffect") { this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture"); this.actualOpacity = new SemanticMappedSingle(this.effect.Parameters, "ActualOpacity"); this.ActualOpacity = 1f; }
public CubemappedEffect() : base("CubemappedEffect") { this.cubemap = new SemanticMappedTexture(this.effect.Parameters, "CubemapTexture"); this.forceShading = new SemanticMappedBoolean(this.effect.Parameters, "ForceShading"); this.Pass = LightingEffectPass.Main; }
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 GlitchyPostEffect() : base("GlitchyPostEffect") { this.glitchTexture = new SemanticMappedTexture(this.effect.Parameters, "GlitchTexture"); this.instanceData = new SemanticMappedMatrixArray(this.effect.Parameters, "InstanceData"); this.SimpleGroupPrepare = true; }
public FastBlurEffect() : base("FastBlurEffect") { this.texelSize = new SemanticMappedVector2(this.effect.Parameters, "TexelSize"); this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture"); this.blurWidth = new SemanticMappedSingle(this.effect.Parameters, "BlurWidth"); this.direction = new SemanticMappedVector2(this.effect.Parameters, "Direction"); this.effect.Parameters["Weights"].SetValue(new float[5] { 0.08812122f, 0.1675553f, 0.1369112f, 0.09517907f, 0.05629372f }); this.effect.Parameters["Offsets"].SetValue(new float[5] { 0.0f, -0.01529978f, -0.03565004f, -0.05588228f, -0.07593089f }); this.BlurWidth = 1f; }
public LitTexturedVertexColored() : base("DefaultEffect_LitTexturedVertexColored") { this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture"); this.textureEnabled = new SemanticMappedBoolean(this.effect.Parameters, "TextureEnabled"); this.specularEnabled = new SemanticMappedBoolean(this.effect.Parameters, "SpecularEnabled"); }
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 BurnInPostEffect() : base("BurnInPostEffect") { this.acceptColor = new SemanticMappedVector3(this.effect.Parameters, "AcceptColor"); this.acceptColor.Set(new Vector3(0.9333333f, 0.0f, 0.5529412f)); this.oldFrameBuffer = new SemanticMappedTexture(this.effect.Parameters, "OldFrameTexture"); this.newFrameBuffer = new SemanticMappedTexture(this.effect.Parameters, "NewFrameTexture"); }
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 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 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 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 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 AnimatedPlaneEffect() : base("AnimatedPlaneEffect") { this.animatedTexture = new SemanticMappedTexture(this.effect.Parameters, "AnimatedTexture"); this.ignoreFog = new SemanticMappedBoolean(this.effect.Parameters, "IgnoreFog"); this.fullbright = new SemanticMappedBoolean(this.effect.Parameters, "Fullbright"); this.alphaIsEmissive = new SemanticMappedBoolean(this.effect.Parameters, "AlphaIsEmissive"); this.ignoreShading = new SemanticMappedBoolean(this.effect.Parameters, "IgnoreShading"); this.sewerHax = new SemanticMappedBoolean(this.effect.Parameters, "SewerHax"); this.Pass = LightingEffectPass.Main; }
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; }
public ProjectedNodeEffect() : base("ProjectedNodeEffect") { this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture"); this.textureSize = new SemanticMappedVector2(this.effect.Parameters, "TextureSize"); this.viewportSize = new SemanticMappedVector2(this.effect.Parameters, "ViewportSize"); this.cubeOffset = new SemanticMappedVector3(this.effect.Parameters, "CubeOffset"); this.pixPerTrix = new SemanticMappedSingle(this.effect.Parameters, "PixelsPerTrixel"); this.noTexture = new SemanticMappedBoolean(this.effect.Parameters, "NoTexture"); this.complete = new SemanticMappedBoolean(this.effect.Parameters, "Complete"); this.Pass = LightingEffectPass.Main; }
public TrileEffect() : base("TrileEffect") { this.textureAtlas = new SemanticMappedTexture(this.effect.Parameters, "AtlasTexture"); this.blink = new SemanticMappedBoolean(this.effect.Parameters, "Blink"); this.unstable = new SemanticMappedBoolean(this.effect.Parameters, "Unstable"); this.tiltTwoAxis = new SemanticMappedBoolean(this.effect.Parameters, "TiltTwoAxis"); this.shiny = new SemanticMappedBoolean(this.effect.Parameters, "Shiny"); this.instanceData = new SemanticMappedVectorArray(this.effect.Parameters, "InstanceData"); this.InEditor = this.EngineState.InEditor; this.Pass = LightingEffectPass.Main; this.SimpleGroupPrepare = true; this.material.Opacity = 1f; }
public GomezEffect() : base("GomezEffect") { this.animatedTexture = new SemanticMappedTexture(this.effect.Parameters, "AnimatedTexture"); this.silhouette = new SemanticMappedBoolean(this.effect.Parameters, "Silhouette"); this.background = new SemanticMappedSingle(this.effect.Parameters, "Background"); this.colorSwap = new SemanticMappedBoolean(this.effect.Parameters, "ColorSwap"); this.redSwap = new SemanticMappedVector3(this.effect.Parameters, "RedSwap"); this.blackSwap = new SemanticMappedVector3(this.effect.Parameters, "BlackSwap"); this.whiteSwap = new SemanticMappedVector3(this.effect.Parameters, "WhiteSwap"); this.yellowSwap = new SemanticMappedVector3(this.effect.Parameters, "YellowSwap"); this.graySwap = new SemanticMappedVector3(this.effect.Parameters, "GraySwap"); this.noMoreFez = new SemanticMappedBoolean(this.effect.Parameters, "NoMoreFez"); this.Pass = LightingEffectPass.Main; }
public BasicPostEffect() : base("BasicPostEffect") { this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture"); }
public SkyBackEffect() : base("SkyBackEffect") { this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture"); }
public FishEyeEffect() : base("ScreenSpaceFisheye") { this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture"); this.intensity = new SemanticMappedVector2(this.effect.Parameters, "Intensity"); }
public Textured() : base("DefaultEffect_Textured") { this.textureEnabled = new SemanticMappedBoolean(this.effect.Parameters, "TextureEnabled"); this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture"); }
public CausticsEffect() : base("CausticsEffect") { this.animatedTexture = new SemanticMappedTexture(this.effect.Parameters, "AnimatedTexture"); this.nextFrameTextureMatrix = new SemanticMappedMatrix(this.effect.Parameters, "NextFrameData"); }
public CloudShadowEffect() : base("CloudShadowEffect") { this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture"); }
public ScanlineEffect() : base("ScanlineEffect") { this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture"); }
public LightmapEffect() : base("LightmapEffect") { this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture"); this.shadowPass = new SemanticMappedBoolean(this.effect.Parameters, "ShadowPass"); }
public FakePointSpritesEffect() : base("FakePointSpritesEffect") { this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture"); this.viewScale = new SemanticMappedSingle(this.effect.Parameters, "ViewScale"); }
public MatrixEffect() : base("MatrixEffect") { this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture"); this.maxHeight = new SemanticMappedSingle(this.effect.Parameters, "MaxHeight"); }