When learning shaders most tend to overcomplicate common practices like noise or color corrections. Here are 5 common noob mistakes:
13 reposts64 likes
When learning shaders most tend to overcomplicate common practices like noise or color corrections. Here are 5 common noob mistakes:
13 reposts64 likes
Texture sampling is cheap and you can pre-compute complex noise, GPUs are well-optimized for it and it's easy to make the noise tile if you need that. You can take it a little further by implementing cubic interpolation, which smooths out the blending: mini.gmshaders.com/p/gm-shaders...
If you do need procedural noise, cubic Value noise is good, easy to understand and implement. Use Perlin Noise if you need a little extra quality, but not as necessary with multiple octaves. Read more about the different noise options here: mini.gmshaders.com/p/gm-shaders...
tech details : fgiesen.wordpress.com/2011/07/04/a... Of course there's a big "It depends" attached to it.