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
This is just a suggestion to possibly improve the appearance of 3DS models.
It has been implemented on my end and it seems to be looking a bit better. The specular and specularMap have been re-routed to specularColor and specularColorMap properties of the MeshPhysicalMaterial.
For those who would like to try it just use my online 3DS Viewer and enter the following URL in the viewer's URL textbox:
I'm afraid you can't just assign specular and specularMap from MeshPhongMaterial to the specular properties of PBR materials since they are different things.
The specular map of MeshPhongMaterial isn't a real color map which is explained in #7290. The question is now how is the specular map of the 3DS format defined? Is it supposed to be a color map?
@Mugen87 thank you for taking the time to reply, I always learn something new.
I will just leave it as it is on my end since, to me, these 3DS models do look better with a bit of metalness and roughness.
Users have nothing to lose by trying their models in my viewer, it shouldn't be much different than if they were making similar changes to their models in the three.js editor.
Description
This is just a suggestion to possibly improve the appearance of 3DS models.
It has been implemented on my end and it seems to be looking a bit better. The
specular
andspecularMap
have been re-routed tospecularColor
andspecularColorMap
properties of the MeshPhysicalMaterial.For those who would like to try it just use my online 3DS Viewer and enter the following URL in the viewer's URL textbox:
https://raw.githubusercontent.com/mrdoob/three.js/master/examples/models/3ds/portalgun/portalgun.3ds, https://raw.githubusercontent.com/mrdoob/three.js/master/examples/models/3ds/portalgun/textures/
Here is the picture of what it might look like:
Solution
As suggested above, my 3DS Viewer is already using a customized TDSLoader.js file whose code is available here.
Alternatives
Alternative solution is not to change anything in the TDSLoader.js file and keep using it as it is.
Additional context
No response
The text was updated successfully, but these errors were encountered: