We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
colorNode
fragmentNode
1 parent 906211f commit 870acafCopy full SHA for 870acaf
examples/jsm/objects/SkyMesh.js
@@ -165,7 +165,7 @@ class SkyMesh extends Mesh {
165
166
} )();
167
168
- const fragmentNode = /*@__PURE__*/ Fn( () => {
+ const colorNode = /*@__PURE__*/ Fn( () => {
169
170
// constants for atmospheric scattering
171
const pi = float( 3.141592653589793238462643383279502884197169 );
@@ -234,7 +234,7 @@ class SkyMesh extends Mesh {
234
material.depthWrite = false;
235
236
material.vertexNode = vertexNode;
237
- material.fragmentNode = fragmentNode;
+ material.colorNode = colorNode;
238
239
}
240
0 commit comments