I'm looking for a random number generator that I can create with a seed and takes two inputs x and y to generate the number. I need the same number every time I use the same inputs with the same seed.
I'm using this to randomly assign textures across a coordinate grid so I need it to be the same every time. So every time I'm at x = 100, y = 120 in the same seed I need the same random number so the same texture is assigned in that spot.
Aucun commentaire:
Enregistrer un commentaire