|
@@ -938,7 +938,7 @@
|
|
this._defines.RADIANCEOVERALPHA = true;
|
|
this._defines.RADIANCEOVERALPHA = true;
|
|
}
|
|
}
|
|
|
|
|
|
- if ((this.metallic !== undefined && this.metallic != null) || (this.roughness !== undefined && this.roughness != null)) {
|
|
|
|
|
|
+ if ((this.metallic !== undefined && this.metallic !== null) || (this.roughness !== undefined && this.roughness !== null)) {
|
|
this._defines.METALLICWORKFLOW = true;
|
|
this._defines.METALLICWORKFLOW = true;
|
|
}
|
|
}
|
|
|
|
|