Page 2 of 2

Re: When using love.math.noise, either the program stops responding or I get some kind of expected results

Posted: Tue Dec 07, 2021 6:06 pm
by pgimeno
Pixels are not so much the problem as it is transfers. Each transfer of data from CPU to GPU is costly. Sending as much as possible in a single transfer helps performance; that's why Löve has auto-batching.

Re: When using love.math.noise, either the program stops responding or I get some kind of expected results

Posted: Tue Dec 07, 2021 6:59 pm
by grump
True, but also kind of implied with "single-pixel". Pixel access from Lua is a clarification that I should have used there though.

Re: When using love.math.noise, either the program stops responding or I get some kind of expected results

Posted: Wed Dec 08, 2021 4:51 pm
by milon
Thanks for the answers. That makes sense now. :)