CustomPhase / CP_SSSSS

Naive screen-space subsurface scattering solution for Unity 5.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use it?

ZhengzhongSun opened this issue · 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

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.

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!