Skip to content

Output .js

bandinopla edited this page Mar 31, 2025 · 1 revision

The emitted file is a javascript file with the tsl setup in it, and it will export the uniforms and mdaterials.

The code running the code in charge of building this file lives in src/export/Script.ts in the toString method.

When the user hits "save" each material node is scanned and asked to writeScript on the generated Script object in src/Editor.ts method save()

output visual format

Clone this wiki locally