dimanche 26 novembre 2017

How to get a random number in Metal shader?

How would I go about getting a random number in a Metal shader?

I searched for "random" in The Metal Shading Language Specification, but found nothing.




Aucun commentaire:

Enregistrer un commentaire