# \#script

**URL:** https://discourse.threejs.org/tag/script/1397.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [Made a Blender script for batch baking lightmaps to optimize models for Threejs](https://discourse.threejs.org/t/made-a-blender-script-for-batch-baking-lightmaps-to-optimize-models-for-threejs/82346)

<div class="topic-metadata">

**Author:** [@techinz](https://discourse.threejs.org/u/techinz)\
**Replies:** 0\
**Last updated:** [May 9, 2025, 11:29pm UTC](https://discourse.threejs.org/t/made-a-blender-script-for-batch-baking-lightmaps-to-optimize-models-for-threejs/82346 "2025-05-09T23:29:03Z")

</div>

Just wanted to share a little side script I put together while working on my galaxy portfolio. It saved me a lot of time with lightmap baking, when optimizing it. I got tired of manually baking lightmaps for each obj…

---

## [3js not recognized when within script file](https://discourse.threejs.org/t/3js-not-recognized-when-within-script-file/48245)

<div class="topic-metadata">

**Author:** [@hermann](https://discourse.threejs.org/u/hermann)\
**Replies:** 0\
**Last updated:** [February 20, 2023, 10:26am UTC](https://discourse.threejs.org/t/3js-not-recognized-when-within-script-file/48245 "2023-02-20T10:26:14Z")

</div>

I am trying to install the latest version of 3js. I go by the directions on the 3js website, here: https://threejs.org/docs/index.html#manual/en/introduction/Installation I am doing part: “Install from CDN or static h…
