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

Subsurface mask source bug #1

Open
michael430 opened this issue Dec 14, 2016 · 2 comments
Open

Subsurface mask source bug #1

michael430 opened this issue Dec 14, 2016 · 2 comments

Comments

@michael430
Copy link

The Subsurface mask source of the CP_SSSSS_Object seems broken. No matter which source (separate texture/No mask) I use and It alway uses the "Main texture from current material (A)" as the mask.
Am I missing something ?

Btw, It renders great SSS effect in unity! Thank you for sharing.

@CustomPhase
Copy link
Owner

Thanks, glad you like it!
Regarding the issue, i just checked mask options, they all work fine for me. Make sure your texture has alpha channel, thats where the mask is taken from. Heres the screenshot with the custom texture as a mask.
default
Btw, mask only controls subsurface intensity and doesnt control subsurface color at the moment, if thats what you wanted to achieve. Probably will implement that in the future.

@michael430
Copy link
Author

I found out that the mask option issue only occurs on unity editor on Mac, however it works fine on Win. I got no error on my mac, no glue why it is not working on mac, so weird.

In general I think alpha channel to control the subsurface intensity is good enough for now.

Also I believe this plug-in needs to update for unity version 5.5 with inverted -Z depth issue in Dx11.

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