فهرست منبع

fix saturation

sunag 7 سال پیش
والد
کامیت
4611ec7f00
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      examples/webgl_materials_nodes.html

+ 1 - 1
examples/webgl_materials_nodes.html

@@ -435,7 +435,7 @@
 
 							// extended syntax ( only for NodeMaterial )
 
-							if ( useNodeMaterial ) {
+							if ( useNodeMaterial && useMap ) {
 
 								mtl.map = new THREE.ColorAdjustmentNode(
 									new THREE.TextureNode( mtl.map ),