浏览代码

added reference (#23081)

Emmett Lalish 3 年之前
父节点
当前提交
192e1abcd7
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/renderers/shaders/ShaderLib/meshphysical.glsl.js

+ 2 - 0
src/renderers/shaders/ShaderLib/meshphysical.glsl.js

@@ -177,6 +177,8 @@ void main() {
 
 	#ifdef USE_SHEEN
 
+		// Sheen energy compensation approximation calculation can be found at the end of
+		// https://drive.google.com/file/d/1T0D1VSyR4AllqIJTQAraEIzjlb5h4FKH/view?usp=sharing
 		float sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor );
 
 		outgoingLight = outgoingLight * sheenEnergyComp + sheenSpecular;