make_normal_map
Make a normal map for an image asset, for 2D lights in a game engine: which way each pixel faces, so a moving light shades it. The shape comes from a depth model, the drawn detail from the picture. PNG at the picture's own size, OpenGL style (green = up: Godot and Unity read it as is; flip green for Unreal). Pass frameId (from get_asset) for an edit, or an animation (one map per frame); leave it out for the image itself. Free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "make_normal_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Asset ID (from list_assets / get_asset or a previous result) | |
| frameId | No | Optional: the frame (an edit or an animation, from get_asset) to make it for. Empty = the image itself. |