Sceneform-android-sdk: Transprent .png image texture appeared as black

Created on 16 Jun 2018  路  2Comments  路  Source: google-ar/sceneform-android-sdk

Converting a obj file with multiple textures in which some are of png format with transparent areas, these areas appeared black after conversion to sfb using Android Studio.

feature request

Most helpful comment

Hi @atul109 Thank you for submitting this issue.
Our .obj import tries to interpret material data per the MTL spec which predates the convention of using diffuse alpha to encode opacity.
Our FBX and GLTF import handles this convention; in the short term it may be worthwhile to export your asset via Blender to fbx or gltf.

In future releases we plan for OBJ import to get 'smarter' about current usage conventions (e.g. many assets use Ka and Ks to name the normal and roughness-metallic textures)

All 2 comments

Hi @atul109 Thank you for submitting this issue.
Our .obj import tries to interpret material data per the MTL spec which predates the convention of using diffuse alpha to encode opacity.
Our FBX and GLTF import handles this convention; in the short term it may be worthwhile to export your asset via Blender to fbx or gltf.

In future releases we plan for OBJ import to get 'smarter' about current usage conventions (e.g. many assets use Ka and Ks to name the normal and roughness-metallic textures)

In future releases we plan for OBJ import to get 'smarter' about current usage conventions (e.g. many assets use Ka and Ks to name the normal and roughness-metallic textures)

any progress on it?

or maybe there is some workaround to make a part of renderable translucent?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

scolar picture scolar  路  4Comments

terezo picture terezo  路  3Comments

chiaolinghong3d picture chiaolinghong3d  路  3Comments

kunal-wayfair picture kunal-wayfair  路  3Comments

tigran-babajanyan picture tigran-babajanyan  路  3Comments