shader_analyze_complexity
Estimate material shader complexity from graph structure and risk flags to spot performance issues early, with optional optimization suggestions.
Instructions
Estimate Material shader complexity from graph structure and risk flags.
This is a fast technical-art audit, not a compiled instruction count. Pair it with renderer_capture_viewmode or shader_visualize_overdraw for scene-level visual validation.
Args: material_path: Material or Material Instance asset path to inspect include_recommendations: Include optimization suggestions
KB: see knowledge_base/08_MATERIALS_AND_RENDERING.md#overview Example: shader_analyze_complexity(material_path="/Game/MCP_Test/M_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material_path | Yes | ||
| include_recommendations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |