SUNRISE STUDIO

Import an original Blender asset

An original asset is a scene you made in Blender, not one exported from the game. The Blender add-on exports it. Studio imports every surface it can encode and lists the rest by name.

Before you start

  • Install the Blender add-on. See Edit an asset in Blender.
  • Use PNG images, one UV set, repeat wrapping and backface culling in your materials.
  • For cut-out leaves or fences, set the material’s blend mode to alpha clip, so it exports as an alpha mask. Alpha blending has no import path.

Export from Blender

  1. Select the objects to export. With nothing selected, the whole scene is exported.
  2. Choose File > Export > Sunrise original asset.
  3. Pick a folder and a name.

The add-on writes two files side by side. Keep them together.

fileholds
<name>.glbmeshes, UVs, normals, materials, images, skins, morph targets and animations, Y-up
<name>.sunrise-original.jsonevery particle system, because glTF cannot hold particles

The export refuses a scene with no mesh.

Import into Studio

  1. Open a project.
  2. Open All other assets in the browser, press its New icon and choose Static prop.
  3. Set Source to Original Blender asset.
  4. Press Browse next to Mesh file and pick <name>.glb.
  5. Read the Surfaces list. Each surface is marked Ready, Absent or Unsupported. Its first line counts the ready and unsupported surfaces. Hover a surface for the detail.
  6. If a surface is Unsupported, set Skip unsupported surfaces to Yes: import the supported surfaces only.
  7. Type a Name and an unused Package ID.
  8. Press Create.

Without Skip, Create stays disabled while a surface is unsupported, so nothing is dropped silently.

Which surfaces import

surfaceimported
mesh geometrytriangle primitives; one static part per primitive
UVsthe first UV set
normalsyes; missing normals are generated from the faces
tangentsgenerated from the UVs; authored tangents have no encoder
texturesPNG images, as BC7 or BC4 2D textures with a full mip chain
materialsbase color, metallic, roughness, tangent normals, emission and alpha masks
vertex colorsyes, the first color set; they multiply the base color
skin weightsno; use Replace a skinned model
skeleton, animations, morph targets, particlesno

With Skip, a skinned mesh imports at its node transform, a morphed mesh imports as its base shape, and point and line primitives are dropped.

How materials convert

Studio clones one of three checked game materials for each glTF material:

glTF materialgame material
opaque, on a primitive without vertex colorsopaque: color, surface and normal textures, and emission
opaque, on a primitive with vertex colorsvertex color: color and normal textures, times the vertex color
alpha mode MASKalpha test: color, mask and normal textures, and its own shadow caster

A material used on primitives with and without vertex colors becomes two game materials.

glTF inputgame input
base color texture and factorthe color texture
base color alpha and factorthe mask texture, for an alpha-masked material
alpha cutoffthe cutoff the mask and its shadow test against; 0.5 by default
metallic texture and factorsurface texture red, opaque only
roughness texture and factorsurface texture green, as smoothness, opaque only
emissive factor and texturethe emission color, masked by the largest channel of the texture, opaque only
normal texture and scalethe normal texture
no normal texturea flat normal

These are refused, or omitted with Skip:

  • alpha blending
  • emission on an alpha-masked material
  • occlusion textures
  • double-sided shading
  • extra UV sets, texture transforms and texture extensions
  • nearest filtering and non-repeat wrapping
  • material extensions
  • images other than PNG

The vertex color material reads no metallic or roughness input. Whether each game material shows its inputs as Blender does is unverified in game.

Native authoring profiles has the exact conversion.

What you get

One model with one part per primitive. Parts of one game material kind share one buffer group. Each part keeps its own material, casts a shadow and draws at every level of detail. Each material brings its textures, and the opaque and vertex color ones a constant buffer. The model has the same limits as a static prop. See Add a static prop.