Commit 041d928
MMDLoader: Handle shininess properly (mrdoob#23889)
MMDToonMaterial is derived from MeshToon/Phong/MatcapMaterial.
Similar to MeshPhongMaterial, shininess should have lower limit
to prevent pow(0.0, 0.0) in the shader code.1 parent bc11d94 commit 041d928
1 file changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2133 | 2133 | | |
2134 | 2134 | | |
2135 | 2135 | | |
2136 | | - | |
2137 | 2136 | | |
2138 | 2137 | | |
2139 | 2138 | | |
| |||
2188 | 2187 | | |
2189 | 2188 | | |
2190 | 2189 | | |
| 2190 | + | |
| 2191 | + | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
| 2196 | + | |
| 2197 | + | |
| 2198 | + | |
| 2199 | + | |
| 2200 | + | |
| 2201 | + | |
| 2202 | + | |
| 2203 | + | |
| 2204 | + | |
| 2205 | + | |
| 2206 | + | |
| 2207 | + | |
| 2208 | + | |
2191 | 2209 | | |
2192 | 2210 | | |
2193 | 2211 | | |
| |||
0 commit comments