Register  |  FAQ  |  Search  |  Memberlist  |  Usergroups  |  Log in 
Reply to topic
 Dynamic Shadow - use ready map 
Site Admin

Joined: 25 Dec 2006
Posts: 98
Reply with quote

The 'Use Map' option let you use a ready image as shadow map. This save rendering time and can produce special effect.

In the illustration above, we use a ready image - blue caustic pattern as shadow map. Please pay attention to the white bounding frame of the ready image, this frame avoid the shadow's border extending. If use reverse shadow, the frame should be black. The ready image is taken from mobile's source shadow material, first lookup material's texture play, if no, use texture0.

To use ready map, you need do these:

1. Enable mobile's Dynamic Shadow style and check the 'Use Map' option.

2. New two materials (assume named as 'M' and 'SM'); assign M to the mobile; in the Dynamic Shadow group of M, set 'Source' material as 'SM'.

3. Set the ready map to the texture0 of 'SM'.
View user's profile Send private message Send e-mail
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

 Reply to topic