#1
|
|||
|
|||
switch off self-illuminating effects of baked textures
Hi,
How do I switch off the self-illumination of a texture? I created four corridor models in 3ds max. The corridors only differ in lighting conditions, i.e., each corridor has lighter and darker sections but apart from that they are all the same. I baked the textures in 3ds max and exported each model to OSGB format. I did not export the lights. The exports look fine in the Vizard Inspector. I then load the models in Vizard. They are all located in the same coordinates with the same orientation. I switch visibility on and off according to how I need, using: Code:
models['cooridor1'].visible(viz.OFF) models['cooridor2'].visible(viz.OFF) models['cooridor3'].visible(viz.OFF) models['cooridor4'].visible(viz.OFF) Code:
models['cooridor1'].visible(viz.ON) models['cooridor2'].visible(viz.ON) models['cooridor3'].visible(viz.ON) models['cooridor4'].visible(viz.ON) This did not do the trick: Code:
models['cooridor1'].disable(viz.LIGHTING) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OSG IVE export 3dmax with baked textures | chris_user | Vizard | 2 | 04-12-2011 10:33 PM |
Multiple Textures for Diffuse and Specularity Shader Issue | shivanangel | Vizard | 1 | 05-11-2009 10:44 AM |