kromekat opened this issue on Feb 08, 2006 ยท 5 posts
kromekat posted Wed, 08 February 2006 at 8:12 AM
Hey folks,
Something I have never previously needed to do, but now find myself stumped by! - I am wanting to blend 2 bitmap textures in the A and B channels - a moss and a mud on a terrain, mapped parametrically. I need the moss/grass to be on the top/plateaus, and the mud to gradually blend down the slopes.
Now, I can get this to work by by having the moss in the B, and the mud in the A, but what I want to be able to control is the altitude at which this blend occurs - at the moment, the only way I can see to do it. is to scale the whole damned terrain up, since it appears to be goverend by some external world scale!?! - where is the altitude defined where these textures blend together? - can I just control it relative to the terrain?
Adam :)
Message edited on: 02/08/2006 08:12
Adam Benton | www.kromekat.com
chohole posted Wed, 08 February 2006 at 8:29 AM
I tend to use a third texture in the C channel to govern this. However I am far from an expert.
The greatest part of wisdom is learning to develop the ineffable genius of extracting the "neither here nor there" out of any situation...."
kromekat posted Wed, 08 February 2006 at 9:11 AM
Hi there, Actually, yeah that appears to be the solution! - experimenting now! - thanks :) Adam
Adam Benton | www.kromekat.com
Erlik posted Wed, 08 February 2006 at 9:21 AM
Adam, yes, use a third texture in C channel cause it is governed by the world scale otherwise. (As with A and B, Ctrl+Shift+click on C.) I suggest either using one of the fractal textures - Basic Altitude, note the capital A, and it's the second one of the fractal Basic textures - or using a gradient created in Photoshop. White means the texture in channel B will be applied and black means channel A. With the fractal texture you can use World Space mapping or World Side. You can adjust the ratio of mud/moss by going into Deep Texture Editor and adjusting the values in Filter dialog. Interestingly, Object Front mapping also works well, while Object Side doesn't. I don't have an image gradient but you will adjust the ratio by changing the white/black point in Photoshop and trying the mapping of the third channel. If I was unclear, just yell.
-- erlik
kromekat posted Wed, 08 February 2006 at 9:44 AM
Thanks Erlik, Yeah I have got it - found the filter in the DTE and made a fractal altitude work as I wanted! :) Cheers Adam
Adam Benton | www.kromekat.com