|
@@ -3,6 +3,8 @@ float metalnessFactor = metalness;
|
|
|
#ifdef USE_METALNESSMAP
|
|
|
|
|
|
vec4 texelMetalness = texture2D( metalnessMap, vUv );
|
|
|
- metalnessFactor *= texelMetalness.r;
|
|
|
+
|
|
|
+ // reads channel B, intended to be used with a combined OcclusionRoughnessMetallic (RGB) texture
|
|
|
+ metalnessFactor *= texelMetalness.b;
|
|
|
|
|
|
#endif
|