PiBoSo Official Forum

GP Bikes => Support => Topic started by: h106frp on January 22, 2020, 08:56:38 PM

Title: 3d grass colour map
Post by: h106frp on January 22, 2020, 08:56:38 PM
How is the final colour of the grass derived from the base grass texture and the colour map? Does the colour map use the alpha channel for mixing?

Thank you.
Title: Re: 3d grass colour map
Post by: PiBoSo on January 23, 2020, 10:04:37 PM

If the colour map is set, then the final colour of the 3D grass is generated multiplying the map colour by the 3D grass texture colour.
This means that usually the colour map is a scaled-down version of the ground grass texture, while the 3D grass texture is grayscale.

Of course if the colour map is missing then the 3D grass texture is rendered directly.
Title: Re: 3d grass colour map
Post by: h106frp on January 23, 2020, 11:27:25 PM
Thank you for the reply. I had tried the grayscale grass image but got a bit of an odd result, with the concept confirmed I will give it another try.