PDA

View Full Version : How Can I Blur The Crumple Shader?


Giacomo_M
03-05-2006, 05:32 PM
Hello-

I'm trying to make a large body of water:
http://home.earthlink.net/~bucket/WaterSample.jpg

The basic ripple is made with a deformation, then there's a bump map for the secondary ripples, then there's the Crumple shader applied on top of that. My questions are:

1. Is there any way to soften the edges of the Crumple? The foreground is looking sort of crystalline.

2. I added the Crumple shader as a bump map, but nothing happened, so I added it as a diffuse map and it affected the bump channel. Is this just the way it works?

3. If it's not easily possible to soften the edges, is there a way to render out the Crumple effect as a greyscale image (so I could blur it in Photoshop and re-apply it as a bump map?)

Please advise,

GM

Igors
03-05-2006, 07:22 PM
Hi, Giacomo
1. Is there any way to soften the edges of the Crumple? The foreground is looking sort of crystalline.The shapen edges is a standard prob for procedural shaders with cellular noise (Crumple and others). Using more noise octaves makes it less noticeable

2. I added the Crumple shader as a bump map, but nothing happened, so I added it as a diffuse map and it affected the bump channel. Is this just the way it works?Yes, it's the way it works. Procedural shaders create their bumps themselves, they should not be in the bump textures list.

3. If it's not easily possible to soften the edges, is there a way to render out the Crumple effect as a greyscale image (so I could blur it in Photoshop and re-apply it as a bump map?)Yes, there is a way and it's used often: add the shader to luminance texture list, in Crumple interface set output colors, then render (isometric) a plane with such material.

AzOne
03-05-2006, 11:59 PM
To create an ocean I usually use CrumpleR in the bump channel. I based my settings on Duncan Hsu's Ocean project settings posted online several years ago. I think the project might be available at www.electro303.com but you'll need an earlier version of EIAS to open it without error (it may have been created in EI 2.9).

Here's a sample render and crumpleR settings :)

http://forums.cgsociety.org/attachment.php?attachmentid=91282&stc=1
http://forums.cgsociety.org/attachment.php?attachmentid=91283&stc=1

You may need to play with the scale values in the shader projection tab. In the image below, I had a 400x400 ubershape plane, and my shader scale values in the projection tab were x=5,y=5,z=5. There's also a runwave deformation applied.

Giacomo_M
03-06-2006, 01:22 AM
Thanks for the help, especially IgorS. That luminance trick is something I suspect I will be using often!

Here's where its at right now, with the Crumple shader rendered as luminance and then remapped in the bump channel. The issue at this point is that the remapped image has too much detail and it doesn't really feel like water, especially in the foreground. But that seems to be a matter of blurring it and tweaking the contrast until it's working OK. Here is the latest render:

http://home.earthlink.net/~bucket/Water05MarB.jpg

CGTalk Moderation
03-06-2006, 01:22 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.