View Single Post
  #5  
Old 04-14-2011, 05:05 AM
JvdBosch JvdBosch is offline
Member
 
Join Date: Sep 2006
Posts: 36
You can also put the same texture in another map channel and repeat it on a larger scale, possible even rotated.

Code:
                    tex = node.getTexture(unit=0)
                    node.texture(tex,unit=1)
                    node.texblend(0.2,unit=1)
                    trans = viz.Transform()
                    trans.setScale([0.2,0.2,0.2])
                    trans.setAxisAngle(vizmat.EulerToAxisAngle(0,0,45))
                    node.texmat(trans,unit=1)
Reply With Quote