[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Thread Index]
[Monthly Archives] [List Home]

[Virtools] Dynamic Hardware Texture Blending



Title: Message
Hi everybody,
I need to dynamically blend 2 textures, using my GeForce 4 hardware support for that operation (I mean by that : I don't want to use "software" multi-pass rendering).
What I tried : I use material effect/combine 2 textures, and add a channel to the mesh to specify texture coordinates. The blending works ok BUT : to modify the blending factor, I found 2 solutions :
    - Combine mode "Blend Using Diffuse Alpha" and then modify the alpha of the mat : the blending works ok but...to obtain a blending factor = 0, I need to have my material fully transparent !! and that's obviously not what I want..
   - other solution : combine mode "Blend Using Texture Alpha". : then the variation of the alpha of the texture correctly affects blending, and doesn"t affect the transparency of my mat, which is GOOOOD BUT .. it is painfull and expensive to dynamically modify the alpha of a texture cause it is a bitmap !
My question : does anybody knows how to blend 2 textures (not using software multi-pass) with a quick, easy and dynamic control on the blending factor ?
Thx very much,
Arnaud.
 
____________________________________________
Arnaud MUTHELET               SIM TEAM
arnaud@simteam.com            http://www.simteam.com

11 Boulevard Brune - 75014 PARIS - FRANCE
tel: 33.(0)1.45.45.15.55
fax: 33.(0)1.45.45.16.17

____________________________________________
                  SIM TEAM
 un autre regard sur la realite virtuelle

____________________________________________

References: