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 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"); }
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; }
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"); }
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 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 LitVertexColored() : base("DefaultEffect_LitVertexColored") { this.specularEnabled = new SemanticMappedBoolean(this.effect.Parameters, "SpecularEnabled"); }
public Textured() : base("DefaultEffect_Textured") { this.textureEnabled = new SemanticMappedBoolean(this.effect.Parameters, "TextureEnabled"); 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"); }