Simple water material using nodes (BGE)

This is water material for BGE. It is for flowing water like river, waterfall etc. The direction of flow is determined by UV. It’s not really detailed because you need water, but it doesn’t need to slow all game when you look at it, right?

Attachments (117 KB)

Interesting. Where is the ‘flow’ value coming from? I added some animation using ideas from the tutorial below. Don’t look at it through the camera as it’s not the best angle. Not perfect but getting there. lan


water_material.blend (1.03 MB)

It’s coming from point lamp far away, “Point”. It has program of motion forward so it gets more far and far away — that’s the value.