ggx question

Hi, someone told me that BRDF GGX suitable for metal only, is that true?

Nope, good for plastics, rubbers especially and it’s my default for all materials these days.

Yeah I use it for almost everything too.

Worth saying that I adjust the GTR Tail Falloff on every material, you have more control but you now have two parameters to adjust for glossiness.

Even for a skin spec, tho this is in renderman RIS its the same GGX BDRF model

This is a bit of a problem for me now actually. I don’t know whether it is best practice to set the Tail Falloff lower and have a brighter texture/lower number in the Reflection Glossiness slot, or have more blur in the Reflection Glossiness slot but a lower tail falloff.

I’ve spent literally hours toying with this.

“whichever looks right”

Generally speaking, leaving the tail at it’s default value seems to work the majority of the time for me - though not always.

I wonder if there is a “table” of physical correct values of tail faloff for corresponding materials ?

ive been wondering the same thing.

Is there a script out there that can convert all my old materials over to GGX ? I’ve been changing all my materials by hand since it was released, very time consuming.

VMC Script

Pretty sure the VMC script does it.

Same as all the tables for scanned metals, it’d only be as accurate as the sample object that people measured. Glossiness is driven by how rough or how polished a surface is so you can get a tonne of variation depending on how the object was used. Say for example I look at my keyboard in front of me, some of the keys still have a little bit of bump to them but the spacebar is totally smoothed off from all the use it gets - both are still made from the exact same type of plastic but they’d have different tail values. It’s where the observation part of it has to come in and where you’ll have to use some reference. Say for example you wanted material settings for an old, worn gold object you’ve got a picture of and ask the forum - what’s the correct values for gold, then I give you gold values that I’ve made from a really new, mirror finish gold object and say that they’re correct. My gold settings are only correct for the object I’ve used as reference and probably won’t get you the look your after and this is what happens with lots of tables.

With shiny objects a huge factor is the lights and environments around them too. Highlights and tail falloffs are going to be heavily influenced by how large the light sources that are shining on them are, so ideally if you’re trying to get a certain look, it’s really handy to know what was around the object, and if not try to make educated guesses about the lighting using things like reflections in the surface of really mirrored objects or the softness of shadows that objects are casting.

Alternatively you could run these code lines, sets all VRay mats to GGX:


for oMat in (getclassinstances vrayMtl) do
(
oMat.brdf_type = 4
)

And you can set the tail falloff with this for all (!) VRay materials:


-- set tail falloff here
fTailFalloff = 2.0

for oMat in (getclassinstances vrayMtl) do
(
oMat.gtr_gamma = fTailFalloff
)

Congrats on season 5 Rens btw, only a month’s rest and right back into it for ya :smile:

Thank you :slight_smile: Will try them out later.

Yeah i completely understand that, though there should be like “generic” settings, which are more or less close to real world. I understand that material vary from one to another , though we all have libraries of materials which we start from, and tweak per reference right ? So that is what i want to know - where i can find what are the “generic” ggx tail foloff setting for “typical” chrome , iron , alluminium , glass , cermamic and etc.

Sure. People have been asking for material libraries for ages, and even the likes of vray-materials.de is full of them - hopefully it’s still popular enough that people start uploading ggx shaders.

The only helpful thing I could think of is to have a reference photo and then use something like the chart in this image to get you in the ballpark - http://help.chaosgroup.com/vray/images/stuff/gtr\_tests/ggx\_render.jpg - Hat tip to Lele for making the effort on this one :slight_smile:

Dave_Wortley,Macker:

great to heard that, i have no doubt to ask my company to upgrade my vray to 3.2 now

thank you very much for the script