Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Blur Image in Arnold Material

Blur Image in Arnold Material

brianswarthout
Contributor Contributor
1,368 Views
5 Replies
Message 1 of 6

Blur Image in Arnold Material

brianswarthout
Contributor
Contributor

Hello,

 

I'm working with some black and white images (brought in via "Image" node) as masks in an Arnold Standard Surface Material and am wondering if there is a way to slightly blur these masks within C4DtoA rather than doing so in an image editing application such as Photoshop?

I was playing around with adjusting the MIP mapping bias but am not sure if this is the correct approach.

Thanks!

- Brian

0 Likes
1,369 Views
5 Replies
Replies (5)
Message 2 of 6

peterDTE7K
Advocate
Advocate

I believe there isn't such node and neither other render engines have such option. It would be really great to have it, I often need to blur textures for masking and bumps

0 Likes
Message 3 of 6

lee_griggs
Autodesk
Autodesk

Increasing the mip-mapping bias will blur the texture in the image shader.

The redshift Blur.osl seems to work.

lee_griggs_0-1687244080096.png

 

 

Lee Griggs
Arnold rendering specialist
AUTODESK
0 Likes
Message 4 of 6

daniel
Contributor
Contributor

Rombotools offer a dedicated blur shader:

 

https://www.rombo.tools/2022/12/02/texture-blurrer/

0 Likes
Message 5 of 6

brianswarthout
Contributor
Contributor

Thank you all for the quick and helpful replies! Much appreciated.

Message 6 of 6

alan_lamVGAMN
Observer
Observer

Hi, Lee Griggs,

 

I tried the same way as what you mentioned in order to add a directional blur to the noise. 

When I apply the osl blur to the offset and connect the noise to diffuse or emission channel, it seems the outcome looks fine(same as yours).

However, if I plug noise to bump or displacement, the result in mtoa looks like error. I did the same exact steps in Redshift, the result is fine as expect.

 

I am trying to do the skin microstructure and looking for "directional blur" effect when the skin is sketch and compress.

maya 2024

alan_lamVGAMN_1-1740168376864.png

 

I also developed another simple method to achieve directional blur by apply a noise to drive the offset. If use this way to diffuse and emission channel, the result looks good. However, also not good for bump and displacement.

 

alan_lamVGAMN_2-1740168585894.png

 

I have attached a test scene in the thread. Welcome to have a look.

The actual logic behind is really simple. Just don't know why it works smoothly in Redshift and doesn't work the same way in MtoA.

Is it a bud?

 

Cheers...^_^.

 

Thanks in advance.