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

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
pgimeno
Party member
Posts: 3541
Joined: Sun Oct 18, 2015 2:58 pm

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

Post 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.
grump
Party member
Posts: 947
Joined: Sat Jul 22, 2017 7:43 pm

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

Post 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.
User avatar
milon
Party member
Posts: 472
Joined: Thu Jan 18, 2018 9:14 pm

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

Post by milon »

Thanks for the answers. That makes sense now. :)
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests