![]() |
|
#2
|
|||
|
|||
|
Hi,
I'm not sure what you mean by "overlay". The examples you pointed to apply multiple textures to a mesh and blend them together. This technique is possible within Vizard. To apply multitple textures on a node just do the following: Code:
node.texture(tex1,'',0) #Apply to texture unit 0 (default) node.texture(tex2,'',1) #Apply to texture unit 1 Code:
m = viz.Transform.scale(20,20,1) node.texmat(m,'',1) #Scale texture coordinates of unit 1 (detail texture) Code:
tex.wrap(viz.WRAP_S,viz.REPEAT) tex.wrap(viz.WRAP_T,viz.REPEAT) Code:
node.texblend(0.5,'',1) #Blend texture 1 50% with texture 0 Hope this helps. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|