We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e21088 commit 820a605Copy full SHA for 820a605
src/renderers/shaders/ShaderLib/meshphysical.glsl.js
@@ -177,9 +177,9 @@ void main() {
177
178
#ifdef USE_SHEEN
179
180
- float sheen = max3( material.sheenColor );
+ float sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor );
181
182
- outgoingLight = outgoingLight * ( 1.0 - 0.157 * sheen ) + sheenSpecular;
+ outgoingLight = outgoingLight * sheenEnergyComp + sheenSpecular;
183
184
#endif
185
0 commit comments