performance checklist
Just for when I try things out on a quest 2. All of these things should probably be toggleable though.
- lower/off anisotropic filtering
- lower texture sizes.
- change log level (large potential gains here!)
- reduce cubemap sizes to 512x512.
- replace diffuse cubemap with a constant. Ideally use sphere harmonics
- turn off mirror
- test doing a depth pre-pass
I did manage to get multiview + multisampling working on the quest 2, but only for 1 eye. I think that's because I wasn't doing inline tonemapping tho and was instead rendering to the hdr framebuffer, which might not be supported.,
https://github.com/expenses/mateversum/commit/474b2c7f3a724ad65b5d1879d3498c8221c48ccb took a lot of time
turn off mirror
Some gains here
change log level (large potential gains here!)
helped somewhat.
replace diffuse cubemap with a constant. Ideally use sphere harmonics
Setting a constant of 0.5 helped immensely!