Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use it? #6

Open
ZhengzhongSun opened this issue Mar 2, 2019 · 2 comments
Open

How to use it? #6

ZhengzhongSun opened this issue Mar 2, 2019 · 2 comments

Comments

@ZhengzhongSun
Copy link

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!

@CustomPhase
Copy link
Owner

CustomPhase commented Mar 2, 2019

@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.

@ZhengzhongSun
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants