@pixiv/three-vrm-materials-mtoon 3.4.5 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/nodes/index.cjs +1 -1
- package/lib/nodes/index.module.js +1 -1
- package/lib/three-vrm-materials-mtoon.cjs +3 -3
- package/lib/three-vrm-materials-mtoon.min.cjs +1 -1
- package/lib/three-vrm-materials-mtoon.module.js +3 -3
- package/lib/three-vrm-materials-mtoon.module.min.js +1 -1
- package/package.json +4 -4
|
@@ -891,7 +891,7 @@ void main() {
|
|
|
891
891
|
#ifndef PHYSICALLY_CORRECT_LIGHTS
|
|
892
892
|
reflectedLight.directSpecular /= PI;
|
|
893
893
|
#endif
|
|
894
|
-
vec3 rimMix = mix( vec3( 1.0 ), reflectedLight.directSpecular,
|
|
894
|
+
vec3 rimMix = mix( vec3( 1.0 ), reflectedLight.directSpecular, rimLightingMixFactor );
|
|
895
895
|
|
|
896
896
|
vec3 rim = parametricRimColorFactor * pow( saturate( 1.0 - dot( viewDir, normal ) + parametricRimLiftFactor ), parametricRimFresnelPowerFactor );
|
|
897
897
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixiv/three-vrm-materials-mtoon",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.1",
|
|
4
4
|
"description": "MToon (toon material) module for @pixiv/three-vrm",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "pixiv",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
]
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@pixiv/types-vrm-0.0": "3.
|
|
58
|
-
"@pixiv/types-vrmc-materials-mtoon-1.0": "3.
|
|
57
|
+
"@pixiv/types-vrm-0.0": "3.5.1",
|
|
58
|
+
"@pixiv/types-vrmc-materials-mtoon-1.0": "3.5.1"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/three": "^0.180.0",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"three": ">=0.137"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "2c4aac612467216e0c8e7dc4500c2fa309208cc7"
|
|
68
68
|
}
|