Texture Switcher
Sample project that demonstrates how to dynamically load textures using Sceneform.
You can find more information about this topic in "Dynamic textures in Sceneform" article on medium.
Requirements
- Android Studio 3.2.1 or higher
- Kotlin 1.3.0 or higher
- Scenefrom 1.5.1 or higher
- Android 24 + Devices with AR support (see how to build on emulator)
Includes
- Custom material definition
- Diffuse, metallic, roughness and normal texture maps support
- Fake object and default textures for it
- Applying custom material to object
- Retrieving custom material from fake object
- Applying textures to object dynamically