Home

Use AI 3D models in Unity

Every KingDavez Studios generation exports as standard .glb or .fbx β€” formats Unity imports natively. No plugin required for design-time use.

Design-time (drag & drop)

  1. Open a generation in your dashboard and download the FBX (recommended for Unity) or GLB.
  2. Drag the file into your project's Assets/ folder.
  3. Unity auto-imports the mesh, materials, normals, and AO maps. Drag the prefab into your scene.
  4. For PBR: select the material, switch shader to URP/Lit or HDRP/Lit and the maps stay wired.

Runtime GLB loading

// C# β€” runtime GLB import via UnityGLTF or glTFast
// 1) Install glTFast from Package Manager: com.unity.cloud.gltfast
using GLTFast;

var gltf = new GltfImport();
bool ok = await gltf.Load("https://kingdavez.click/path/to/model.glb");
if (ok) gltf.InstantiateMainSceneAsync(transform);

Combine with the REST API to generate models on-demand from your game.

Recommended settings

  • Model: Scale Factor 1, Mesh Compression Off, Read/Write Enabled if you modify at runtime.
  • Materials: Location β†’ Use External Materials (Legacy) to edit them as assets.
  • Animation: None (static meshes).