Studio Yotsuba
Back to Node List

Image to Surface

image_to_surface

Bundles a visible image with optional height, depth, normal, emission, roughness, and material information.

Reviewed
Guide available

Input Ports

NameTypeDescription
Albedo
albedo
Image
Required
Visible color image.
Height
height_map
Image
Optional height map.
Normal
normal_map
Image
Optional normal map.
AO
ao_map
Image
Optional ambient occlusion map.
Emission
emission_map
Image
Optional self-lighting map.
Roughness
roughness_map
Image
Optional roughness map.
Depth
depth_map
Image
Optional normalized depth map. White is in front. Its unit is intentionally unspecified, so use Manual Remap in Surface Composite.

Output Ports

NameTypeDescription
Surface
surface
Surface
Surface assembled from the connected images.
Preview
preview
Image
Albedo preview image.

Parameters

NameTypeDefaultRangeDescription / Options
Material ID
material_id
Text
core:default—

Material assigned to every pixel at first.

Write Material IDs
write_material_ids
Bool
true—

Create a material-id map for the whole image.

Face ID
face_id
Text
surface:default—

Face ID assigned to every pixel at first.

Write Face IDs
write_face_ids
Bool
false—

Create a face-id map for the whole image.

Overview

The entry node for converting an ordinary image into a Surface. It combines the visible image with height, normals, emission, roughness, material IDs, face IDs, and other maps.

You can start by connecting only albedo. Add a height map or emission map later to inspect the lighting in Surface Light Preview.

Usage tips

  • This is the door from 2D assets into lighting. Even without 3D Solid or Model nodes, hand-drawn art plus a height map can use the Surface lighting path.
  • The go-to setup is image_load(絵) → albedo + height_from_image(同じ絵) → height → surface_light_preview, adding light and shadow to hand-drawn art after the fact.
  • For emission from a lamp or magic effect, connect an image containing only the luminous area to emission_map.
  • For isometric assets, add face_id so downstream lighting can vary by face.

Common pitfalls

  • Lighting makes no difference: only albedo is connected, with no height or normals, so the Surface is flat. A height map connected to height is the minimum needed for depth.
  • It is unclear which map has an effect: as with surface_composite, switch the downstream preview between H/N and other submaps and inspect them one at a time.

Examples

  • Connect a brick image to albedo and set material_id=core:brick.
  • Add a height map so only the recessed mortar receives low lighting.
  • Connect an image containing only luminous areas to emission_map for a Surface with lamp or magic emission.
  • For an isometric floor asset, use write_face_ids=ON and face_id=iso:top so later face-based lighting and inspection treat it as a floor.

Related nodes

  • height_from_image — estimates the height map and is the most important companion
  • surface_light_preview — lights the converted Surface
  • quick_shade — beginner-friendly one-node version of this path
  • surface_export — exports a map set for an engine
Back to Node List