-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension KHR_materials_specular #208
Comments
I wonder if this extension for the Unity glTF/glb importer has moved forward at all. The Blender glTF exporter (in Blender 4.* at least) does not seem to include an earlier way to tick a box to avoid using the PBR materials extensions. |
According to https://docs.unity3d.com/Packages/com.unity.cloud.gltfast@6.1/manual/features.html this isn't even planned for the built-in pipeline. That seems an odd thing to omit. |
Thanks for raising that concern. The rationale behind this is the following: The build-in glTF shader(s) are based on the built-in Standard shader. Those don't have the concept of specular factor or texture. That doesn't mean one could add them, but I shied away from that as it involves a considerable amount of work (think testing all platforms and graphics APIs). Combined with the uncertain support for built-in led me to decide to not prioritize bringing specular to built-in. Of course that's not a decision that cannot be overthrown. Contributions are always welcome! |
For the urp pipeline, when will support for this material be provided? |
In short: No immediate plans. Hopefully we can focus on materials early next year. Explanation: hth |
Add support for extension KHR_materials_specular
This extension adds two parameters to the metallic-roughness material: specular and specularColor.
specular allows users to configure the strength of the specular reflection in the dielectric BRDF. A value of zero disables the specular reflection, resulting in a pure diffuse material. The metal BRDF is not affected by the parameter.
specularColor changes the F0 color of the specular reflection in the dielectric BRDF, allowing artists to use effects known from the specular-glossiness material (KHR_materials_pbrSpecularGlossiness) in the metallic-roughness material.
The text was updated successfully, but these errors were encountered: