I tried creating a sphere, create a spherical and a cylindrical texture projection. Then I opened the render tree, and created a lambert and a phong shader. I mixed them together using a mix2colors-node. Then I attached an image node to the phong shader, but I couldn’t my texture projections anywhere, so I created a new one, and now I had three.
I then created a new image node, but it automatically connected to the “old” image node, and that’s not what I wanted. I want to have two different textures, with two different projections and two different shading models.
However, I would still like to keep them in the same render tree. Is that possible??
P.s.If this is not possible, I can live with using the same lighting model, but I still want to use different projections and textures.
if it’s a surface object and you don’t wanna play around alot then you’re going to have to use the same shading model over the whole surface…
The clip nodes will be connected each to their own image node which has a blue input and a red output. Inside these nodes is where you edit which projection that clip uses to be applied to the model. When you’re selecting your texture projection, make sure the object is selected to.
When you mix2colors make sure the weight map is at around 50%. that way you get an even blend of both textures. This is what I love about Render Tree - you can connect another image into the weight map channel to control where each image will show and blend. Everything is connectable to everything else in Render Tree, just like Lego
Thanx.. I’m asking because on the online-help CD, there is a bottle example, where a phong and a lambert shader are put on the same model (Nurbs). The lambert shader has a texture and the phong does not.
Is that the limitation?? That you can have two shading models, but only texture on one of them??
do you see how your illumination node (say phong) connects into the surface/photon/shadow connectors on the material?
you can make a lambert illumination node and use mix2colors and use a clip map to say where the surface is phong and where the surface is lambert (and ofcourse how they blend elsewhere). To use a clip map you have to connect into both the nodes (in the diffuse slot) and the texture will cross over the border of the two shading models no worries
Be creative, Render Tree definately allows you to do that.
Grrr.. I feel so stupid.
I understand the thing about the two shading models crossing over. No problems there, but let’s say I drop the idea of having two different shading models.. now Phong is the only one.
File->Image->Mix2Col->Phong->Material
When I introduce a new image texture, it creates a new Image node and connects it to the “old” file node.
That’s not what I want. I want a new file node, so that I can have two DIFFERENT Image textures.
If I create a procedural texture, there’s no problem. It’s ONLY with Image Textures.
When you place a clip onto the Render Tree “stage” the image is conected to a kind of “image transformer”, which reads the file format and outputs RGBA. Every clip connects into these nodes and then you use these nodes to connect to your phong nodes and then into your material slots, etc etc
Um, when you make a put an empty clip image into render tree the “empty slot” image comes up and it’s connected to a new file node (as you call it). I can’t really think of why it would connect to the old file node. It certainly doesn’t do that here. Possibly both files nodes are on top of each other?
The nodes are not on top of eachother. When I choose to create a new Nodes->Texture->Image it automatically connects to the old one - as you can tell from my illustration.
If I create a procedural texture instead (like fractal), there’s no problem.
Double click the Image node. (either one, it does not matter) In the property edtior that opens up, chose Image>New>New From file. Pick a different image. And click ok. Now you’ll have 2 different images attached to the same object.