RemyUnity / SG-HDRP-Lit

Shadergraph version of the HDRP/Lit shader.
79 stars 9 forks source link

Smoothness has some sort of issue #1

Open AmitloafTotes opened 5 years ago

AmitloafTotes commented 5 years ago

This is the original lit shader with smooth remap between 0 and 1. image This is the shadergraph version image

Those weird specular-like wet spots disappear when I lower the smoothness remap to about 0.9 so it seems like it is a smoothness issue

FleshMobProductions commented 2 years ago

This might be due to the shader not having a _Smoothness base value. The default smoothness value is usually 0.5, this smoothness parameter should likely be multiplied with the alpha channel of the mask map, and only then be remapped. To check this you can change smooth remap min to 0 and smooth remap max to 0.5 and it should look like the original lit shader with default values.