summaryrefslogtreecommitdiff
path: root/scene/resources/world_2d.cpp
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2017-12-17 00:05:13 +0100
committerHein-Pieter van Braam <hp@tmm.cx>2017-12-17 00:12:45 +0100
commitbe4448bd1fa8c75f95d8583a3f1a7d1cf6159bc2 (patch)
treed80a3df8c98b738bbdb54bb7d75cf894a25bb17e /scene/resources/world_2d.cpp
parent83291eab3ae8940cc9da159774a1da6575196c89 (diff)
Use a more naive RNG for the lightmapper
This speeds up the lightmapper by about 10% with no visible impact. A comparison is up here: https://tmm.cx/nextcloud/s/Log1eAXen1dJzBz AMD Ryzen 7 1700 Eight-Core Processor Sponza scene pcg32 256/256/high 00:10:13 256/256/medium 00:02:50 256/256/low 00:01:11 xorshift 256/256/high 00:09:32 256/256/medium 00:02:34 256/256/low 00:01:05
Diffstat (limited to 'scene/resources/world_2d.cpp')
0 files changed, 0 insertions, 0 deletions