struct

FSubsurfaceProfile

A .sssprofile asset: how far light travels under a surface, in metres of world space, and which colour channel travels furthest. Materials reference one by path so wax, marble, jade and skin are authored once and shared; the referencing material takes the radius and reach from it when it loads.

Module
AssetSystem
Header
#include "AssetSystem/Assets/SubsurfaceProfile.h"
Namespace
Mowo

Properties

TypeNameDescription
floatRadiusMetersDefault 0.01f.
Vec3ReachDefault Vec3(1.0f, 1.0f, 1.0f).

Public functions

ReturnsNameDescription
boolLoadFalse when the file is missing or unreadable; out is left untouched.
boolSave

Function details

Load

C++
static bool Load(const std::string& path, FSubsurfaceProfile& out)

False when the file is missing or unreadable; out is left untouched.

Save

C++
static bool Save(const std::string& path, const FSubsurfaceProfile& profile)
Generated from AssetSystem/Assets/SubsurfaceProfile.h via assetsystem.json · Dec 5, 2026Version 1.1.0