volumetric noise falloff not acting they way I want
2611 4 1-
- Farmeadow
- Member
- 30 posts
- Joined: Jan. 2011
- Offline
I'm currently experimenting with volumetrics and falloff. In this specific example I made a simple falloff on the Z-axis and added basic noise. Whatever solution I come up with, I can't actually get what I want. I want to basically have no noise affecting the density when density is 1 (or higher). Is there a way to get this right?
Edited by Farmeadow - Oct. 2, 2021 06:45:35
-
- Konstantin Magnus
- Member
- 719 posts
- Joined: Sept. 2013
- Offline
Try the min function instead:
f@density = min(z, n);
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
-
- tamte
- Member
- 9378 posts
- Joined: July 2007
- Offline
you are trying to multiply with noised values, even if you add your ramp to the noise, its still gonna vary using the noise values
like 0.1 + 1 = 1.1
0.5 + 1 = 1.5
...
so instead you can blend the noise and density using your ramp, which will make sure that where the ramp is 1 you get clean input density and where its 0 you'll get full noise values:
like 0.1 + 1 = 1.1
0.5 + 1 = 1.5
...
so instead you can blend the noise and density using your ramp, which will make sure that where the ramp is 1 you get clean input density and where its 0 you'll get full noise values:
f@density = lerp(basicNoise, f@density, zDensity);
Edited by tamte - Oct. 2, 2021 12:44:28
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- Farmeadow
- Member
- 30 posts
- Joined: Jan. 2011
- Offline
tamte
you are trying to multiply with noised values, even if you add your ramp to the noise, its still gonna vary using the noise values
like 0.1 + 1 = 1.1
0.5 + 1 = 1.5
...
so instead you can blend the noise and density using your ramp, which will make sure that where the ramp is 1 you get clean input density and where its 0 you'll get full noise values:f@density = lerp(basicNoise, f@density, zDensity);
Thanks for the clarification! This makes me feel like I should have just paid more attention during math classes way back at school. It's never too late though ;-).
-
- Farmeadow
- Member
- 30 posts
- Joined: Jan. 2011
- Offline
-
- Quick Links


