angad-k/ProcSDF

Load a random texture as a uniform and sample it to get a random function

Closed this issue · 0 comments

The current random function's distribution is most probably horrible. We could gl_FragCoord's x and y coordinates - and a time uniform and use them as coordinates from where to start sampling. Since it's a random texture, we could then just go horizontally ahead row wise.