musickent Posted November 9, 2002 Share Posted November 9, 2002 It is me again I got a question about how to blend or change shaders for an object. In a simple example, create a grid. go to SHOP, create a layerd shader, in basemap, choose a jpg file; in layer 2, choose another jpg file(this file origins from the former one but brush some brown colour onto it). Then in layer 2's Alpha value field, keyframe it, in frame 1, set alpha value to 0, in frame 100 set alpha value to 1.(in frame 1, the base layer map will be seen. in frame 100, the layer 2 map will be seen) Back to SOP, apply a UVProject to the whole grid and initiate the uv map, then a Shader SOP for the whole grid. Render frame 1, the base layer map will perfectly the whole grid. BUT, when rendering the frame 100, you will see that the layer 2 map will be mapped into each face in the grid. totally mess up! Why? I want to blend or change the shader for a sky in my project, from day sky to night sky; or change a leaf shader from green to brown with texture. What can I do? Could anyone tell me how to solve this problem or any other good ways to do it? Thanks in advance Quote Link to comment Share on other sites More sharing options...
daland Posted November 9, 2002 Share Posted November 9, 2002 One idea to blend between colors or textures is to go into VOPs and use the colormix VOP. By adjusting the bias amount parameter you can mix between colors, patterns, textures etc.. good luck, david Quote Link to comment Share on other sites More sharing options...
sirogi Posted November 10, 2002 Share Posted November 10, 2002 I second daland's solution... however, if you still want to do it wih the provided tools, in you example, layer 2 should be set to "uv2(layer2)" by default all you have to do is switch it to "uv" (base layer) and you should be fine, that's because you can specify different uv sets to different layers on the same model.... cheers. Quote Link to comment Share on other sites More sharing options...
musickent Posted November 11, 2002 Author Share Posted November 11, 2002 Thank you so much! I got it! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.