[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FER0XZM2XNGWNT29FX2PW9":3,"skill-same:01M6FER0XZM2XNGWNT29FX2PW9":47},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M6FER0XZM2XNGWNT29FX2PW9","ue-materials-rendering",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fquodsoler\u002Funreal-engine-skills\u002Fue-materials-rendering\u002FSKILL.md",[],[18,19],"rendering","ue materials rendering","2026-11-10 10:12:30",false,"# UE Materials and Rendering\n\nYou are an expert in Unreal Engine's material and rendering systems. You provide accurate C++ patterns for dynamic materials, parameter collections, post-process, render targets, decals, and UE5 rendering features (Nanite, Lumen, Virtual Shadow Maps).\n\n---\n\n## Step 1: Read Project Context\n\nRead `.agents\u002Fue-project-context.md` before giving advice. From it, extract:\n\n- **Engine version** — UE5.0–5.4 APIs differ (e.g., `SetNaniteOverride` added in 5.x; `CopyScalarAndVectorParameters` signature changed in 5.7)\n- **Target platforms** — Mobile requires forward rendering; many post-process features are desktop-only\n- **Rendering settings** — Nanite\u002FLumen enabled status affects which material features are safe\n- **Module names** — needed for correct `#include` paths and `Build.cs` dependencies\n\nIf the context file is missing, ask for engine version and target platforms before proceeding.\n\n---\n\n## Step 2: Clarify the Rendering Need\n\nAsk which area the user needs:\n\n1. **Dynamic Material Instances (MID)** — runtime parameter changes on mesh components\n2. **Material Parameter Collections** — global parameters shared across all materials\n3. **Post-Process** — bloom, exposure, color grading, DOF, AO via volumes or components\n4. **Render Targets** — scene capture, minimap, security camera, canvas drawing\n5. **Decals** — deferred decals spawned at runtime, fade, sort order\n6. **Rendering Pipeline \u002F UE5 Features** — Nanite, Lumen, Virtual Shadow Maps, custom depth\u002Fstencil\n\nMultiple areas can be combined.\n\n---\n\n## Core Patterns\n\n### 1. Dynamic Material Instances (MID)\n\n#### Creation\n\n**Pattern A — from UMaterialInterface (standalone, not tied to a component slot):**\n\n```cpp\n\u002F\u002F Header\nUPROPERTY()\nTObjectPtr\u003CUMaterialInstanceDynamic> MyMID;\n\n\u002F\u002F Implementation — call once (BeginPlay or equivalent), cache the result\nUMaterialInterface* BaseMat = LoadObject\u003CUMaterialInterface>(\n    nullptr, TEXT(\"\u002FGame\u002FMaterials\u002FM_MyBase.M_MyBase\"));\n\nMyMID = UMaterialInstanceDynamic::Create(BaseMat, this);\n```\n\n**Pattern B — via component slot (preferred for meshes):**\n\n```cpp\n\u002F\u002F UMeshComponent::CreateDynamicMaterialInstance creates a MID for the given\n\u002F\u002F element index and assigns it to the slot automatically.\n\u002F\u002F Signature: CreateDynamicMaterialInstance(int32 ElementIndex,\n\u002F\u002F                UMaterialInterface* SourceMaterial = nullptr,\n\u002F\u002F                FName OptionalName = NAME_None)\n\nUMaterialInstanceDynamic* MID = MeshComponent->CreateDynamicMaterialInstance(\n    0,            \u002F\u002F element index\n    nullptr,      \u002F\u002F nullptr = use the slot's current material as parent\n    TEXT(\"MyMID\") \u002F\u002F optional debug name\n);\n```\n\nSource: `MaterialInstanceDynamic.h`, `PrimitiveComponent.h`. Build.cs: `\"Engine\"`.\n\n#### Setting Parameters\n\n```cpp\nMyMID->SetScalarParameterValue(TEXT(\"Opacity\"), 0.5f);\nMyMID->SetVectorParameterValue(TEXT(\"BaseColor\"), FLinearColor(1.f, 0.2f, 0.1f, 1.f));\nMyMID->SetVectorParameterValue(TEXT(\"Offset\"), FLinearColor(0.f, 0.f, 100.f, 0.f)); \u002F\u002F XYZ via FLinearColor\nMyMID->SetTextureParameterValue(TEXT(\"DamageMask\"), MyTexture);\nMyMID->SetTextureParameterValue(TEXT(\"SecurityFeed\"), RenderTargetAsset); \u002F\u002F RT as texture\n```\n\nFull setter signatures from `MaterialInstanceDynamic.h`:\n```cpp\nvoid SetScalarParameterValue(FName ParameterName, float Value);\nvoid SetVectorParameterValue(FName ParameterName, FLinearColor Value);  \u002F\u002F Pass FLinearColor; no implicit conversion from FVector\nvoid SetTextureParameterValue(FName ParameterName, UTexture* Value);\n```\n\n#### High-Frequency Updates — Index-Based API\n\nWhen setting dozens of parameters per frame (rare but valid), use index caching:\n\n```cpp\n\u002F\u002F In BeginPlay or initialization — call once per parameter name:\nint32 OpacityIndex = -1;\nMyMID->InitializeScalarParameterAndGetIndex(TEXT(\"Opacity\"), 1.0f, OpacityIndex);\n\n\u002F\u002F In Tick — use index, no name lookup:\nif (OpacityIndex >= 0)\n{\n    MyMID->SetScalarParameterByIndex(OpacityIndex, NewOpacity);\n}\n```\n\nIndex is invalidated if the parent material changes. Do not share indices across different MID instances.\n\n#### MID Lifecycle and GC\n\nMIDs are `UObject`s — they are garbage collected when unreferenced. To keep a MID alive:\n\n```cpp\n\u002F\u002F In your class header — must be UPROPERTY to prevent GC\nUPROPERTY()\nTObjectPtr\u003CUMaterialInstanceDynamic> CachedMID;\n```\n\nNever store MIDs in raw pointers or local variables across frames.\n\n#### Additional MID Operations\n\n```cpp\n\u002F\u002F Lerp between two instances' scalar\u002Fvector params\nMyMID->K2_InterpolateMaterialInstanceParams(InstanceA, InstanceB, Alpha);\n\n\u002F\u002F Assign Nanite-compatible override material (UE5)\nMyMID->SetNaniteOverride(NaniteCompatibleMaterial);\n```\n\n---\n\n### 2. Material Parameter Collections\n\n`UMaterialParameterCollection` is an asset holding scalar and vector parameters accessible from any material via `CollectionParameter` expression. One GPU buffer update propagates to all referencing materials. Source: `MaterialParameterCollection.h`, `MaterialParameterCollectionInstance.h`.\n\n#### Setting Parameters at Runtime\n\n```cpp\n\u002F\u002F MyCollection is a UPROPERTY(EditAnywhere) pointing to the MPC asset.\nUPROPERTY(EditAnywhere, Category=\"Rendering\")\nTObjectPtr\u003CUMaterialParameterCollection> GlobalRenderingCollection;\n\n\u002F\u002F At runtime — get the per-world instance and set values:\nvoid AMyActor::UpdateGlobalWeather(float RainIntensity, FLinearColor FogColor)\n{\n    UMaterialParameterCollectionInstance* Instance =\n        GetWorld()->GetParameterCollectionInstance(GlobalRenderingCollection);\n\n    if (Instance)\n    {\n        Instance->SetScalarParameterValue(TEXT(\"RainIntensity\"), RainIntensity);\n        Instance->SetVectorParameterValue(TEXT(\"FogColor\"), FogColor);\n    }\n}\n```\n\nBoth setters return `false` if the parameter name is not found. Names are case-sensitive. Limits: max 1024 scalars + 1024 vectors per collection; no texture parameters; global to the world instance.\n\n---\n\n### 3. Post-Process Volumes\n\n`APostProcessVolume` wraps `FPostProcessSettings` and controls how the camera is rendered when inside (or globally when `bUnbound = true`).\n\nFrom `PostProcessVolume.h`:\n```cpp\nstruct FPostProcessSettings Settings; \u002F\u002F The settings payload\nfloat Priority;      \u002F\u002F Higher priority wins on overlap (undefined order when equal)\nfloat BlendRadius;   \u002F\u002F World-space blend distance in cm (only when bUnbound = false)\nfloat BlendWeight;   \u002F\u002F 0 = no effect, 1 = full effect\nuint32 bEnabled:1;\nuint32 bUnbound:1;   \u002F\u002F true = applies globally regardless of camera position\n```\n\n#### Modifying a Post-Process Volume from C++\n\n```cpp\n\u002F\u002F Assume PostProcessVolume is assigned or found:\nAPostProcessVolume* PPV = \u002F* find or spawn *\u002F;\n\n\u002F\u002F Enable and configure\nPPV->bEnabled = true;\nPPV->bUnbound = true; \u002F\u002F global effect\nPPV->BlendWeight = 1.0f;\n\n\u002F\u002F Bloom\nPPV->Settings.bOverride_BloomIntensity = true;\nPPV->Settings.BloomIntensity = 0.5f;\n\n\u002F\u002F Auto Exposure\nPPV->Settings.bOverride_AutoExposureMinBrightness = true;\nPPV->Settings.AutoExposureMinBrightness = 0.1f;\nPPV->Settings.bOverride_AutoExposureMaxBrightness = true;\nPPV->Settings.AutoExposureMaxBrightness = 2.0f;\n\n\u002F\u002F Depth of Field (Cinematic DOF)\nPPV->Settings.bOverride_DepthOfFieldFstop = true;\nPPV->Settings.DepthOfFieldFstop = 2.8f;\nPPV->Settings.bOverride_DepthOfFieldFocalDistance = true;\nPPV->Settings.DepthOfFieldFocalDistance = 300.0f; \u002F\u002F cm\n\n\u002F\u002F Ambient Occlusion\nPPV->Settings.bOverride_AmbientOcclusionIntensity = true;\nPPV->Settings.AmbientOcclusionIntensity = 0.5f;\n\n\u002F\u002F Vignette\nPPV->Settings.bOverride_VignetteIntensity = true;\nPPV->Settings.VignetteIntensity = 0.4f;\n\n\u002F\u002F Color Grading\nPPV->Settings.bOverride_ColorSaturation = true;\nPPV->Settings.ColorSaturation = FVector4(1.2f, 1.0f, 0.8f, 1.0f); \u002F\u002F per-channel RGBA\nPPV->Settings.bOverride_FilmSlope = true;\nPPV->Settings.FilmSlope = 0.88f; \u002F\u002F 0–1 (default 0.88)\n```\n\nEvery field in `FPostProcessSettings` has a corresponding `bOverride_*` bool that must be set to `true` for the value to take effect. See `references\u002Fpost-process-settings.md` for a full field reference.\n\n#### Post-Process Materials (Blendables)\n\nMaterial Domain must be \"Post Process\". Add via:\n```cpp\nPPV->AddOrUpdateBlendable(PostProcessMaterial, 1.0f); \u002F\u002F weight 0.0–1.0\n```\n\n#### UPostProcessComponent (Actor-Owned)\n\n```cpp\n\u002F\u002F Constructor\nPostProcessComp = CreateDefaultSubobject\u003CUPostProcessComponent>(TEXT(\"PostProcess\"));\nPostProcessComp->bUnbound = true;\nPostProcessComp->Priority = 5.0f;\n\n\u002F\u002F Runtime\nPostProcessComp->Settings.bOverride_BloomIntensity = true;\nPostProcessComp->Settings.BloomIntensity = 1.5f;\n```\n\nIncludes: `\"Components\u002FPostProcessComponent.h\"`, `\"Engine\u002FPostProcessVolume.h\"`, `\"Engine\u002FScene.h\"`.\n\n---\n\n### 4. Render Targets\n\n#### Creating a Render Target in C++\n\n```cpp\n#include \"Engine\u002FTextureRenderTarget2D.h\"\n#include \"Kismet\u002FKismetRenderingLibrary.h\"\n\n\u002F\u002F Option A — via UKismetRenderingLibrary (handles resource init automatically)\nUTextureRenderTarget2D* RT = UKismetRenderingLibrary::CreateRenderTarget2D(\n    this,          \u002F\u002F WorldContextObject\n    512,           \u002F\u002F Width\n    512,           \u002F\u002F Height\n    RTF_RGBA16f,   \u002F\u002F Format (see ETextureRenderTargetFormat)\n    FLinearColor::Black,\n    false          \u002F\u002F bAutoGenerateMipMaps\n);\n\n\u002F\u002F Option B — manual creation\nUTextureRenderTarget2D* RT = NewObject\u003CUTextureRenderTarget2D>(this);\nRT->InitCustomFormat(512, 512, PF_FloatRGBA, \u002F*bInForceLinearGamma=*\u002Ftrue);\nRT->UpdateResourceImmediate(\u002F*bClearRenderTarget=*\u002Ftrue);\n```\n\n`ETextureRenderTargetFormat` values from `TextureRenderTarget2D.h`:\n| Format | Channels | Bits\u002FChannel | Use Case |\n|--------|----------|-------------|----------|\n| `RTF_RGBA8` | RGBA | 8 fixed | LDR color, UI |\n| `RTF_RGBA8_SRGB` | RGBA | 8 fixed | sRGB color |\n| `RTF_RGBA16f` | RGBA | 16 float | HDR color (default) |\n| `RTF_RGBA32f` | RGBA | 32 float | High precision data |\n| `RTF_R16f` | R | 16 float | Single channel data |\n| `RTF_RGB10A2` | RGB+A | 10+2 bit | Display output |\n\n#### Scene Capture (Security Camera \u002F Minimap)\n\n```cpp\n#include \"Components\u002FSceneCaptureComponent2D.h\"\n\n\u002F\u002F In actor constructor\nSceneCapture = CreateDefaultSubobject\u003CUSceneCaptureComponent2D>(TEXT(\"SceneCapture\"));\nSceneCapture->SetupAttachment(RootComponent);\nSceneCapture->FOVAngle = 90.f;\nSceneCapture->CaptureSource = ESceneCaptureSource::SCS_FinalColorLDR; \u002F\u002F or SCS_SceneColorHDR\nSceneCapture->bCaptureEveryFrame = true;  \u002F\u002F continuous update\n\n\u002F\u002F Assign a render target asset or a runtime-created one\nSceneCapture->TextureTarget = MyRenderTargetAsset;\n\n\u002F\u002F Limit what's captured for performance\nSceneCapture->ShowFlags.SetAtmosphere(false);\nSceneCapture->ShowFlags.SetFog(false);\n```\n\n#### Drawing a Material to a Render Target\n\n```cpp\n\u002F\u002F Renders a full-screen quad with Material applied to TextureTarget.\n\u002F\u002F This is expensive (sets render target each call); use canvas API for batching.\nUKismetRenderingLibrary::DrawMaterialToRenderTarget(\n    this,         \u002F\u002F WorldContextObject\n    RT,           \u002F\u002F UTextureRenderTarget2D*\n    MyMaterial    \u002F\u002F UMaterialInterface*\n);\n```\n\n#### Canvas Drawing (Batched)\n\n```cpp\nUCanvas* Canvas;\nFVector2D CanvasSize;\nFDrawToRenderTargetContext Context;\n\nUKismetRenderingLibrary::BeginDrawCanvasToRenderTarget(this, RT, Canvas, CanvasSize, Context);\n\n\u002F\u002F Draw primitives to Canvas here...\nCanvas->K2_DrawMaterial(MyMaterial, FVector2D(0, 0), CanvasSize, FVector2D(0, 0), FVector2D(1, 1));\n\nUKismetRenderingLibrary::EndDrawCanvasToRenderTarget(this, Context);\n```\n\n**`UCanvasRenderTarget2D`** — subclass of `UTextureRenderTarget2D` with a built-in `OnCanvasRenderTargetUpdate` delegate. Use for automatic 2D canvas redraw (minimaps, runtime texture painting) instead of manual `BeginDrawCanvasToRenderTarget` calls.\n\n#### Reading Pixels (GPU Stall — Offline Only)\n\n```cpp\n\u002F\u002F WARNING: stalls GPU pipeline. Editor tools \u002F screenshot only, never per-frame.\nFColor Pixel = UKismetRenderingLibrary::ReadRenderTargetPixel(this, RT, X, Y);\nTArray\u003CFColor> Pixels;\nUKismetRenderingLibrary::ReadRenderTarget(this, RT, Pixels);               \u002F\u002F whole RT, 8-bit sRGB\nFLinearColor Raw = UKismetRenderingLibrary::ReadRenderTargetRawPixel(this, RT, X, Y);\n```\n\n---\n\n### 5. Decals\n\n`UDecalComponent` projects a material onto surfaces. Key API from `DecalComponent.h`:\n\n```cpp\nvoid SetDecalMaterial(UMaterialInterface* NewDecalMaterial);\nUMaterialInstanceDynamic* CreateDynamicMaterialInstance(); \u002F\u002F MID on the decal\nvoid SetFadeOut(float StartDelay, float Duration, bool DestroyOwnerAfterFade = true);\nvoid SetFadeIn(float StartDelay, float Duration);\nvoid SetSortOrder(int32 Value);  \u002F\u002F higher = draws on top\nvoid SetLifeSpan(float LifeSpan);\nFVector DecalSize; \u002F\u002F local-space extent (not component scale)\n```\n\n#### Spawning Decals at Runtime\n\n```cpp\n\u002F\u002F 0.0f lifespan = persistent; >0.0f = auto-destroy after N seconds\nUDecalComponent* Decal = UGameplayStatics::SpawnDecalAtLocation(\n    this, DecalMaterial, FVector(200.f), HitLocation, HitNormal.Rotation(), 0.0f);\n\n\u002F\u002F Dynamic parameters on the decal\nUMaterialInstanceDynamic* DecalMID = Decal->CreateDynamicMaterialInstance();\nDecalMID->SetScalarParameterValue(TEXT(\"Opacity\"), 0.8f);\n```\n\n#### DBuffer vs Non-DBuffer Decals\n\n- **DBuffer** (Translucent + DBuffer enabled): writes before lighting, affects diffuse\u002Fnormals\u002Froughness. Enable via `Project Settings > Rendering > DBuffer Decals`.\n- **Non-DBuffer**: rendered after lighting, emissive\u002Fopacity only; cheaper but limited.\n\nFor level-placed decals, use `ADecalActor` (a wrapper around `UDecalComponent`). For runtime-spawned decals, prefer `UGameplayStatics::SpawnDecalAtLocation` or `SpawnDecalAttached`.\n\n---\n\n### 6. Nanite and Lumen (UE5)\n\n#### Nanite\n\nNanite is UE5's virtualized geometry system. Material compatibility rules:\n\n| Feature | Nanite Compatible |\n|---------|------------------|\n| Opaque materials | Yes |\n| Two-sided materials | Yes |\n| Masked materials | Yes (with `r.Nanite.AllowMaskedMaterials=1`) |\n| Translucent materials | No — falls back to non-Nanite path |\n| World Position Offset (WPO) | Supported in UE 5.1+ (`bEvaluateWorldPositionOffset` on mesh) |\n| Pixel Depth Offset | No |\n| Custom vertex normals via shader | Limited |\n\nCheck at runtime:\n```cpp\n\u002F\u002F Check if a static mesh component is using Nanite (IsNaniteEnabled is on UStaticMesh, not on the component)\nbool bIsNanite = StaticMeshComponent->GetStaticMesh() && StaticMeshComponent->GetStaticMesh()->IsNaniteEnabled();\n```\n\nOverride material for Nanite path:\n```cpp\nMyMID->SetNaniteOverride(NaniteCompatibleMaterial);\n```\n\n#### Lumen\n\nLumen is UE5's dynamic GI and reflections system. Emissive surfaces can act as lights. Translucent surfaces are not traced by default. Control quality via post-process settings:\n\n```cpp\nPPV->Settings.bOverride_LumenReflectionQuality = true;\nPPV->Settings.LumenReflectionQuality = 1.0f;         \u002F\u002F 0–4\n\nPPV->Settings.bOverride_LumenSceneDetail = true;\nPPV->Settings.LumenSceneDetail = 1.0f;               \u002F\u002F surface cache resolution multiplier\n\nPPV->Settings.bOverride_LumenSceneLightingQuality = true;\nPPV->Settings.LumenSceneLightingQuality = 1.0f;\n```\n\nPerformance: `r.Lumen.SurfaceCache.UpdateDownsampleFactor` controls cache update rate.\n\n#### Deferred vs Forward Rendering\n\n**Deferred vs Forward**: UE5 desktop uses deferred rendering by default — geometry writes to GBuffer, then lighting is computed per-pixel. Forward rendering (mobile, VR) processes lighting per-object, supports MSAA, but limits dynamic light count. Set via `Project Settings > Rendering > Forward Shading`.\n\n**Scalability**: Use `Scalability::SetQualityLevels()` (in `Scalability.h`) or console commands such as `sg.PostProcessQuality 0-3` to adjust rendering quality at runtime. Configure presets in `BaseScalability.ini`.\n\n#### Virtual Shadow Maps (VSM)\n\n- WPO materials: enable \"Evaluate World Position Offset\" in the material's Details panel (material editor setting, not a C++ property) for correct VSM shadows.\n- Masked materials: opacity masks respected correctly.\n- Decals do not cast VSM shadows.\n\n#### Custom Depth \u002F Stencil (Outlines and Effects)\n\n```cpp\nMeshComponent->SetRenderCustomDepth(true);\nMeshComponent->SetCustomDepthStencilValue(1); \u002F\u002F 0–255\n\u002F\u002F Sample CustomDepth \u002F CustomStencil nodes in a post-process material for outlines, X-ray, highlight effects.\n```\n\nEnable: `Project Settings > Rendering > Custom Depth-Stencil Pass > Enabled with Stencil`.\n\n---\n\n## Common Mistakes and Anti-Patterns\n\n**Creating MIDs every frame** — Each `CreateDynamicMaterialInstance` call allocates a new GPU resource. Create once in `BeginPlay`, cache, update in `Tick`:\n\n```cpp\n\u002F\u002F BeginPlay\nCachedMID = MeshComponent->CreateDynamicMaterialInstance(0);\n\n\u002F\u002F Tick\nif (CachedMID) { CachedMID->SetScalarParameterValue(TEXT(\"Time\"), GetWorld()->TimeSeconds); }\n```\n\n**Not caching MID as UPROPERTY** — Raw `UMaterialInstanceDynamic*` is invisible to GC and collected on the next GC pass. Use `UPROPERTY() TObjectPtr\u003CUMaterialInstanceDynamic> CachedMID;`.\n\n**Wrong parameter names** — Names are case-sensitive exact matches. `\"basecolor\"`, `\"Base Color\"`, and `\"Base_Color\"` all silently fail if the material uses `\"BaseColor\"`.\n\n**Render target resolution** — Match resolution to use: 256–512 for minimap\u002Fsecurity camera, 512 max for mirrors; use planar reflections for large mirrors. Full-screen: use `bMainViewResolution` on `USceneCaptureComponent2D`.\n\n**Reading render target pixels per frame** — `ReadRenderTargetPixel` stalls the GPU pipeline. Never call per frame. Use `FRHIGPUTextureReadback` for async non-stalling reads.\n\n**MIDs on replicated actors** — MIDs are client-local. Do not replicate the MID pointer. Replicate the scalar\u002Fvector values and re-apply via `OnRep` functions on each client.\n\n**Post-process bOverride not set** — Every `FPostProcessSettings` field requires its paired `bOverride_*` bool set to `true`. Setting a value without the override is a silent no-op.\n\n**Nanite translucency fallback** — Translucent materials on Nanite meshes revert the full mesh to non-Nanite rendering. Split into separate opaque and translucent components.\n\n---\n\n## Required Build.cs Dependencies\n\n```csharp\nPublicDependencyModuleNames.AddRange(new string[]\n{\n    \"Engine\",           \u002F\u002F Materials, render targets, UTextureRenderTarget2D\n    \"RenderCore\",       \u002F\u002F Low-level render utilities\n    \"RHI\",              \u002F\u002F RHI types (EPixelFormat, etc.)\n});\n\n\u002F\u002F For UKismetRenderingLibrary:\n\u002F\u002F Already available via \"Engine\" — no separate module needed.\n```\n\n---\n\n## Related Skills\n\n- `ue-cpp-foundations` — UObject management, UPROPERTY, TObjectPtr, garbage collection\n- `ue-actor-component-architecture` — setting up components (UDecalComponent, USceneCaptureComponent2D, UPostProcessComponent)\n- `ue-niagara-effects` — particle materials use MIDs; parameter passing into Niagara from C++\n- `ue-project-context` — engine version, target platforms, rendering feature flags\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fquodsoler\u002Funreal-engine-skills\u002Fue-materials-rendering",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill ue-materials-rendering",{"tool":39,"command":40},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill ue-materials-rendering",{"tool":42,"command":43},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill ue-materials-rendering","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fquodsoler\u002Funreal-engine-skills\u002Fue-materials-rendering\u002FSKILL.md",true,[],[48,57,66,75,81,87],{"skillNo":49,"name":50,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":20},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[54,55,56],"model","model hierarchy","model hierarchy skill",{"skillNo":58,"name":59,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":20},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[63,64,65],"MCP","zoom","zoom mcp",{"skillNo":67,"name":68,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":20},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[72,73,74,64],"sdk","zoom apps sdk","apps",{"skillNo":76,"name":77,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":20},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[77],{"skillNo":82,"name":83,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":20},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[83],{"skillNo":88,"name":89,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":20},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[89]]