This 3D Model Loader can download and reconstruct 3D Models inside a VRChat World. GLB and VRM are supported.
This reconstructs :
- Meshes
- Materials
- Textures (if pre-converted, see https://feedback.vrchat.com/udon/p/whitelist-imageconversionloadimage-in-udon )
- Scenes
The following are not supported yet :
- Bones ( See https://feedback.vrchat.com/udon/p/whitelist-unityengineboneweight-in-udon )
- Armatures
- Animations
- Blendshapes
- Camera
- Lights
Download the latest release here
demo-vrchat-blender.webm
This uses the following add-on was used to preconvert the textures : https://github.com/vr-voyage/blender-glb-extension-gpu-formats
demo-vrchat-vrm-tex-converter.webm
This uses the following software to preconvert the textures https://github.com/vr-voyage/glb-textures-converter-rust
glb-loader-demo-textures-bc7-360p.mp4
Showcased assets :
- by__Rx's Salty Snack | Firearm | Game Ready
- carlcapu9's Post Apocalyptic Office
You can test the loader in the following world :
https://vrchat.com/home/launch?worldId=wrld_a74abb7d-a423-44bb-a7ea-3bc5e8281dde
https://feedback.vrchat.com/udon/p/whitelist-imageconversionloadimage-in-udon
The method LoadImage being unavailable through Udon, I need to preconvert the textures in advance to be able to use this
https://feedback.vrchat.com/udon/p/whitelist-unityengineboneweight-in-udon
Udon prevents access to the members of the BoneWeight structure. Without this structure, it is impossible to represent the bones weight, making the whole armature support impossible through standard means.