PDA

View Full Version : Texture node3d along with lighting effect


angice
02-18-2013, 01:50 PM
Dear Vizard support,

I am trying to add texture on my surface meshes (node3d objects) with a png file. However, it seems that all the lighting effect, e.g, the shadows at the cavities, doesn't work anymore after the texture is appended. I haven't explored the "shader" very much, I want to start with something easier, so I just wrap a picture on my surface model. Is there anyway to fix that problem, or is there anything I am missing?

Thanks!

farshizzo
03-01-2013, 11:55 AM
Try enabling texture modulation on the node:
node.appearance(viz.TEXMODULATE)
This should enable lighting with textures.