MaterialConverter
public interface MaterialConverter
Custom converter to convert the geometry’s original material to GLTF’s PBR material.
Methods
Method | Description |
---|---|
call(Material mat) | Custom converter to convert the geometry’s original material to GLTF’s PBR material. |
call(Material mat)
public abstract Material call(Material mat)
Custom converter to convert the geometry’s original material to GLTF’s PBR material.
Parameters:
Parameter | Type | Description |
---|---|---|
mat | Material | Old material instance |
Returns: Material - New material instance