Skip to content

wingstone/PreintegratedSubsurfaceScattering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PreintegratedSubsurfaceScattering

GitHub Stars

This is a completely PreintegratedSubsurfaceScattering unity solution. Used for skin, if you replace the diffusion profile(need modify some code), it is possible to using for other scatter material.

Features

  • Directional curvature calculate tools
  • Indirect light Preintegrated sss lut
  • Direct light linear Preintegrated sss lut
  • Shadow Preintegrated sss lut

Usage

Open this project in Unity, Unity version is 2019.4.17f1.

Bake curvature window in Window/BakeCurvatureWindow.

Generate preintegrated lut window in Window/GeneratePreIntegratedTexWindow.

There are some preintegrated lut in Assets/Human/Texture/lut.

this is a example.

PreintegratedSubsurfaceScattering

Reference

  1. Penner pre-integrated skin rendering (siggraph 2011 advances in real-time rendering course)
  2. GPU Pro 2, Part 2. Rendering, Chapter 1. Pre-Intergrated Skin Shading
  3. Simon's Tech Blog
  4. GPU Gems 1, Real-Time Approximations to Subsurface Scattering
  5. Ghost of Tsushima
  6. 预积分皮肤渲染—次表面散射与高光反射
  7. Estimating Curvatures and Their Derivatives on Triangle Meshes
  8. trimesh2
  9. Crafting a Next-Gen Material Pipeline for The Order: 1886
  10. Pre-integrated Skin Shading Under Spherical Harmonic Indirect Lighting

License

This project is licensed under the terms of the MIT license.

About

Preintegrated Subsurface Scattering

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published