generate_normal_map
Convert sprite alpha into a tangent-space normal map for 3D shading. Specify input and output files, adjust strength to control depth.
Instructions
Generate a deterministic tangent-space normal map from sprite alpha depth.
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": {
"input_filename": "<input_filename>",
"output_filename": "<output_filename>"
},
"name": "generate_normal_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | ||
| strength | No | ||
| input_filename | Yes | ||
| output_filename | Yes |