multiple textures
Posted: Thu Nov 02, 2006 3:42 pm
I am trying to come up with a way to highlight certain areas of a world object. Say you're walking around on a contour map, and suddenly you want to know how far you can reach or walk in one turn. So, a circular (or some shape) area of the ground beneath your feet is highlighted.
Looking at the API, my first thought is to add a texture of type EMT_TRANSPARENT_ADD_COLOR to the node's material channel 1. The problem I get here is that I want to be able to apply multiple highlights (say your buddy also wants to know how far he can reach), perhaps of different colors, etc. and it looks like there are only two material channels.
Any recommendations?
Looking at the API, my first thought is to add a texture of type EMT_TRANSPARENT_ADD_COLOR to the node's material channel 1. The problem I get here is that I want to be able to apply multiple highlights (say your buddy also wants to know how far he can reach), perhaps of different colors, etc. and it looks like there are only two material channels.
Any recommendations?