improved sound distance model
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2412 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -116,7 +116,7 @@ struct source
|
||||
|
||||
// fit into distance model
|
||||
alSourcef(id, AL_REFERENCE_DISTANCE, 3.0f);
|
||||
alSourcef(id, AL_ROLLOFF_FACTOR, 1.0f);
|
||||
alSourcef(id, AL_ROLLOFF_FACTOR, 1.4f);
|
||||
|
||||
return !alerr(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user