I want to randomly generate some pixels on a shader, each with different brightness. I came up with a graph that has 1 simple noise node and a step node that only took the pixel of the noise if it above some threshold. The problem is the step node only returns either 0 or 1 for each pixel. How can I take the exact value of a pixel of the noise if it above some threshold?
↧