docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MaterialSpecular

    This extension allows configuring the specular reflection.

    Inheritance
    object
    MaterialSpecular
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Gltfast.Objects
    Assembly: Unity.Cloud.Gltfast.dll
    Syntax
    [MovedFrom(true, "GLTFast.Schema", "glTFast", null)]
    public class MaterialSpecular

    Properties

    SpecularColorFactor

    The F0 color of the specular reflection (linear RGB).

    Declaration
    [JsonIgnore]
    public Color SpecularColorFactor { get; set; }
    Property Value
    Type Description
    Color
    See Also
    https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_specular

    SpecularColorTexture

    A texture that defines the F0 color of the specular reflection, stored in the RGB channels and encoded in sRGB. This texture will be multiplied by specularColorFactor.

    Declaration
    [JsonPropertyName("specularColorTexture")]
    public TextureInfo SpecularColorTexture { get; set; }
    Property Value
    Type Description
    TextureInfo
    See Also
    https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_specular

    SpecularFactor

    The strength of the specular reflection.

    Declaration
    [JsonIgnore]
    public float SpecularFactor { get; set; }
    Property Value
    Type Description
    float
    See Also
    https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_specular

    SpecularTexture

    A texture that defines the strength of the specular reflection, stored in the alpha (A) channel. This will be multiplied by specularFactor.

    Declaration
    [JsonPropertyName("specularTexture")]
    public TextureInfo SpecularTexture { get; set; }
    Property Value
    Type Description
    TextureInfo
    See Also
    https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_specular

    See Also

    https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_specular
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)