soupday / cc_unity_tools_URP

Package for importing and auto setup of Character Creator (3 & 4) and iClone (7 & 8) character exports for Unity URP Pipeline.
GNU General Public License v3.0
101 stars 26 forks source link

Grained textures artifact #13

Open oprogramadorreal opened 2 years ago

oprogramadorreal commented 2 years ago

Hello! Thanks for the great project.

I'm using Unity 2022.1.3f and release v1.3.1 of this repository.

When importing using "High Quality Materials" I see these grain artifacts on the textures of mannequin's skin as shown below.

artifacts

When using "Basic Materials" the textures look fine.

Am I doing something wrong? Is there an way to workaround this issue? I'd appreciate any help. Thanks!

soupday commented 2 years ago

Banding like that usually means the depth bias is too low or the first split is too narrow in the shadow cascades:

see the shadow settings in the Univeral Pipeline Assets at - Project: Assets/Settings/UniversalRP_*

(Similar question in the RL forum thread: https://forum.reallusion.com/FindPost509751.aspx)

oprogramadorreal commented 2 years ago

Thanks for the quick response!

Actually the color banding is not my issue. What is bothering me is the grainy pattern that can be easily seen in the dark areas of the picture I posted. I tried changing the shadow settings as you suggested but it seems it's not related to the shadows at all.

I was using version 0.2.1 and everything was fine. The issue only started when I updated to 1.3.1.

I better highlighted the issue in this picture: artifacts2

Thanks again!

soupday commented 2 years ago

Is it possible to reproduce this reliably?

I can't get these dithered artifacts to appear for me in URP. (I can get something that looks similar in HDRP using high shadow filter quality, but URP has no such setting.)

The dither pattern itself is very strange, There's nothing in the skin shader that would cause such an effect, and it's almost regular pattern makes it look like a screen space post processing effect. Are you using any additional or 3rd party post processing or visual effects?

If so the Amplify shaders might be interfering with something. You could try switching to the original shader graph versions: Press the 'Gear' button at the bottom of the importer window. It will bring up the options, there you can turn off the Amplify shaders. Rebuild the materials after that and see if it still does it.

oprogramadorreal commented 2 years ago

Hey @soupday, turning off the Amplify shaders solved the issue. I do have some 3rd party assets imported such as "Feel" and "Epic Toon FX" but none of them was being used in the scene that I'm importing this mannequin. Anyway, thanks for the solution. Can I keep going without these amplify shaders or am I gonna miss something in the future? Thanks!

487777794kkkk commented 1 year ago

你好,我使用插件打包的时候出现这个情况,有解决的办法吗,我使用的2020.3.36版本 360截图17661017106125146

487777794kkkk commented 1 year ago

D:\Desktop\cc_unity_tools_URP-main\Runtime\PhysicsSettingsStore.cs(8,60): error CS0426: The type name 'ColliderSettings' does not exist in the type 'ColliderManager'

487777794kkkk commented 1 year ago

D:\Desktop\cc_unity_tools_URP-main\Runtime\PhysicsSettingsStore.cs(7,56): error CS0426: The type name 'PhysicsSettings' does not exist in the type 'WeightMapper'