Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per-triangle AudioMaterials #409

Open
bjornbytes opened this issue Apr 12, 2021 · 0 comments
Open

Per-triangle AudioMaterials #409

bjornbytes opened this issue Apr 12, 2021 · 0 comments

Comments

@bjornbytes
Copy link
Owner

Phonon lets you have a material for each triangle of a mesh, but right now we only let you set one material for the whole mesh.

Similarly, when using Oculus' box model, you can set a material for each face of the box.

The AudioMaterial passed to lovr.audio.setGeometry should probably optionally accept a table of AudioMaterials.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant