Curtis Lee - 17 July 2008 02:17 AM
I’ve tried to recreate a rectangle below the car and I’ve assigned the material ID26 for the shadow. But it’s assigning another material to it.
You are on the right track with the matID, however, this function is designed to work with the standard DynamiteVehicles material, otherwise you’d have to design your own multi/sub-object material with this correct texture on channel 26.
The texture that’s used is a bitmap, which you can find in the matlibs/vehiclemaps folder of your current DVSP country kit. The bitmap is called shadow.jpg and needs to be placed in the diffuse and opacity slot of your material (this makes the black parts of the bitmap invisible).
Of course, the alternative is to turn on full shadow casting for the vehicle and use a shadow casting sunlight object in your scene - that way you don’t need the shadow saver, but your rendering times will obviously be higher than they are right now.
Turn shadow casting on either from the Placed Object Manager, or if you always want all vehicles in every scene to cast shadows, go to the DVSP Preferences panel.