Beispiel #1
0
 public ETextureMat() : base(ShaderFactory.Build(BuildinShader.Texture))
 {
     vec3Input.Add(new Tuple <Vector3, string>(new Vector3(0.8f), "Color"));
     textureInput.Add(new Tuple <ETexture, int, string>(null, 0, "TextureVaild"));
 }
Beispiel #2
0
 public ELambertMat() : base(ShaderFactory.Build(BuildinShader.Lambert))
 {
     vec3Input.Add(new Tuple <Vector3, string>(new Vector3(0.05f, 0.05f, 0.05f), "material.ambient"));
     textureInput.Add(new Tuple <ETexture, int, string>(null, 0, "DiffuseTextureVaild"));
     floatInput.Add(new Tuple <float, string>(5.0f, "material.shininess"));
 }
Beispiel #3
0
 public EColorMat() : base(ShaderFactory.Build(BuildinShader.Color))
 {
     vec3Input.Add(new Tuple <Vector3, string>(new Vector3(0.8f, 0.8f, 0.8f), "Color"));
 }
Beispiel #4
0
 public EGammaCorrectionMat() : base(ShaderFactory.Build(BuildinShader.GammaCorrection))
 {
 }
Beispiel #5
0
 public EErrorColorMat() : base(ShaderFactory.Build(BuildinShader.ErrorColor))
 {
 }