Blending and getting an individual texture from a face
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') So, is there a way to blend only the skin texture? And if so, how do I access it? Thanks, Christian |
When applying the texture and fragment program, specify the sub-node that the skin texture is applied to. For example:
Code:
face.apply(blend,'skin_geom') |
Thanks, that works.
Christian |
All times are GMT -7. The time now is 05:39 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC