Page 1 of 1

Pearl material

Posted: Tue Jun 01, 2021 8:09 pm
by josephmcs
Hi,

Has anyone had success making pearlescent materials/pearls with Luxcorerender?

It seems like the engine would be very naturally suited to this considering the thin film interference feature.

However, I can't find much documentation.

I found this very old breakdown for Luxrender, but the interface/values have changed greatly since then.

https://www.loramel.net/2009/03/materia ... own-pearl/

Help and ideas are appreciated!

Re: Pearl material

Posted: Tue Jun 01, 2021 9:13 pm
by Dade
josephmcs wrote: Tue Jun 01, 2021 8:09 pm I found this very old breakdown for Luxrender, but the interface/values have changed greatly since then.
Actually, for what I can see, every single material and parameter motioned in the above link is still available.

Re: Pearl material

Posted: Wed Jun 02, 2021 2:04 am
by josephmcs
Thanks. One thing that is confusing me is what the "exp" values are.

For example, the roughness on the glossy material in the old breakdown is set at "exp = 50" whereas in Luxcorerender the roughness is on a scale of 0-1.

Sorry if this is rudimentary and any help is much appreciated.

Re: Pearl material

Posted: Wed Jun 02, 2021 8:43 am
by B.Y.O.B.
See the section "Roughness" here for the conversion formula: https://wiki.luxcorerender.org/LuxCoreR ... sy_Coating

Re: Pearl material

Posted: Wed Jun 02, 2021 4:28 pm
by josephmcs
Thanks so much for your help.

For anybody interested, I converted the old values into a node tree setup. See attached w/ a sample render, too.

Any input is very welcome of course.

Re: Pearl material

Posted: Wed Jun 02, 2021 6:13 pm
by kintuX
Nice.

And a different go for pearlescent material.
Pearlelscent_LuxCore.jpg

Re: Pearl material

Posted: Thu Jun 03, 2021 7:20 pm
by josephmcs
Cool! Thank you.

I put the two of them side by side for a little test if anybody is curious. Mine is on left, yours on right. Nice to see the different approaches together. I think my version of yours could use some tweaking on the noise size, but I like it.

Re: Pearl material

Posted: Sun Jun 06, 2021 9:02 pm
by kintuX
True, depending on the size of geo, noise and volume must be tweaked.
For study I use MaterialX shaderball (.../resources/geometry/) @ 20cm in diameter.