# \#attributes

**URL:** https://discourse.threejs.org/tag/attributes/1349.md

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

---

## [Does geometry.computeVertexNormals() use weighted normals?](https://discourse.threejs.org/t/does-geometry-computevertexnormals-use-weighted-normals/87203)

<div class="topic-metadata">

**Author:** [@torrent](https://discourse.threejs.org/u/torrent)\
**Replies:** 2\
**Last updated:** [September 26, 2025, 9:38pm UTC](https://discourse.threejs.org/t/does-geometry-computevertexnormals-use-weighted-normals/87203 "2025-09-26T21:38:00Z")

</div>

I understand that when calculating vertex normals, one can get the “weighted” average of normals attached to a vertex versus “unweighted” average of normals. With a “weighted” average, “bigger” triangles have a higher we…

---

## [TSL: How do I set a \`Vector3\` attribute on a geometry and access it from within a TSL node?](https://discourse.threejs.org/t/tsl-how-do-i-set-a-vector3-attribute-on-a-geometry-and-access-it-from-within-a-tsl-node/87156)

<div class="topic-metadata">

**Author:** [@torrent](https://discourse.threejs.org/u/torrent)\
**Replies:** 0\
**Last updated:** [September 23, 2025, 10:30pm UTC](https://discourse.threejs.org/t/tsl-how-do-i-set-a-vector3-attribute-on-a-geometry-and-access-it-from-within-a-tsl-node/87156 "2025-09-23T22:30:14Z")

</div>

Let’s say I have 10 geometries, and each geometry has a single Vector3 value associated with it called velocity. Each geometry has a different velocity value. I also have a MeshBasicNodeMaterial with some TSL nodes that…

---

## [Color array changes after applying CSG](https://discourse.threejs.org/t/color-array-changes-after-applying-csg/70389)

<div class="topic-metadata">

**Author:** [@AshhadDevLab](https://discourse.threejs.org/u/AshhadDevLab)\
**Replies:** 4\
**Last updated:** [September 10, 2024, 12:26pm UTC](https://discourse.threejs.org/t/color-array-changes-after-applying-csg/70389 "2024-09-10T12:26:34Z")

</div>

I am applying csg using three-bvh-csg on a .glb model, the issue is that the .glb model has colors on it and I want to keep the colors even after the csg has been applied. Here is the code responsible for applying the c…

---

## [Need help on simple three-bvh-csg operations](https://discourse.threejs.org/t/need-help-on-simple-three-bvh-csg-operations/69471)

<div class="topic-metadata">

**Author:** [@SINDHU\_M](https://discourse.threejs.org/u/SINDHU_M)\
**Replies:** 3\
**Last updated:** [August 19, 2024, 7:29pm UTC](https://discourse.threejs.org/t/need-help-on-simple-three-bvh-csg-operations/69471 "2024-08-19T19:29:01Z")

</div>

Hi, I was trying to do simple three-bvh-csg operations like subractions, hollow intersections, using inbuilt Evaluator, subraction,intersection functions. I’m stuck on the evaluator function on aAttr.array.constructor,wh…

---

## [Is the "attributes" property found in the PlaneGeometry object a new feature (after r124)?](https://discourse.threejs.org/t/is-the-attributes-property-found-in-the-planegeometry-object-a-new-feature-after-r124/44610)

<div class="topic-metadata">

**Author:** [@MeJayEss](https://discourse.threejs.org/u/MeJayEss)\
**Replies:** 1\
**Last updated:** [November 12, 2022, 8:44am UTC](https://discourse.threejs.org/t/is-the-attributes-property-found-in-the-planegeometry-object-a-new-feature-after-r124/44610 "2022-11-12T08:44:01Z")

</div>

@prisoner849 gave me a killer CodePen that shows how to do a great looking laser scan. Here’s the forum thread that talks about it: I just integrated the code into my ThreeJS scene. There is this bit of code in the e…
