mateversum icon indicating copy to clipboard operation
mateversum copied to clipboard

performance checklist

Open expenses opened this issue 3 years ago • 2 comments

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

expenses avatar Jun 18 '22 23:06 expenses

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.,

expenses avatar Jun 19 '22 15:06 expenses

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!

expenses avatar Jun 20 '22 17:06 expenses