{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "scenario-labs-blender-plugin--generate-pbr-materials-for-a-mesh",
 "repo": "scenario-labs/blender-plugin",
 "repo_url": "https://github.com/scenario-labs/blender-plugin",
 "repo_slug": "scenario-labs-blender-plugin",
 "title": "Generate a PBR material set and apply it to a mesh",
 "page_title": "How to generate a PBR material set and apply it to a mesh with Blender Plugin",
 "summary": "Create a saved PBR texture set with Scenario and assign it to one chosen material slot.",
 "who": "A 3D artist or environment modeler who has a finished mesh in Blender and needs a surface texture set faster than hand painting.",
 "problem": "Texturing a mesh by hand takes time, and a generated texture set must be applied without overwriting other material slots.",
 "outcome": "A saved PBR texture set that is applied explicitly to the material slot you pick, with the generation kept in Generations.",
 "steps": [
  "Turn on Allow Online Access under Edit > Preferences > System > Network, then add the official repository at https://blender.scenario.com/repo/index.json under Get Extensions > Repositories and install Scenario.",
  "Create an API key in Scenario under Organization settings > API Keys, then paste the key and secret under Edit > Preferences > Add-ons > Scenario and press Test connection.",
  "Select the mesh in the 3D viewport, press N, open Scenario and choose the Materials lane.",
  "Enter a prompt, review the displayed CU estimate, then press Generate.",
  "Open the saved result in Generations and apply the texture set to the chosen mesh material slot."
 ],
 "agent_prompt": "Using the scenario-labs/blender-plugin extension in Blender 5.0 or later, generate a saved PBR texture set for the mesh named <mesh name> and apply it only to the material slot <slot name>. Report the saved set name and the CU estimate shown before Generate. Verify that the other material slots on the mesh are unchanged.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "60 minutes",
 "basis": "readme",
 "caveat": "Generations and prompt helpers spend CU, so review the estimate shown before each Generate.",
 "category": "Content",
 "tags": [
  "Content"
 ],
 "lang": "python",
 "requirements": [
  "Blender 5.0 or later",
  "A Scenario account with API access, an API key and its secret",
  "Allow Online Access enabled under Edit > Preferences > System > Network",
  "Creative Units (CU) to spend on generations and prompt helpers"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The API key and secret are stored in Blender preferences rather than an OS keychain, so anyone with access to that Blender profile can read them."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/scenario-labs-blender-plugin/generate-pbr-materials-for-a-mesh/",
 "md": "https://dedupedai.com/use-cases/scenario-labs-blender-plugin/generate-pbr-materials-for-a-mesh/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/scenario-labs-blender-plugin--generate-pbr-materials-for-a-mesh.json",
 "api_version": "v1"
}
