Softvolume Light Occlusion Script HELP

Hi again, back for the next round of help. I need to create a light to light the avatar away from where the main sun is but I am not sure how to add one without it mixing with the sun already there and making it real bright. I was told to try softvolumes, I read the page and saw some script about how to use it with lights but that wasnt enough, can someone lay out how the script would go? I need to block my new light from a certain area of the age, so thats where the softvolume would be. I hope I explained it clearly enough. Thanks for the help!
Okay I tried to set it up, but I am still seeing light in the area I am trying to exclude, here is the script.
Thanks again!
Okay I tried to set it up, but I am still seeing light in the area I am trying to exclude, here is the script.
- Code: Select all
New Sun:
lamp:
softvolume: Sun Occlusion
Sun Occlusion:
type: softvolume
softvolume:
- type: convex
regions:
- Sun Occlusion
Thanks again!