mardi 27 novembre 2018

Generating a Pseudo-random number between 0 an 1 GLSL ES

I am trying to create a pseudo random float between 0.0 (inclusive) and 1.0 (inclusive) in GLSL ES in order to process the mutations for a chromosome on the GPU rather than a CPU in a genetic algorithm. How would I go about this?




Aucun commentaire:

Enregistrer un commentaire