CP_SSSSS icon indicating copy to clipboard operation
CP_SSSSS copied to clipboard

How to use it?

Open ZhengzhongSun opened this issue 5 years ago • 2 comments

I follow your instruction to set up the scene as following, but it seems nothing happened.

  1. Put the files into any folder in your .../Assets/Resources folder
  2. Attach the CP_SSSSS_Main script to your main camera
  3. Attach CP_SSSSS_Object script to any Renderer object that you want to have subsurface scattering on

Does I need to set your shader to my model manually? Any suggestion will be appreciated. Thanks!

ZhengzhongSun avatar Mar 02 '19 07:03 ZhengzhongSun

@ZhengzhongSun

Hi, what Unity version are you trying to use it on? Are you using any render pipelines? What shader do you use on your object? Can you show the screenshot of your SSSSS scripts settings?

Does I need to set your shader to my model manually?

No. Its a post process, so its material agnostic and will work with any material/shader that writes into depth buffer.

Anyway, this project is pretty much abandoned at this point, you should better use HDRP instead, they have subsurface scattering there out of the box.

CustomPhase avatar Mar 02 '19 09:03 CustomPhase

ok. I understand it. It works now, but it's not good enough to satisfy our needs. It looks like change the skin color after rendering. I will try the HDRP. Do you have any tutorial about the subsurface scattering in HDRP? Thank you very much!

ZhengzhongSun avatar Mar 02 '19 09:03 ZhengzhongSun