# InstancedBufferGeometry & glsl -\> uv texture question

**URL:** <https://discourse.threejs.org/t/instancedbuffergeometry-glsl-uv-texture-question/44483>\
**Category:** Questions\
**Tags:** instancedbuffergeometry\
**Created:** [November 9, 2022, 7:18am UTC](https://discourse.threejs.org/t/instancedbuffergeometry-glsl-uv-texture-question/44483 "2022-11-09T07:18:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![midw](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@midw](https://discourse.threejs.org/u/midw)\
**Post date:** [November 9, 2022, 7:18am UTC](https://discourse.threejs.org/t/instancedbuffergeometry-glsl-uv-texture-question/44483/1 "2022-11-09T07:18:30Z")

</div>

Hello hi,  
I’d like to ask you a question about threejs Instant Buffer Geometry & glsl.

 ![t_q_02.PNG](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/d/7/d7b179511376d6808efabcdd47db3098623c1234.jpeg)  
 ![t_q_01.PNG](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/1/f/1fc5fe83d4981564f6bb890b41915f8311b2fcdf.jpeg)

The screenshot above is what the Blender editor window.  
As you can see, the instanced particles have a color value according to the texture coordinates uv of a mesh.  
only need to check the “From Instancer” function in the Texture coordinate that is the material node of the blender.  
(super simple)

I want to make the same result as Blender with glsl shader in threejs.  
I’ve seen and tested quite a few examples for this, but I haven’t realized it yet.  
If there is an example or code or hints like this, I would like to know.
