You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As @Mugen87 suggested here I'm submitting this issue regarding Material color effecting the Texture color.
I can confirm that changing the THREE.Color RGB from (0,0,0) to (1,1,1) does resolve this issue but, as you can see on the link above, that issue does not occur on Blend4Web or Sketchfab.
I thought that the reason may be multiplying any value with 0 will always resolve in 0 but changing it (on debugger) to (0.01, 0.01, 0.01) didn't resolved this issue.
The text was updated successfully, but these errors were encountered:
Specifies that a color texture file or color procedural texture file is
linked to the diffuse reflectivity of the material. During rendering,
the map_Kd value is multiplied by the Kd value.
Looks like everybody else has a bug and three-js is actually doing what it supposed to do.
0 multiplied by anything is 0 . . .
my mtl file:
newmtl Tshirt04:lambert1SG
illum 4
Kd 0.00 0.00 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
map_Kd 27.jpg
Ni 1.00
newmtl polySurface20SG
illum 4
Kd 0.00 0.00 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
newmtl polySurface20SG1
illum 4
Kd 0.00 0.00 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
Ni 1.00
As you can see in the Tshirt04:lambert1SG partition the Kd is 0.00 0.00 0.00
@Mugen87 please close this issue if you agree with me.
Three.js version
Browser
OS
As @Mugen87 suggested here I'm submitting this issue regarding Material color effecting the Texture color.
I can confirm that changing the THREE.Color RGB from (0,0,0) to (1,1,1) does resolve this issue but, as you can see on the link above, that issue does not occur on Blend4Web or Sketchfab.
I thought that the reason may be multiplying any value with 0 will always resolve in 0 but changing it (on debugger) to (0.01, 0.01, 0.01) didn't resolved this issue.
The text was updated successfully, but these errors were encountered: