Official Codebase of 3DCodeVerse
Python
scene lib: patchAerialPerspective's JSDoc says it chains in any order, as patchStandard does
gaoypeng50b7fd0c7ad8
diff --git a/harness/codeverse3d/languages/scene_threejs/starter/src/lib/atmosphere.js b/harness/codeverse3d/languages/scene_threejs/starter/src/lib/atmosphere.jsindex 761684c4..2b7a9944 100644--- a/harness/codeverse3d/languages/scene_threejs/starter/src/lib/atmosphere.js+++ b/harness/codeverse3d/languages/scene_threejs/starter/src/lib/atmosphere.js@@ -565,9 +565,8 @@ const AERIAL_HEAD = [* the sky's own brightness the far field takes on — airlight* (default 0.35; 0 is the pure hue shift, 1 flattens the far field* to the sky).- * @returns {THREE.Material} The same material. Apply it LAST: every- * `patchStandard` owns `onBeforeCompile`, so a second patch on the- * same material replaces this one. Tune later through+ * @returns {THREE.Material} The same material; it chains with other+ * patches in any order. Tune later through* `material.userData.uniforms.uAerialK.value`.*/export function patchAerialPerspective(material, opts = {}) {