瀏覽代碼

Examples: Restore reference

Mugen87 6 年之前
父節點
當前提交
6459e0c99d
共有 2 個文件被更改,包括 10 次插入0 次删除
  1. 5 0
      examples/js/shaders/TranslucentShader.js
  2. 5 0
      examples/jsm/shaders/TranslucentShader.js

+ 5 - 0
examples/js/shaders/TranslucentShader.js

@@ -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 = {

+ 5 - 0
examples/jsm/shaders/TranslucentShader.js

@@ -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/
+ *------------------------------------------------------------------------------------------
  */
 
 import {