예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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");
 }
예제 #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");
 }
예제 #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;
 }
예제 #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");
 }
예제 #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;
 }
예제 #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");
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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);
 }
예제 #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;
 }
 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;
 }
예제 #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;
 }
예제 #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);
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #28
0
 public BasicPostEffect()
   : base("BasicPostEffect")
 {
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
 }
예제 #29
0
 public SkyBackEffect()
   : base("SkyBackEffect")
 {
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
 }
예제 #30
0
 public FishEyeEffect()
     : base("ScreenSpaceFisheye")
 {
     this.texture   = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
     this.intensity = new SemanticMappedVector2(this.effect.Parameters, "Intensity");
 }
예제 #31
0
 public Textured()
   : base("DefaultEffect_Textured")
 {
   this.textureEnabled = new SemanticMappedBoolean(this.effect.Parameters, "TextureEnabled");
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
 }
예제 #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");
 }
예제 #33
0
 public CausticsEffect()
   : base("CausticsEffect")
 {
   this.animatedTexture = new SemanticMappedTexture(this.effect.Parameters, "AnimatedTexture");
   this.nextFrameTextureMatrix = new SemanticMappedMatrix(this.effect.Parameters, "NextFrameData");
 }
예제 #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;
 }
예제 #35
0
 public FishEyeEffect()
   : base("ScreenSpaceFisheye")
 {
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
   this.intensity = new SemanticMappedVector2(this.effect.Parameters, "Intensity");
 }
예제 #36
0
 public BasicPostEffect()
     : base("BasicPostEffect")
 {
     this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
 }
예제 #37
0
 public CloudShadowEffect()
   : base("CloudShadowEffect")
 {
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
 }
예제 #38
0
 public ScanlineEffect()
     : base("ScanlineEffect")
 {
     this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
 }
예제 #39
0
 public LightmapEffect()
     : base("LightmapEffect")
 {
     this.texture    = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
     this.shadowPass = new SemanticMappedBoolean(this.effect.Parameters, "ShadowPass");
 }
예제 #40
0
 public LightmapEffect()
   : base("LightmapEffect")
 {
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
   this.shadowPass = new SemanticMappedBoolean(this.effect.Parameters, "ShadowPass");
 }
예제 #41
0
 public FakePointSpritesEffect()
     : base("FakePointSpritesEffect")
 {
     this.texture   = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
     this.viewScale = new SemanticMappedSingle(this.effect.Parameters, "ViewScale");
 }
예제 #42
0
 public FakePointSpritesEffect()
   : base("FakePointSpritesEffect")
 {
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
   this.viewScale = new SemanticMappedSingle(this.effect.Parameters, "ViewScale");
 }
예제 #43
0
 public CausticsEffect()
     : base("CausticsEffect")
 {
     this.animatedTexture        = new SemanticMappedTexture(this.effect.Parameters, "AnimatedTexture");
     this.nextFrameTextureMatrix = new SemanticMappedMatrix(this.effect.Parameters, "NextFrameData");
 }
예제 #44
0
 public CloudShadowEffect()
     : base("CloudShadowEffect")
 {
     this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
 }
예제 #45
0
 public MatrixEffect()
   : base("MatrixEffect")
 {
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
   this.maxHeight = new SemanticMappedSingle(this.effect.Parameters, "MaxHeight");
 }
예제 #46
0
 public MatrixEffect()
     : base("MatrixEffect")
 {
     this.texture   = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
     this.maxHeight = new SemanticMappedSingle(this.effect.Parameters, "MaxHeight");
 }
예제 #47
0
 public Textured()
     : base("DefaultEffect_Textured")
 {
     this.textureEnabled = new SemanticMappedBoolean(this.effect.Parameters, "TextureEnabled");
     this.texture        = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
 }