-
Notifications
You must be signed in to change notification settings - Fork 0
Material AI Studio User Guide
Material AI Studio lets you create, inspect, improve, and validate Unreal Engine materials by describing what you want in a chat window inside the editor.
This guide only covers functions currently visible in the Material AI Studio interface.
- Unreal Engine 5.6
- Windows 64-bit
- Material AI Studio enabled in the project
- Access to DeepSeek, OpenAI, or another OpenAI-compatible API service
- Close Unreal Editor.
- Copy the
MaterialAIStudiofolder into the project'sPluginsfolder. - Open the Unreal Engine project.
- Open
Edit > Plugins. - Search for Material AI Studio.
- Enable the plugin if it is not already enabled.
- Restart Unreal Editor when requested.
Use either method:
- Open
Window > Material AI Studio. - Or click Material AI on the editor toolbar.
The window contains:
- More menu
- Provider selector: DeepSeek, OpenAI, and API (other OpenAI-compatible services).
- Optional model field
- Colored provider status and status text
- Setup Guide when an API key is missing
- Audit Selected
- Improve Copy
- Selected material name
- Conversation area
- Prompt input and Send
Only one provider needs to be ready. Select the provider you want from the top of the window.
The status indicator shows its condition:
- Green: ready
- Amber: checking
- Red: setup is required
Hover over the status to see more information.
After enabling the plugin, run this once in the editor console (open it with the backtick key `):
MaterialAI.BuildFunctionCatalog
This indexes every material function in the engine and the project (a progress bar appears; it takes one to three minutes). Afterwards the assistant knows the exact input and output pins of every material function, which noticeably improves complex materials such as parallax walls and layered surfaces. Without it the plugin still works, with slightly less reliable function wiring. Re-run it after adding many new material functions to the project.
- Select DeepSeek.
- If it is not ready, click Setup Guide.
- Create a DeepSeek API key as instructed.
- Open
Editor Preferences > Plugins > Material AI Studio. - Find the DeepSeek section.
- Paste the key into DeepSeek API Key.
- Return to Material AI Studio.
- Confirm that the status turns green.
DeepSeek is API-key based and runs over native HTTP.
- Select OpenAI.
- If it is not ready, click Open Settings (or Setup Guide).
- Create an API key in your OpenAI API dashboard.
- Open
Editor Preferences > Plugins > Material AI Studio. - Find the OpenAI section.
- Paste the key into OpenAI API Key (or set the
OPENAI_API_KEYenvironment variable). - Optionally change OpenAI Model (default
gpt-4.1). - Return to Material AI Studio and confirm that the status turns green.
OpenAI runs natively over HTTP with an API key. For other OpenAI-compatible services (Moonshot/Kimi, Qwen, OpenRouter, a local Ollama, or any custom endpoint), use the API provider and its OpenAI-Compatible API settings section instead.
Before sending a request:
- Select DeepSeek, OpenAI, or API.
- Check that the provider status is green.
- Review the model field beside the provider selector.
- Keep the displayed default unless you specifically need another model.
- To override it, enter the exact model name supported by your provider.
Changing the provider updates the model field and the connection status.
- Open Material AI Studio.
- Select a ready provider.
- Click the prompt box at the bottom.
- Describe the material you want.
- Include the intended asset name and
/Game/...destination folder. - Include the controls you want exposed to artists.
- Ask for validation at the end.
- Click Send or press
Ctrl+Enter. - Watch the activity strip and progress steps.
- Wait for the final response.
- Click the generated asset button in the response to open it and select it in the Content Browser.
- Review the material and its parameter values.
- Save the project.
Example:
Create a polished red car paint material named
M_CarPaintunder/Game/Materials/CarPaint. Add adjustable base color, roughness, metallic, clear-coat strength, flake intensity, and flake scale. Create a useful default instance and validate the result.
For more reliable results, state:
- What the material represents
- The desired visual style
- The asset name
- The destination folder
- Required adjustable parameters
- Whether an instance should also be created
- Whether the result should be optimized
- Whether the result should be validated
Example:
Create a reusable wet stone material for environment props. Save it as
M_WetStoneunder/Game/Materials/Stone. Add stone color, roughness, normal strength, texture tiling, wetness, puddle amount, and edge darkening controls. Create dry and rainy instances, then validate the result.
Keep using the same conversation when adjusting a generated result.
- Wait for the current request to finish.
- Review the generated material.
- Return to the prompt box.
- Refer to the exact material or instance name.
- Describe only the changes you want.
- State which parts must remain unchanged.
- Click Send.
- Open the asset again from the response and review the changes.
Example:
Keep
M_CarPaintand its current parameters. Make the red darker, reduce the flake intensity, increase clear-coat roughness slightly, and validate it again.
When the conversation is new, the window may show Try a starter suggestions.
- Review the displayed suggestions.
- Click a suggestion that is close to your goal.
- The text is placed in the prompt box.
- Edit names, destination paths, colors, or other requirements.
- Click Send or press
Ctrl+Enter.
Starter prompts are templates. Review and customize them before sending.
Four starters are drawn at random for each new conversation (clearing the conversation draws a new set). When DeepSeek is configured, the pool quietly grows in the background with fresh ideas over time.
Audit Selected checks a master material selected in the Content Browser. It does not require an AI request.
- Open the Content Browser.
- Select one master material asset.
- Return to Material AI Studio.
- Confirm that
Selected: <material name>appears beside the action buttons. - Click Audit Selected.
- Wait for the material to compile.
- Read the audit report added to the conversation.
The report can show:
- Grade and score
- Pixel and vertex instruction counts
- Sampler and texture sample counts
- Errors
- Warnings
- Suggestions
If the button is disabled, confirm that a master material is selected and that another task is not currently running.
Improve Copy asks the selected provider to improve a duplicate of the selected master material.
- Make sure the chosen AI provider is ready.
- Open the Content Browser.
- Select one master material.
- Return to Material AI Studio.
- Confirm that the correct material name is displayed.
- Save the project before continuing.
- Click Improve Copy.
- Watch the activity strip and progress steps.
- Wait for the final response.
- Click the new asset button in the response.
- Compare the new material with the original.
- Review the new parameters and visual result.
- Save the improved asset if you want to keep it.
The new asset normally uses an _AI_Improved suffix. If that name already exists, a numbered suffix may be used. The original selected material is not edited by this button.
While a request is active:
- The activity strip shows the current action.
- Individual progress steps appear in the assistant message.
- A spinner marks the currently running step.
- Completed steps receive a success mark.
- Failed steps receive a failure mark.
- After completion, the steps collapse into a summary.
- Expand the summary to inspect individual steps.
Some complex material requests can take several minutes.
- Click Stop in the activity strip.
- Wait for the status to report that the request stopped.
- Read the latest conversation message.
- Check the Content Browser for any assets created before cancellation.
- Review those assets before deleting, keeping, or continuing the work.
Stopping a request does not automatically remove work completed before cancellation.
- Find the message.
- Click Copy in its top-right corner.
- The full message text is copied to the clipboard.
User messages show a resend button.
- Find your earlier prompt.
- Click its resend button.
- The prompt is placed back into the input box.
- Edit it.
- Click Send.
- Find an asset button below an assistant response.
- Click it.
- Unreal Editor selects the asset in the Content Browser.
- The asset editor opens.
- Scroll upward to review earlier messages.
- When Latest appears, click it.
- The conversation returns to the newest message.
- Click More.
- Select Copy Conversation.
- The full conversation is copied to the clipboard.
- Wait for any running request to finish, or stop it.
- Click More.
- Select Clear Conversation.
- The visible conversation is cleared.
- Start a new request in the prompt box.
Clearing the conversation does not delete materials already created in the project.
The visible More menu contains:
- Copy Conversation: copy all visible messages
- Clear Conversation: clear the current chat
- Write MCP Client Configs: optional advanced configuration; not required for normal in-editor use
- Show Knowledge Topics: display the material topics currently available to the assistant
- Click More.
- Select Show Knowledge Topics.
- Read the topic list added to the conversation.
- Use a relevant topic name or effect description in your next prompt if useful.
The assistant reads a knowledge base of material guides and effect recipes before building. You can extend it without restarting the editor:
- Create a
.mdtext file. The file name becomes the topic name (for exampleour_team_naming_rules.md). - Write your conventions, parameter naming rules, or effect notes in plain English.
- Save the file into
<YourProject>/Saved/MaterialAIStudio/Guides/. - The knowledge is live immediately — confirm with
More > Show Knowledge Topics.
A file with the same name as a built-in topic replaces that topic.
If the project already contains a well-made master material, the assistant can study it (requires a DeepSeek key):
- Open the editor console (backtick key).
- Run:
MaterialAI.LearnMaterial M_YourMasterMaterial - Wait a few minutes; the result is written to the project knowledge folder as
example_<name>. - From then on, requests like "build a material following our master material conventions" use what it learned.
MaterialAI.DistillGuide <topic> <file path> converts a source file, shader file, or notes document into a knowledge guide using DeepSeek. Intended for advanced users.
A practical prompt follows this order:
- Material purpose
- Visual appearance
- Asset name and destination
- Adjustable parameters
- Requested instance variants
- Optimization or validation requirement
Template:
Create a [material type] for [purpose]. It should look [visual description]. Save it as [asset name] under [/Game/path]. Add adjustable [parameter list]. Create [instance variants if needed]. Optimize and validate the result.
Create an animated lava material named
M_Lavaunder/Game/Materials/Lava. Use dark crust, glowing cracks, adjustable flow speed, distortion, emissive intensity, and edge glow. Create one default instance and validate it.
Create a snow-covered rock material named
M_SnowRockunder/Game/Materials/Snow. Add upward-facing snow accumulation, snow amount, sparkle intensity, rock roughness, normal strength, and tiling controls. Create light-snow and heavy-snow instances, then validate it.
Create an architectural glass material named
M_WindowGlassunder/Game/Materials/Glass. Add tint, opacity, roughness, refraction, normal distortion, and edge highlight controls. Keep it suitable for large windows and validate it.
- Select the intended provider.
- Click Setup Guide if visible.
- Follow the API key instructions shown in the conversation.
- Confirm that the status turns green.
Confirm that:
- The selected provider is ready.
- The prompt box contains text.
- No other request is running.
Confirm that:
- A master material is selected in the Content Browser.
- The selected asset name appears in Material AI Studio.
- No other task is running.
Confirm that:
- A master material is selected.
- The selected provider is ready.
- No other request is running.
- Find the final assistant response.
- Look for an asset button under the response.
- Click it to open and select the asset.
- If no asset button appears, read the response for the reported path or error.
- Keep the same conversation.
- Name the material you want to adjust.
- Describe the exact visual or parameter changes.
- State what should remain unchanged.
- Ask for validation again.
- Save the project.
- Open Material AI Studio.
- Select a provider and confirm the green status.
- Enter a clear request with an asset name and destination.
- Send it and monitor progress.
- Open the generated asset from the response.
- Review its appearance and parameters.
- Continue refining it in the same conversation.
- Select the finished master material.
- Run Audit Selected.
- Save the project and submit the assets to source control.