Commit Graph

6 Commits

Author SHA1 Message Date
f95e869848 Give Owen scramble functions their own hash.
This lets us move the seeding overhead outside the main loop,
which in turn lets us avoid taking it every round.
2022-07-23 13:24:24 -07:00
570878d052 Eliminate branch in per-bit Owen scrambling functions. 2022-07-21 12:28:47 -07:00
0d71ae86db Noticed that z-scrambling is actually just base-4 Owen scrambling.
Updated function name and comments to reflect that.
2022-07-21 04:44:05 -07:00
6b7538e25f Make the z-scrambling table smaller with bit fiddling.
This gets it down to 24 bytes.
2022-07-21 04:20:03 -07:00
ec9a121e72 Implement screen-space blue-noise sampling properly. 2022-07-21 03:59:47 -07:00
83b48f722d Simpler way to implement screen-space blue-noise sampling.
We now do the index scrambling at the top of the sampling loop,
which is also faster since we only have to run it once per pixel
instead of once per sample.
2022-07-20 18:54:38 -07:00