Model2 lighting.


(Juan) #1

Is there anyway to get a dynamic model lit similar to a static one? I tried using lightingdiffuse as suggested in the Q3world thread, but it seems like its lit the wrong way up and I’m not sure I’m using it correctly.

There are lights directly above the landers which are not shown.

The lefthand lander is static with no shader the righthand one is model2 with a separately referenced model, shader and renamed texture.

This is the shader

models/mapobjects/m2_lander/luv3
{

{
	map models/mapobjects/m2_lander/luv3.tga
	rgbGen lightingDiffuse
	
}

}

Any help appreciated.


(Juan) #2

The answer to the above is here.

http://www.splashdamage.com/phpBB/viewtopic.php?topic=502&forum=8&4

<font size=-1>[ This Message was edited by: Juan on 2002-12-03 22:45 ]</font>