# Looking for ideas

**URL:** <https://discourse.threejs.org/t/looking-for-ideas/74836>\
**Category:** Questions\
**Tags:** geometry\
**Created:** [December 5, 2024, 1:34pm UTC](https://discourse.threejs.org/t/looking-for-ideas/74836 "2024-12-05T13:34:59Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Lawrence3DPK](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/lawrence3dpk/32/29184_2.png) [@Lawrence3DPK](https://discourse.threejs.org/u/Lawrence3DPK)\
**Post date:** [December 5, 2024, 2:24pm UTC](https://discourse.threejs.org/t/looking-for-ideas/74836/3 "2024-12-05T14:24:36Z")

</div>

> [@Use GPUComputationRenderer texture for dynamic InstancedMesh objects positions](https://discourse.threejs.org/t/use-gpucomputationrenderer-texture-for-dynamic-instancedmesh-objects-positions/37741/7):
>
> Read the texture with heights in vertex shader and add that value to Y-component of translate values of instanceMatrix. shader.vertexShader = ` uniform sampler2D heightMap; attribute vec2 instUV; varying float vHeight; ${shader.vertexShader} `.replace( `#include \<project_vertex\>`, ` vec4 mvPosition = vec4( transformed, 1.0 ); #ifdef USE\_INSTANCING mat4 im = instanceMatrix; float h = texture2D(heightMap, instUV).r; // read …

---

_[View the full topic](https://discourse.threejs.org/t/looking-for-ideas/74836)._
