View Full Version : image based blending?
calmasacow 06-06-2006, 08:15 PM Ok I know this can be done I just have been unable to figure it out. So I know someone here has got to know how to do this.
I need to change with billow "bumpmap" in my cloud layer on a planet I'm rendering.
what I Started with is a white shader that I have a image that I using for the Transpaency mask. then I have a 3D Texture that is a Brownian noise mapped as the bumpmap.
sowhat I whant to do is this I want to take Image and based on what colors are where I can blend between different bump maps.
|
|
calmasacow
06-13-2006, 08:23 PM
Bump!
Come on guys no one has any pointers on how to do this?
calmasacow
06-16-2006, 05:24 PM
am I not being clear?
What I need is to have a texture that that for arguments sake is a painting of blue and red.
then I have to shaders let say one is lizard skin and one is checkered.
How do I use that texture file of red and blue to control the placement and blending of those 2 shader
Please I know this is possible.
use a layered texture, put your two bump maps into it and blend between them with an alpha map
To blend the two bump maps, you could also use a blendColors node and have the blender attribute controlled by the color of your texture.
Remember that blender is a single channel attribute, while color has three channels. So you need to decide how you're gonna connect the out color of the texture to the blender attribute. For example, you could focus in the Out Color R of your texture so that only the amount of red would drive the blender. Or you could pass the Out Color through an rgbToHsv node and get the Out Hsv H to do the job. The results could be a little different. It depends on how your colors vary in your file texture. I mean, the red and blue you said you're using... Do they vary only in hue? Do you have smooth transitions like gradients? How are these red and blue blending into each other?
Good luck!
Kako.
Ash-Man
06-19-2006, 07:07 PM
watch my tutorial video
calmasacow
06-24-2006, 12:53 AM
thank you, very much
CGTalk Moderation
06-24-2006, 12:53 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.