PDA

View Full Version : applying Projectionmap to omni


CapitanRed
03-08-2007, 07:11 PM
Hi, I tried to apply atexture as projection map to an omni.the texture is a gradient ramp in the second slot of the materioal editor. but how can i call the the texture?

in the helpfile it says the projectorMap needs a textureMap. but underneath, it says, that a subAnim named Projection_Map must be created for the light.

how do I do that?? :p

I read about subAnims, but couldn't understand :(

and if i have more than one light, do i have to do this for each light?

CapitanRed
03-09-2007, 05:57 PM
I don't know if this is the way the manual describs, but it works.

I wrote:

myMap = getMeditMaterial 2

myOmni.projectormap = myMap
:D

CGTalk Moderation
03-09-2007, 05:57 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.