I’d like to use a random number in the technique for my pixel shader. It’s saying that the “noise” function is not yet implemented. Well how would you more experienced folks handle this in your shaders?
code would be something like:
if(noise_value>.5){
do something cool
}
Thanks for the speedy reply. I’ll see what I can do with that. It certainly is more work than using noise(). Oh well, hopefully the programming gods that delivered VVVV to us will come down from high with that too!
using a noise table for vertex shaders or a noise texture for pixel shaders is much faster than using this alorithm… besides that, you can pass spreads to a shader.
I wouldn’t mind using a noise texture if I could figure out how to generate one quickly. The whole reason I use the shaders is for their speed. Generating large textures in real time… hmmm