|
@@ -5,6 +5,7 @@ import BasicEnvironmentNode from '../lighting/BasicEnvironmentNode.js';
|
|
|
import BasicLightMapNode from '../lighting/BasicLightMapNode.js';
|
|
import BasicLightMapNode from '../lighting/BasicLightMapNode.js';
|
|
|
import BasicLightingModel from '../functions/BasicLightingModel.js';
|
|
import BasicLightingModel from '../functions/BasicLightingModel.js';
|
|
|
import { transformedNormalView, normalView } from '../accessors/NormalNode.js';
|
|
import { transformedNormalView, normalView } from '../accessors/NormalNode.js';
|
|
|
|
|
+import { diffuseColor } from '../core/PropertyNode.js';
|
|
|
|
|
|
|
|
const _defaultValues = /*@__PURE__*/ new MeshBasicMaterial();
|
|
const _defaultValues = /*@__PURE__*/ new MeshBasicMaterial();
|
|
|
|
|
|
|
@@ -53,6 +54,12 @@ class MeshBasicNodeMaterial extends NodeMaterial {
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ setupOutgoingLight() {
|
|
|
|
|
+
|
|
|
|
|
+ return diffuseColor.rgb;
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
setupLightingModel() {
|
|
setupLightingModel() {
|
|
|
|
|
|
|
|
return new BasicLightingModel();
|
|
return new BasicLightingModel();
|