l2_gen_normal_map
Generate normal, height, ambient occlusion, or specular maps from a diffuse texture for L2 asset modding.
Instructions
Generate normal/height/AO/specular maps from a diffuse texture.
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": {
"image_path": "<image_path>"
},
"name": "l2_gen_normal_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blur | No | Pre-blur radius for normals. Default 0.5. | |
| mode | No | Map type: 'normal', 'height', 'ao', 'specular'. Default 'normal'. | |
| output | No | Output PNG path. Auto-generated if empty. | |
| radius | No | AO sampling radius. Default 4. | |
| strength | No | Normal intensity 0.0-5.0. Default 1.0. | |
| image_path | Yes | Absolute path to input texture. |