Geometry nodes in blender 3.0 beta - help with instance material color

Hi, I am trying to create a voxel effect where an image texture is displayed in voxels rather than pixels (so each instanced cube is a single color, just like a single pixel is a one color in a regular texture). To perfectly describe the effect, take a look at the last answer (answer 4) on this post here:

The answer describes how to achieve this effect in earlier versions of blender (I think 2.93) however the solution does not work in blender 3.0 beta. Can someone offer advice how to apply a texture to a geometry in such a way that uses the instanced objects position as texture coordinates? Not the interpolated values between vertices, but simply the points at which the objects are instanced. One color per instanced object.

Thank you!

1 Like