GLSL material + vertex colour


Can we do GLSL material + vertex colour in the game engine?

I want to paint some vertex colours to simulate ambient occulsion/shadows on my environments.

thanks in advance

Yes you can, enable vcol paint in the material and set the blending mode of your color maps to ‘multiply’. I’m not sure why it works like this, but it does works.

Thanks for that tip. I was about to start a thread asking the exact same thing. :slight_smile:

works perfectly - thank you!