|
@@ -1,6 +1,11 @@
|
|
|
/**
|
|
|
* @author daoshengmu / http://dsmu.me/
|
|
|
*
|
|
|
+ * ------------------------------------------------------------------------------------------
|
|
|
+ * Subsurface Scattering shader
|
|
|
+ * Base on GDC 2011 – Approximating Translucency for a Fast, Cheap and Convincing Subsurface Scattering Look
|
|
|
+ * https://colinbarrebrisebois.com/2011/03/07/gdc-2011-approximating-translucency-for-a-fast-cheap-and-convincing-subsurface-scattering-look/
|
|
|
+ *------------------------------------------------------------------------------------------
|
|
|
*/
|
|
|
|
|
|
THREE.TranslucentShader = {
|