Sunday, September 28, 2008

Sound Occlusion Per Material

hi, i did small update to sound occlusion which defines sound occlusion properties via script file.
so now i can define reverb and direct occlusion for each material.
the script is very simple: (for short only 2 materials)
none =
{
"0.5", -- directOcclusion
"0.5" -- reverbOcclusion
}

stone =
{
"1.0", -- directOcclusion
"1.0" -- reverbOcclusion
}

none - is the default occlusion properties if material not defined/found/exist
the rest is direct and reverb occlusion values per material (using material name)
when creating the sound geometry the occlusion properties will set based on material and his values from the script.

No comments: