Applying a bump through curvature mask ?

Started by zooropa, August 23, 2017, 03:04:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zooropa

Hi. I am texturizing a violin in KS. I started with a wood material from Esben Oxholm (please check Esben Oxholm web for the vintage stool scene). After that I have been tweaking the wood material.

I would like to add a detail where the 'lips' of the violin are encountering with the flat surfaces in order to give a worn effect. I used curvature parameter and use a noise as an input for the 'negative' parameter within curvature. My idea was to add that effect to the 'bump add' palette since I already have a few from Esben wood working at the moment connected to bump 1. The problem is that I can not assign curvature to the bump 2 in the 'bump add' parameter I am unable to do that. Do you know how can I add this noise procedural in my negative curvature as a bump to the already bumps connected to my bump 1 in the add bump option ?

Super unclear?


cjwidd

It would be very helpful to see some screenshots of your progress in addition to your material graph

zooropa


cjwidd

Would you mind posting your solution? Others might benefit when consulting the forum for advice.

DMerz III

 :) yes, I'd also like to see your solution. Thanks!

zooropa

I did not solve, but the client did not want that. hahaha I guess 'solve' was not the right term.


cjwidd

Haha, I guess that worked out. Thanks for updating though

DriesV

You can't use a Curvature (or Occlusion) texture as a bump map, much for the same reason as mentioned here.
That being said, you can use a Curvature texture to control the Weight of a Bump texture in the Bump Add utility node.
Attached is a screenshot of the most basic Material Graph to achieve this and a comparison between different bump setups to highlight the effect.

I am not sure if this is what you are looking for, but the technique works well for recreating worn materials.

Dries

mattjgerard


DMerz III

That's good stuff right there, thank  you for the breakdown, Dries!

I had done something similar in the past but used the curvature on the 'bump height' input. Your example seems to work in a more predictable manner.

zooropa

This is a great tip. I think this is what I wanted. In a way I wanted to drive the bump on the curvature. For example, when you sand wood at corners, the radius will seem to the hand a little bit grainier. I wanted to drive, let's say, a noise into the radius of my wood.
I think I need to try with this technic, but should work.

Thanks a lot.


NM-92

This should go on the wishlists section, but these kind of tips (Dries) shouldn't be lost here and there on the forum. Some kind of "tips n' tricks" manual would be more useful than the KS documentation itself.

cjwidd

Quote from: DriesV on September 26, 2017, 04:54:18 AM
That being said, you can use a Curvature texture to control the Weight of a Bump texture in the Bump Add utility node.

Firstly, thank you for all your tutorials on Youtube, they are immensely helpful. I think I understand what's happening in your example: the noise bump is only allowed to appear in the (white) curvature masked area.

Just so that I am clear, in the attached image, you can see the output of a curvature node (after contrast enhance, etc.). My plan was to pass this mask into a bump channel, and then setup a label structure, such that metal would appear under a plastic. Using the curvature mask as a bump, the plastic would appear to 'sit' on top of the metal, as it would if it were actually damaged and coming off. Due to reasons you described elsewhere, I'm not sure this is possible at this time.

DMerz III

Hmm, I think in that case, you might want to plug it into the opacity channel of the label? What is white will be label and what is black will be 'metal' or not label.. if that makes sense? I think that's what you want?

Esben Oxholm

Quote from: DriesV on September 26, 2017, 04:54:18 AM
That being said, you can use a Curvature texture to control the Weight of a Bump texture in the Bump Add utility node.
Attached is a screenshot of the most basic Material Graph to achieve this and a comparison between different bump setups to highlight the effect.

Hi Dries.
Not to question your knowledge, but wouldn't this setup achieve the same effect?
Or would there be some kind of difference?