فهرست منبع

Updated builds.

Mr.doob 7 ماه پیش
والد
کامیت
b8167d7e97
4فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      build/three.webgpu.js
  2. 0 0
      build/three.webgpu.min.js
  3. 1 1
      build/three.webgpu.nodes.js
  4. 0 0
      build/three.webgpu.nodes.min.js

+ 1 - 1
build/three.webgpu.js

@@ -25805,7 +25805,7 @@ const createRadianceContext = ( roughnessNode, normalViewNode ) => {
 				reflectVec = positionViewDirection.negate().reflect( normalViewNode );
 				reflectVec = positionViewDirection.negate().reflect( normalViewNode );
 
 
 				// Mixing the reflection with the normal is more accurate and keeps rough objects from gathering light from behind their tangent plane.
 				// Mixing the reflection with the normal is more accurate and keeps rough objects from gathering light from behind their tangent plane.
-				reflectVec = roughnessNode.mul( roughnessNode ).mix( reflectVec, normalViewNode ).normalize();
+				reflectVec = pow4( roughnessNode ).mix( reflectVec, normalViewNode ).normalize();
 
 
 				reflectVec = reflectVec.transformDirection( cameraViewMatrix );
 				reflectVec = reflectVec.transformDirection( cameraViewMatrix );
 
 

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
build/three.webgpu.min.js


+ 1 - 1
build/three.webgpu.nodes.js

@@ -25805,7 +25805,7 @@ const createRadianceContext = ( roughnessNode, normalViewNode ) => {
 				reflectVec = positionViewDirection.negate().reflect( normalViewNode );
 				reflectVec = positionViewDirection.negate().reflect( normalViewNode );
 
 
 				// Mixing the reflection with the normal is more accurate and keeps rough objects from gathering light from behind their tangent plane.
 				// Mixing the reflection with the normal is more accurate and keeps rough objects from gathering light from behind their tangent plane.
-				reflectVec = roughnessNode.mul( roughnessNode ).mix( reflectVec, normalViewNode ).normalize();
+				reflectVec = pow4( roughnessNode ).mix( reflectVec, normalViewNode ).normalize();
 
 
 				reflectVec = reflectVec.transformDirection( cameraViewMatrix );
 				reflectVec = reflectVec.transformDirection( cameraViewMatrix );
 
 

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
build/three.webgpu.nodes.min.js


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است

粤ICP备19079148号