You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add specular to MeshPhysicalMaterial and GLTFLoader KHR_materials_specular support (mrdoob#22156)
* Add specularStrength and specular to MeshPhysicalMaterial
* GLTFLoader: Add KHR_materials_specular support
* Add specularStrength and specular to GUI in webgl_materials_physical_transmission example
* Update webgl_loader_gltf_transmission example
* Update example screenshot
* MeshPhysicalMaterial: Rename specularStrength and specular to specularIntensity and specularTint
vec3 BRDF_Specular_GGX( const in IncidentLight incidentLight, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float roughness ) {
128
+
vec3 BRDF_Specular_GGX( const in IncidentLight incidentLight, const in vec3 viewDir, const in vec3 normal, const in vec3 f0, const in vec3 f90, const in float roughness ) {
0 commit comments