combine normal map and bump map

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

combine normal map and bump map

Post by lacilaci »

Can I somehow combine normal map and bump map in luxcore...
I like using normal maps for bigger bumps and surface uneveness and bump map to give it some high frequency details.. But I cannot do that in luxcore..?
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: combine normal map and bump map

Post by Dade »

lacilaci wrote: Fri Aug 23, 2019 5:53 am Can I somehow combine normal map and bump map in luxcore...
I like using normal maps for bigger bumps and surface uneveness and bump map to give it some high frequency details.. But I cannot do that in luxcore..?
It should be possible, but I don't know if BlendLuxCore supports the kind of node setup required: you need to multiply or add the bump map by the normal map an plug the output in material bump map input.
Support LuxCoreRender project with salts and bounties
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: combine normal map and bump map

Post by lacilaci »

Dade wrote: Fri Aug 23, 2019 7:10 am
lacilaci wrote: Fri Aug 23, 2019 5:53 am Can I somehow combine normal map and bump map in luxcore...
I like using normal maps for bigger bumps and surface uneveness and bump map to give it some high frequency details.. But I cannot do that in luxcore..?
It should be possible, but I don't know if BlendLuxCore supports the kind of node setup required: you need to multiply or add the bump map by the normal map an plug the output in material bump map input.
ah, yes it appears to work through math node like this:
math.jpg
provisory
Posts: 235
Joined: Wed Aug 01, 2018 4:26 pm

Re: combine normal map and bump map

Post by provisory »

Not sure if it matters, but I rather mix them after both of them are transformed to bump:
mix-bump-normal.png
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: combine normal map and bump map

Post by Dade »

provisory wrote: Fri Aug 23, 2019 8:21 am Not sure if it matters, but I rather mix them after both of them are transformed to bump:
Yes, you can mix/add/etc. bump map even before the bump node but normal mapping is a special case because it is an encoding scheme (RGB values encode the X/Y/Z displacement) so normal math operations can disrupt or product odd results on the encoded values.
Support LuxCoreRender project with salts and bounties
Post Reply