# Is it possible to vary material parameters for a BufferGeometry?

**URL:** <https://discourse.threejs.org/t/is-it-possible-to-vary-material-parameters-for-a-buffergeometry/48126>\
**Category:** Questions\
**Tags:** materials, geometry\
**Created:** [February 16, 2023, 5:21pm UTC](https://discourse.threejs.org/t/is-it-possible-to-vary-material-parameters-for-a-buffergeometry/48126 "2023-02-16T17:21:49Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![prisoner849](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/prisoner849/32/535_2.png) [@prisoner849](https://discourse.threejs.org/u/prisoner849)\
**Post date:** [February 17, 2023, 9:12am UTC](https://discourse.threejs.org/t/is-it-possible-to-vary-material-parameters-for-a-buffergeometry/48126/9 "2023-02-17T09:12:54Z")

</div>

Create buffer attributes, add them to geometry and process them in modified material’s shaders.  
For example: [Using shader x, y, z coordinates relative to the tilted object and not the scene in Three JS - #3 by prisoner849](https://discourse.threejs.org/t/using-shader-x-y-z-coordinates-relative-to-the-tilted-object-and-not-the-scene-in-three-js/43795/3)

And also: [three.js examples](https://threejs.org/examples/?q=buffer#webgl_buffergeometry_custom_attributes_particles)

---

_[View the full topic](https://discourse.threejs.org/t/is-it-possible-to-vary-material-parameters-for-a-buffergeometry/48126)._
