WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Texture node3d along with lighting effect (https://forum.worldviz.com/showthread.php?t=4498)

angice 02-18-2013 01:50 PM

Texture node3d along with lighting effect
 
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:
Code:

node.appearance(viz.TEXMODULATE)
This should enable lighting with textures.


All times are GMT -7. The time now is 08:47 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC