Grass color


27-05-2014 13:40:07

Im using paged geometry grass system and it's working fine. However I have a couple of questions.
I have a semi-infinite world, with random terrain generation and texturing.
Le'ts say that my terrain is composed of two ground textures. I would like to be able to set the grass color depending on the ground texture.
I know that there is a function to set the colormap texture, can this be modified so that instead of providing a fixed color map texture to the grass layer, I provide a procedural color map for each page separately?

Edit: Instead of providing "one" color map for the grass layer, can I provide a color map for "each" page separately?
EDIT2: I fixed the problem! Everytime I post my problem on the forum, my brain magically solves it afterward. :D