Exemple #1
0
 public PBRSpecularGlossinessTextureReference(float smoothnessScale, TextureOrColor smoothness, Texture diffuse)
     : base(TextureSemantic.PBRSpecularGlossiness)
 {
     SmoothnessScale = smoothnessScale;
     Smoothness      = smoothness;
     Diffuse         = diffuse;
 }
 public PBRDiffuseTextureReference(TextureOrColor specular, TextureOrColor smoothness, float smoothnessScale) :
     base(TextureSemantic.PBRDiffuse)
 {
     Specular        = specular;
     Smoothness      = smoothness;
     SmoothnessScale = smoothnessScale;
 }
 public SpecularGlossinessShaderArguments()
 {
     PBRSpecular = new TextureOrColor(null, Color.black);
 }