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.
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. |