Exemplo n.º 1
0
 public FarawayEffect()
     : base("FarawayEffect")
 {
     this.texture       = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
     this.actualOpacity = new SemanticMappedSingle(this.effect.Parameters, "ActualOpacity");
     this.ActualOpacity = 1f;
 }
Exemplo n.º 2
0
 public CubemappedEffect()
   : base("CubemappedEffect")
 {
   this.cubemap = new SemanticMappedTexture(this.effect.Parameters, "CubemapTexture");
   this.forceShading = new SemanticMappedBoolean(this.effect.Parameters, "ForceShading");
   this.Pass = LightingEffectPass.Main;
 }
Exemplo n.º 3
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.º 4
0
 public GlitchyPostEffect()
     : base("GlitchyPostEffect")
 {
     this.glitchTexture      = new SemanticMappedTexture(this.effect.Parameters, "GlitchTexture");
     this.instanceData       = new SemanticMappedMatrixArray(this.effect.Parameters, "InstanceData");
     this.SimpleGroupPrepare = true;
 }
Exemplo n.º 5
0
 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;
 }
Exemplo n.º 6
0
 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;
 }
Exemplo n.º 7
0
 public FarawayEffect()
   : base("FarawayEffect")
 {
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
   this.actualOpacity = new SemanticMappedSingle(this.effect.Parameters, "ActualOpacity");
   this.ActualOpacity = 1f;
 }
Exemplo n.º 8
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.º 9
0
 public CubemappedEffect()
     : base("CubemappedEffect")
 {
     this.cubemap      = new SemanticMappedTexture(this.effect.Parameters, "CubemapTexture");
     this.forceShading = new SemanticMappedBoolean(this.effect.Parameters, "ForceShading");
     this.Pass         = LightingEffectPass.Main;
 }
Exemplo n.º 10
0
 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");
 }
Exemplo n.º 11
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.º 12
0
 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;
 }
Exemplo n.º 13
0
 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");
 }
Exemplo n.º 14
0
 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;
 }
Exemplo n.º 15
0
 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");
 }
Exemplo n.º 16
0
 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;
 }
Exemplo n.º 17
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;
 }
Exemplo n.º 18
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;
 }
Exemplo n.º 19
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.º 20
0
 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;
 }
Exemplo n.º 21
0
 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;
 }
Exemplo n.º 22
0
 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;
 }
Exemplo n.º 23
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.º 24
0
 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;
 }
Exemplo n.º 25
0
 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;
 }
Exemplo n.º 26
0
 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;
 }
Exemplo n.º 27
0
 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;
 }
Exemplo n.º 28
0
 public BasicPostEffect()
   : base("BasicPostEffect")
 {
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
 }
Exemplo n.º 29
0
 public SkyBackEffect()
   : base("SkyBackEffect")
 {
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
 }
Exemplo n.º 30
0
 public FishEyeEffect()
     : base("ScreenSpaceFisheye")
 {
     this.texture   = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
     this.intensity = new SemanticMappedVector2(this.effect.Parameters, "Intensity");
 }
Exemplo n.º 31
0
 public Textured()
   : base("DefaultEffect_Textured")
 {
   this.textureEnabled = new SemanticMappedBoolean(this.effect.Parameters, "TextureEnabled");
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
 }
Exemplo n.º 32
0
 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");
 }
Exemplo n.º 33
0
 public CausticsEffect()
   : base("CausticsEffect")
 {
   this.animatedTexture = new SemanticMappedTexture(this.effect.Parameters, "AnimatedTexture");
   this.nextFrameTextureMatrix = new SemanticMappedMatrix(this.effect.Parameters, "NextFrameData");
 }
Exemplo n.º 34
0
 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;
 }
Exemplo n.º 35
0
 public FishEyeEffect()
   : base("ScreenSpaceFisheye")
 {
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
   this.intensity = new SemanticMappedVector2(this.effect.Parameters, "Intensity");
 }
Exemplo n.º 36
0
 public BasicPostEffect()
     : base("BasicPostEffect")
 {
     this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
 }
Exemplo n.º 37
0
 public CloudShadowEffect()
   : base("CloudShadowEffect")
 {
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
 }
Exemplo n.º 38
0
 public ScanlineEffect()
     : base("ScanlineEffect")
 {
     this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
 }
Exemplo n.º 39
0
 public LightmapEffect()
     : base("LightmapEffect")
 {
     this.texture    = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
     this.shadowPass = new SemanticMappedBoolean(this.effect.Parameters, "ShadowPass");
 }
Exemplo n.º 40
0
 public LightmapEffect()
   : base("LightmapEffect")
 {
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
   this.shadowPass = new SemanticMappedBoolean(this.effect.Parameters, "ShadowPass");
 }
Exemplo n.º 41
0
 public FakePointSpritesEffect()
     : base("FakePointSpritesEffect")
 {
     this.texture   = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
     this.viewScale = new SemanticMappedSingle(this.effect.Parameters, "ViewScale");
 }
Exemplo n.º 42
0
 public FakePointSpritesEffect()
   : base("FakePointSpritesEffect")
 {
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
   this.viewScale = new SemanticMappedSingle(this.effect.Parameters, "ViewScale");
 }
Exemplo n.º 43
0
 public CausticsEffect()
     : base("CausticsEffect")
 {
     this.animatedTexture        = new SemanticMappedTexture(this.effect.Parameters, "AnimatedTexture");
     this.nextFrameTextureMatrix = new SemanticMappedMatrix(this.effect.Parameters, "NextFrameData");
 }
Exemplo n.º 44
0
 public CloudShadowEffect()
     : base("CloudShadowEffect")
 {
     this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
 }
Exemplo n.º 45
0
 public MatrixEffect()
   : base("MatrixEffect")
 {
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
   this.maxHeight = new SemanticMappedSingle(this.effect.Parameters, "MaxHeight");
 }
Exemplo n.º 46
0
 public MatrixEffect()
     : base("MatrixEffect")
 {
     this.texture   = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
     this.maxHeight = new SemanticMappedSingle(this.effect.Parameters, "MaxHeight");
 }
Exemplo n.º 47
0
 public Textured()
     : base("DefaultEffect_Textured")
 {
     this.textureEnabled = new SemanticMappedBoolean(this.effect.Parameters, "TextureEnabled");
     this.texture        = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
 }