Page 1 of 1
Clouds above sphere cut off with band texture
Posted: Sun Mar 15, 2020 4:30 am
by Fox
I have simple cloud texture assigned to hetero volume above sphere, but the border where volume ends cuts off too hard.
How to make spherical band / gradient texture, to scale the clouds volume?
Re: Clouds above sphere cut off with band texture
Posted: Sun Mar 15, 2020 12:16 pm
by B.Y.O.B.
In the "Texture (Blender)" category, there is a "Blend" texture.
In spherical mode, it is probably exactly what you need.
You can make the gradient softer/harder with the brightness and contrast controls, and you can use multiply or remap to mix it with your other cloud textures to create the falloff.
Use the 3D mapping input to move it around and scale it.
Re: Clouds above sphere cut off with band texture
Posted: Sun Mar 15, 2020 1:46 pm
by Fox
If i change object location, i can't find 3d mapping translate.
Band offsets is another problem, how do i calculate them?
Re: Clouds above sphere cut off with band texture
Posted: Sun Mar 15, 2020 2:09 pm
by B.Y.O.B.
You could use local mapping instead of global.
Fox wrote: Sun Mar 15, 2020 1:46 pm
Band offsets is another problem, how do i calculate them?
I would suspect that the progression is linear. In your picture, you would need to increase the scale so the blend texture sphere covers your whole sphere object.
Re: Clouds above sphere cut off with band texture
Posted: Sun Mar 15, 2020 3:13 pm
by Fox
B.Y.O.B. wrote: Sun Mar 15, 2020 2:09 pm
I would suspect that the progression is linear. In your picture, you would need to increase the scale so the blend texture sphere covers your whole sphere object.
It looks to be in meters, but it only takes values up to 1 meter.
With local mapping the correct scale is 1 meter / object radius,
then the offsets 0 0.25 0.5 0.75 make sense.
Re: Clouds above sphere cut off with band texture
Posted: Sun Mar 15, 2020 3:35 pm
by B.Y.O.B.
I think it goes from 0 to 1 over 1 meter along the X/Y/Z axis with scale 1 (as you can see in the screenshots in my first reply, the cube is 2 m in diameter along the axis).
Re: Clouds above sphere cut off with band texture
Posted: Sun Mar 15, 2020 4:21 pm
by Fox
Yes it works this way.
Looks like I need ton of more polygons for earth size band texture
Re: Clouds above sphere cut off with band texture
Posted: Mon Mar 16, 2020 10:21 am
by Fox
This is how to global mapping works:
Sphere Location:
X -0.014147
Y 0.798522
Z -5975653
Sphere Radius:
5985959
Scale:
1/5985959 = 0.0000001670576093154
Translate
X = -1*(-0.014147 / 5985959) = 0.00000000236336399898
Y = -1*(0.798522 / 5985959) = -0.00000013339917630575
Z = -1*(-5975653 / 5985959) = 0.998278304278395