Hello,
I am blending textures on a .vzf face added using body.addFace. This worked pretty well until the artist started using facegen, which wants to generate multiple texture files for the face. Using the blend example, I am blending using code like:
Code:
self.blend = viz.add('multitexblend.fp')
self.VizFaceObject.apply(self.blend)
self.NeutralTextureFileName = file1
self.Texture1 = viz.add(textureFile1)
self.Texture2 = viz.add(textureFile2)
self.VizFaceObject.texture(self.Texture1)
self.VizFaceObject.texture(self.Texture2, '', 1)
self.blend.param(0,0)
However, this replaces all the textures in the face (so in my particular case, the eyeball texture is replaced with the texture I am setting on the face . . .)
So, is there a way to blend only the skin texture? And if so, how do I access it?
Thanks,
Christian