Geser
03-22-2006, 11:38 AM
Hello!
I have the terrain and water. Near terrain's coastline i want to have foam in the water.
I can draw mask bitmap and mix 2 materials - water and foam. The mask selects waterplane's area around terrain, where is the foam. But if I will change terrain, then I would need to do mask again. Can I use functions or may be another methods for masking places where foam should be? Help very much appreciated!
I have the terrain and water. Near terrain's coastline i want to have foam in the water.
I can draw mask bitmap and mix 2 materials - water and foam. The mask selects waterplane's area around terrain, where is the foam. But if I will change terrain, then I would need to do mask again. Can I use functions or may be another methods for masking places where foam should be? Help very much appreciated!
