World Position per instance Grass?

You can use the “instance world position” parameter in the shader. Calculate the x/y position modulo 5000 and divide by 5000 to get a U/V value in 0…1 range.
Then sample the cyan/green/gray map with that UV coordinate in the shader.
However, if you just do that, then the texture will be sampled at the coarsest MIP level, which smears all the colors together. You’ll need to use a sampler with MIP mapping turned off and/or fix the MIP level in the sampler node in the material to whatever your appropriate level is (something like 10.)

1 Like