Parameters used to set the specularFactor
(f32
) and specularColorFactor
(vec3f
) values.
Optional
specularTexture?: ShaderTextureDescriptorSpecular texture descriptor (mixing both specular color in the RGB
channels and specular intensity in the A
channel) to use if any.
Optional
specularFactorTexture?: ShaderTextureDescriptorSpecular intensity texture descriptor (using the A
channel) to use if any.
Optional
specularColorTexture?: ShaderTextureDescriptorSpecular color texture descriptor (using the RGB
channels) to use if any.
specularFactor
(f32
) and specularColorFactor
(vec3f
) values set.
Set the
specularFactor
(f32
) andspecularColorFactor
(vec3f
) values from the material specular variables and eventual specular textures.