UDN
Search public documentation:
ScreenSpaceSubsurfaceScattering
日本語訳
中国翻译
한국어
Interested in the Unreal Engine?
Visit the Unreal Technology site.
Looking for jobs and company info?
Check out the Epic games site.
Questions about support via UDN?
Contact the UDN Staff
中国翻译
한국어
Interested in the Unreal Engine?
Visit the Unreal Technology site.
Looking for jobs and company info?
Check out the Epic games site.
Questions about support via UDN?
Contact the UDN Staff
UE3 Home > DirectX 11 in Unreal Engine 3 > Screen Space Subsurface Scattering
UE3 Home > Materials & Textures > Screen Space Subsurface Scattering
UE3 Home > Materials & Textures > Screen Space Subsurface Scattering
Screen Space Subsurface Scattering
Overview


Enabling SSS
SSS Material Parameters


SubsurfaceInscatteringColor
The inscattering color is a color that modulates the light where it enters the object. This is useful for controlling the overall amount and color of subsurface scattering. An example of inscattering color varying from green to red:
SubsurfaceAbsorptionColor
The absorption color is the color that remains after light has reached the scattering radius. The attenuation is an exponential decay from white at the entry point to the absorption color at the radius. Unlike the inscattering color, the absorption color is evaluated only at the point where the light exits the object. An example of absorption color varying from green to red:
SubsurfaceScatteringRadius
The scattering radius defines the maximum distance in world units that light can travel through the object before being completely absorbed. Like the absorption color, it is evaluated at the point where light exits the object. An example of scattering radius varying horizontally:
Content Example
The image below is a basic example of subsurface scattering used to create a character's skin material. You will notice that there is a diffuse texture which is used for phong diffuse and modulated by a color to create the inscattering color. A separate texture is used for the absorption color. The trick to creating a nice skin effect is to balance the lighting contribution of phong and subsurface. Too much subsurface effect will create a glowing or jelly look, while too much phong lighting will cause the character too look dry and hard.