Original Post
Hi,
I''m amazed I haven''t needed to do this before, but anyways..
What I''d like to achieve is to blend 4 textures together, each with a different weight i.e.
(tex1 * w1) + (tex2 * w2) + (tex3 * w3) + (tex4 * w4)
where w1 + w2 + w3 + w4 = 1 (or 255), depending how things are stored.
Ideally, I''d like to do this in one pass and I''m open to using vertex and pixel shaders.
Appologies in advance if this has been discused before - I tried to search but somethings not working right at the moment, all I got was an error.
Many thanks,
T