Closed Derpius closed 2 years ago
Describe the solution you'd like Currently it loads material flags on hit, which is a legacy from debugging, however this is extremely slow
Solution is to just cache material parameters at accel build time
Additional context Would need to implement #16 first for cleanly storing all the data at build time
Added in 6fce5ac79afe837a59890d7ecca69904a5493bb6
Describe the solution you'd like Currently it loads material flags on hit, which is a legacy from debugging, however this is extremely slow
Solution is to just cache material parameters at accel build time
Additional context Would need to implement #16 first for cleanly storing all the data at build time