pissang / clay-viewer

3D model viewer with high quality rendering and glTF2.0/GLB export
https://pissang.github.io/clay-viewer/editor/
BSD 3-Clause "New" or "Revised" License
771 stars 97 forks source link

Metalness & Roughness Maps Conversion Not Working Properly #90

Open chiaolinghong3d opened 6 years ago

chiaolinghong3d commented 6 years ago

Hi,

I have been trying to find the best glTF converter for my project. So far I really love Clay Viewer for the easy interface similar to Scenekit, however, I was not able to get a nice combined roughness-metalness map (the orange, green, and megenta thing) for my models (tried both fbx and dae).

I've also been trying Facebook's glTF converter (FBX2glTF), and it generates the map with no problem, and even combine the AO map too, but has issue with transparency...

I still prefer Clay Viewer, but this is very fristrating. Also, there is no Ambient Occlusion slot for the AO map. O.O Wonder if it can be done or I have to manually combine it with Color Map (diffuse) in Photoshop...

roughness metalness empty_map

Thanks! :) Overall really like this converter! :D

pissang commented 6 years ago

Thanks! @chiaolinghong3d . AO map in PBR material is supported in ClayGL and will be added in Clay Viewer soon. Will take a further look at the map combine issue. Perhaps it's broken in the latest version.

chiaolinghong3d commented 6 years ago

@pissang Thank you so much! :D

riccardogiorato commented 5 years ago

Hey @pissang did you add support for Ambient Occlusion? I can't find it in the release version of Clay. Thank you for your awesome work!