• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS Roughness Clamped Values

Messages
24
Country
us-illinois
Hi,
Something I don't understand is the way how the MSFS Engine is dealing with the roughness.
Looks like the roughness values are clamped. It is not a full range between 0-255.
I presume it is related to PBR physical correct values and computation optimization (less data to compute if you use a range from 50-200 instead of 0-255?).
Do we have some information about the math behind this and if it is "only" a clamp or something like a curve remapping?
 
Messages
936
Country
australia
I think you have to do the experiment.

Attached picture changes roughness and metallic values by 25 each time to produce a grid of 11x11 balls with all values between 0 and 255.

With regards to roughness there isn't much difference between 225 and 255 (full roughness) but there is a difference (although very slight). At 200 you really start to notice the specular highlight starting to form. At the other end of the scale there isn't much difference between 0 (no roughness, it's smooth as glass) and 25 but you can notice at 50.

There are differences but you need to load it into the sim to see.
blendervsmsfs.jpg


Keep in mind each ball is a change of 25 in the RGB values of the metallic/roughness texture. In the second column you can see how a little less metallic has changes the color of the sky reflection. As you go up the rows the rougher surface makes the sun spot reflection larger.
roughness1.jpg


At the rough end of the scale there is a very slight difference between full rough and the next row to the left. It's subtle but you can start to see the sun spot affect the color. In the next row it is more noticeable.
roughness2.jpg


However, in this corner where there is no metallic and no roughness the changes are a lot harder to spot.

roughness3.jpg


I don't think there is clamping of the values. But there are situations where the change is virtually undetectable. In the no metal, full roughness corner changes are imperceptible. As you increase the metallic value the specular reflection becomes more noticeable at the same roughness values.

To appreciate the differences (and effects) you really need to do the experiment.
 
Messages
936
Country
australia
Just for fun, here's the same balls but with a mid grey base colour (compared to the full white in the previous set). I think you can pick up better how the second roughest row (roughness value 225) is starting to develop the specular highlight.

roughness4.jpg
 
Messages
24
Country
us-illinois
@Anthony31 Thank you for your explanation.
This is something I should have done.
I was testing with a single object and tweaking the values but having this spheres pattern is a better way to see the difference.
It is a bit sad that we do not have any technical information from Asobo.
Thanks for your time
 
Top