コード例 #1
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;
 }
コード例 #2
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");
 }
コード例 #3
0
ファイル: CubemappedEffect.cs プロジェクト: Zeludon/FEZ
 public CubemappedEffect()
   : base("CubemappedEffect")
 {
   this.cubemap = new SemanticMappedTexture(this.effect.Parameters, "CubemapTexture");
   this.forceShading = new SemanticMappedBoolean(this.effect.Parameters, "ForceShading");
   this.Pass = LightingEffectPass.Main;
 }
コード例 #4
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");
 }
コード例 #5
0
 private DefaultEffect(string effectName)
     : base(effectName)
 {
     this.alphaIsEmissive = new SemanticMappedBoolean(this.effect.Parameters, "AlphaIsEmissive");
     this.fullbright      = new SemanticMappedBoolean(this.effect.Parameters, "Fullbright");
     this.emissive        = new SemanticMappedSingle(this.effect.Parameters, "Emissive");
     this.Pass            = LightingEffectPass.Main;
 }
コード例 #6
0
ファイル: DefaultEffect.cs プロジェクト: tanis2000/FEZ
 private DefaultEffect(string effectName)
   : base(effectName)
 {
   this.alphaIsEmissive = new SemanticMappedBoolean(this.effect.Parameters, "AlphaIsEmissive");
   this.fullbright = new SemanticMappedBoolean(this.effect.Parameters, "Fullbright");
   this.emissive = new SemanticMappedSingle(this.effect.Parameters, "Emissive");
   this.Pass = LightingEffectPass.Main;
 }
コード例 #7
0
ファイル: FoamEffect.cs プロジェクト: Zeludon/FEZ
 public FoamEffect()
   : base("FoamEffect")
 {
   this.timeAccumulator = new SemanticMappedSingle(this.effect.Parameters, "TimeAccumulator");
   this.shoreTotalWidth = new SemanticMappedSingle(this.effect.Parameters, "ShoreTotalWidth");
   this.screenCenterSide = new SemanticMappedSingle(this.effect.Parameters, "ScreenCenterSide");
   this.isEmerged = new SemanticMappedBoolean(this.effect.Parameters, "IsEmerged");
   this.isWobbling = new SemanticMappedBoolean(this.effect.Parameters, "IsWobbling");
 }
コード例 #8
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;
 }
コード例 #9
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;
 }
コード例 #10
0
 public FoamEffect()
     : base("FoamEffect")
 {
     this.timeAccumulator  = new SemanticMappedSingle(this.effect.Parameters, "TimeAccumulator");
     this.shoreTotalWidth  = new SemanticMappedSingle(this.effect.Parameters, "ShoreTotalWidth");
     this.screenCenterSide = new SemanticMappedSingle(this.effect.Parameters, "ScreenCenterSide");
     this.isEmerged        = new SemanticMappedBoolean(this.effect.Parameters, "IsEmerged");
     this.isWobbling       = new SemanticMappedBoolean(this.effect.Parameters, "IsWobbling");
 }
コード例 #11
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;
 }
コード例 #12
0
ファイル: AnimatedPlaneEffect.cs プロジェクト: Zeludon/FEZ
 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;
 }
コード例 #13
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;
 }
コード例 #14
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;
 }
コード例 #15
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;
 }
コード例 #16
0
ファイル: ProjectedNodeEffect.cs プロジェクト: Zeludon/FEZ
 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;
 }
コード例 #17
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;
 }
コード例 #18
0
ファイル: GomezEffect.cs プロジェクト: conankzhang/fez
 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;
 }
コード例 #19
0
ファイル: GomezEffect.cs プロジェクト: tanis2000/FEZ
 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;
 }
コード例 #20
0
ファイル: DefaultEffect.cs プロジェクト: tanis2000/FEZ
 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");
 }
コード例 #21
0
ファイル: DefaultEffect.cs プロジェクト: tanis2000/FEZ
 public LitVertexColored()
   : base("DefaultEffect_LitVertexColored")
 {
   this.specularEnabled = new SemanticMappedBoolean(this.effect.Parameters, "SpecularEnabled");
 }
コード例 #22
0
ファイル: DefaultEffect.cs プロジェクト: tanis2000/FEZ
 public Textured()
   : base("DefaultEffect_Textured")
 {
   this.textureEnabled = new SemanticMappedBoolean(this.effect.Parameters, "TextureEnabled");
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
 }
コード例 #23
0
 public LitVertexColored()
     : base("DefaultEffect_LitVertexColored")
 {
     this.specularEnabled = new SemanticMappedBoolean(this.effect.Parameters, "SpecularEnabled");
 }
コード例 #24
0
 public Textured()
     : base("DefaultEffect_Textured")
 {
     this.textureEnabled = new SemanticMappedBoolean(this.effect.Parameters, "TextureEnabled");
     this.texture        = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
 }
コード例 #25
0
 public LightmapEffect()
     : base("LightmapEffect")
 {
     this.texture    = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
     this.shadowPass = new SemanticMappedBoolean(this.effect.Parameters, "ShadowPass");
 }
コード例 #26
0
ファイル: LightmapEffect.cs プロジェクト: tanis2000/FEZ
 public LightmapEffect()
   : base("LightmapEffect")
 {
   this.texture = new SemanticMappedTexture(this.effect.Parameters, "BaseTexture");
   this.shadowPass = new SemanticMappedBoolean(this.effect.Parameters, "ShadowPass");
 }