• Welcome to PiBoSo Official Forum. Please login or sign up.
 
March 28, 2024, 11:03:24 AM

News:

World Racing Series beta14 available! :)


3d grass colour map

Started by h106frp, January 22, 2020, 08:56:38 PM

Previous topic - Next topic

h106frp

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.

PiBoSo


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.
"La perfezione non è il nostro obiettivo, è la nostra tendenza".

h106frp

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.