Parameters used to set the specularFactor (f32) and specularColorFactor (vec3f) values.
OptionalspecularTexture?: ShaderTextureDescriptorSpecular texture descriptor (mixing both specular color in the RGB channels and specular intensity in the A channel) to use if any.
OptionalspecularFactorTexture?: ShaderTextureDescriptorSpecular intensity texture descriptor (using the A channel) to use if any.
OptionalspecularColorTexture?: 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.