Skip to content

Commit 3af500e

Browse files
authored
MeshGouraudMaterial: Deprecate module. (#30314)
1 parent 6dd8854 commit 3af500e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/jsm/materials/MeshGouraudMaterial.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,8 @@ class MeshGouraudMaterial extends ShaderMaterial {
319319

320320
super();
321321

322+
console.warn( 'THREE.MeshGouraudMaterial: MeshGouraudMaterial has been deprecated and will be removed with r183. Use THREE.MeshLambertMaterial instead.' ); // @deprecated r173
323+
322324
this.isMeshGouraudMaterial = true;
323325

324326
this.type = 'MeshGouraudMaterial';

0 commit comments

Comments
 (0)