gilmore606 / ure

the unRogueEngine
MIT License
122 stars 12 forks source link

Sound occlusion #87

Open gilmore606 opened 6 years ago

gilmore606 commented 6 years ago

speaker provides a generic method: throws a ray to source from player, adds lopass for occlusion

more occlusion = more lopass? check terrain.materials?

ambient runs through speaker.occlude speaker.play runs through occlude

gilmore606 commented 6 years ago

let terrain return occlusion filter type/settings -- cave rock should echo!

gilmore606 commented 6 years ago

might not be possible -- can't get openAL filter to initialize on windows without error