Page 1 of 1

Interesting technique for blending normal maps

Posted: Wed Jan 29, 2020 10:37 am
by juangea
A friend gave me this about a render engine, and it shows how it does different things, they comment the way they use to blend two normal maps:

https://google.github.io/filament/Filament.html

In the point "5.7 Normal Mapping"

Just in case you find it interesting :)

Re: Interesting technique for blending normal maps

Posted: Wed Jan 29, 2020 11:45 am
by Dade
juangea wrote:
Wed Jan 29, 2020 10:37 am
A friend gave me this about a render engine, and it shows how it does different things, they comment the way they use to blend two normal maps:

https://google.github.io/filament/Filament.html

In the point "5.7 Normal Mapping"

Just in case you find it interesting :)
It is interesting because it is applicable to our (classic) bump/normal mapping. It doesn't require change of frame work like https://mmikkelsen3d.blogspot.com/p/3d- ... s.html?m=1 (the method I'm using for triplanar UV-less bump mapping).

The latter is sincerely a better solution but it would require a change of framework for bump mapping (i.e. to rewrite all the bump map related code) and it is not going to happen for a foreseeable future.
The first is more viable and could be implemented has bump mapping support for mix texture node.

Re: Interesting technique for blending normal maps

Posted: Wed Jan 29, 2020 12:46 pm
by juangea
If it makes your life easier... then I'm happy :)