Unity Shader学习:SSS次表面散射
原文章地址:http://walkingfat.com/simple-subsurface-scatterting-for-mobile-%EF%BC%88%E4%B8%80%EF%BC%89%E9%80%9A%E9%80%8F%E6%9D%90%E8%B4%A8%E7%9A%84%E6%AC%A1%E8%A1%A8%E9%9D%A2%E6%95%A3%E5%B0%84/
shader部分:
Shader "Unlit/SimpleSSS"
{
Properties
{
_MainTex ("Texture", 2D) = "white" {
}
_Tint("Tint",Color)=(1,1,1,1)
_FrontSurfaceDistortion("FrontSurfaceDistortion",float) = 1
_BackSurfaceDistortion("BackSurfaceDistortion",float) = 1
_InteriorColor("InteriorColor",Color) = (1,1,1,1)
_InteriorColorPower("InteriorColorPower",float) = 1
_FrontSSSIntensity("FrontSSSIntensity",float) = 1
_Gloss("Gloss"