Scenario Unreal Lighting Rendering 标志

Scenario Unreal Lighting Rendering

组织
scenario-labs
scenario-unreal-lighting-rendering

在 Unreal Engine 5.8 中进行布光或渲染时使用:物理光照单位和曝光(EV100、lux、lumens)、Lumen GI 和反射、MegaLights、虚拟阴影贴图、天空、雾和云、后期处理和调色、路径追踪器,或 Movie Render Graph 静帧渲染。适用问题:“Lumen 噪点很多”、“MegaLights 有噪点”、“室内太暗”、“漏光”、霓虹灯牌、夜景或黄昏场景、“萤火虫效应”、“路径追踪器还是 Lumen”、“渲染一张静帧”、EXR 设置。

概览

发布者scenario-labs
代码仓库skills
技能名称scenario-unreal-lighting-rendering
星标数
970
复刻数
114
附带文件
6
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 6 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 scenario-labs 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Scenario Unreal Lighting Rendering AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/scenario-labs/skills/tree/main/skills/game-engines/unreal/scenario-unreal-lighting-rendering
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scenario-labs/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/game-engines/unreal/scenario-unreal-lighting-rendering .claude/skills/scenario-unreal-lighting-rendering
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Scenario Unreal Lighting Rendering,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Scenario Unreal Lighting Rendering。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Scenario Unreal Lighting Rendering 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Lighting and rendering in Unreal Engine 5.8

Expert lighting in Unreal is a calibrated camera, physical light values, and a renderer that sees the same scene you do; everything else is art direction layered on top and listed as such. Each step is proved with a representation view and a number before the lit image is trusted; noise is fixed in the system that owns it. If a sibling skill named here is missing from your available skills, ask the user to install it (npx skills add scenario-labs/skills --skill <name>); unattended, proceed from tool schemas and flag the gap.

REQUIRED BACKGROUND: scenario-unreal-expert (channels, review loop, 5.8 traps).

Status (2026-09-24): scripts/ue_light.py is not yet run in Unreal; 200 pure, 65 editor-layer and 20 procedure checks pass offline against a fake unreal. First editor run: tests/code/unreal-lighting-rendering/job_00_probe_lighting.py.

Stance (the expert delta)

  • Camera before lights. Default auto exposure "childproofs" the engine: a 10 lux and a 100,000 lux sun look alike. Chrome ball at the subject, Exposure Compensation 0, Min/Max EV100 clamped to the conditions, then lights; emissive last (Gobey nlbJwMoj1Dg [00:02:38] [00:11:40]; Faucher BGoaPyfZlYg [00:01:34]). Judge through Game Settings exposure, never the viewport EV100 override (Gobey [00:21:56]).
  • Physical values remove problems; cheats go on top and in the report. Real lumens removed about 80 percent of Lumen flicker (Argyriou Q1whHlGJB_o [00:14:41]); albedo is lighting, at most 0.8, floor 0.02 [added] (path tracer doc; Gobey [00:07:30]; Faucher X5zVhc5ahl0 [00:22:24]). Every light has a visible fixture and a source shaped like it (Faucher 0GYyHDuaPcg [00:15:14] [00:15:47]). Moons, fills and boosts are fine when listed (cheat_inventory): the path tracer will not show them.
  • Emissive is the look, lights do the lighting. Small bright emissive is noisy, screen-space and clamped harder since 5.6 (r.Lumen.ScreenProbeGather.MaxRayIntensity 10): a neon sign gets a rect light fitted to its face, in front of it (Faucher 1e6oOiKh91U [00:12:30]; Gobey Q&A [00:37:33]; MegaLights doc). Under Lumen, small emissive meshes get Emissive Light Source, optionally a Lumen-only boost of 5 to 10 through a Ray Tracing Quality Switch [verify node] (Campbell BKaAzhMHJZ0 [00:14:09]); the path tracer ignores that switch and double counts a tube plus its light (path tracer doc).
  • The renderer sees a proxy; look at it. Lumen Scene and Surface Cache (black = screen traces only, pink = no cards, often a one-mesh room), MegaLights shadow caster mismatch, VSM cached pages, each against the lit view from the same camera (Faucher [00:07:21] [00:06:42]; Lumen, MegaLights, VSM docs).
  • MegaLights noise is stolen samples, not light count. Hidden lights take up to 20 percent of samples (50 after failed reprojection), a directional up to 50. Tight radius, cones, barn doors, no light inside geometry, clusters merged, the sun on deferred plus VSM (Narkowicz and Costa dmmN8_c8Tb0 [00:10:37] [00:16:40]). Alpha masks are ignored by its ray tracing by default (MegaLights doc).
  • Shadow method follows what moves. Local lights stay ray traced in gameplay: every character crossing a VSM local light invalidates its pages, while ray tracing pays per visible pixel with free penumbras (Campbell [00:26:25] [00:31:42]). VSM for the sun and for content ray tracing cannot represent, with a written reason.
  • A dark interior is a tone-mapper problem first; light before you grade. Toe 0.55 to 0.3 and Local Exposure Shadow Contrast 0.6 before any fill (Gobey [00:14:58] [00:15:32]); then the ladder: direct light, one light's indirect boost, Diffuse Color Boost, global exposure last (Faucher 0GYyHDuaPcg [00:08:14] [00:13:42]). Glossy surfaces need a direct light: Lumen indirect gives little specular (Faucher [00:10:28]).
  • For the still, the path tracer is ground truth and samples are its only quality knob. On the deferred path, samples buy motion blur and anti-aliasing only; Lumen or shadow noise is fixed at the light or the PPV (Faucher X5zVhc5ahl0 [00:07:43]; fVg5ihB8Wdc [00:09:15]; Comly, demystifying-mrq).

Establish first

InputChangesDefault when silent
Platform, frame rateLumen scalability, MegaLights, HWRTconsole 60 fps: Lumen High; budgets from scenario-unreal-performance; Mac numbers are proxies
What this Mac runs (probe)every planM5 Max, macOS 26.5.1: Lumen HWRT and MegaLights Experimental, Nanite and VSM Beta, path tracer supported (deltas file)
Deliverableexposure mode, still plangameplay plus one still; direct delivery (tone-mapped PNG plus EXR)
Conditions the player walks betweenEV100 bracketCONDITIONS: interior 4, blue hour 6.5 [added], low sun 7, moonlit 1
Stylephysical vs art-directed moon and sunphysical base; film moon and a 15 degree sun floor only for readability (Faucher; Oakley rX0wZZxpB-U [00:19:16])
Key cameras; glass and emissive fixtures in shotfog scattering, cheats, glass and double-count auditsbookmarks from the brief; front layer only in a PPV around hero glass

Workflow

Editor Python via Epic's MCP server or ue_remote; import ue_light as L; full code in references/procedures.md. Screenshots are latent: one capture per call.

  1. Probe and settings (P0, P1). probe(), render_settings_report, ini_patch after a backup; extended luminance range only in a new project. GATE: probe JSON read.
  2. Calibrate the camera (P2). spawn_calibrator at the subject, then one unbound PPV_Global: apply_exposure(ppv, exposure_plan("gameplay", ("interior", "blue_hour"))), apply_look (Local Exposure mandatory with Lumen GI; Film only here). GATE: ppv_lint no fail; HDR view shows each target inside the clamps.
  3. Exterior (P3). build_exterior_rig(exterior_rig_plan("blue_hour", key_camera_forward=...)): Sky Atmosphere, sun at 120,000 lux below the horizon, real-time Sky Light, volumetric fog with black inscattering, Scattering Distribution from the key camera's angle to the light (0.9 into it, 0 from the side: Faucher 1LfiYtKDsac [00:16:06]). Steady lamps scatter above 1 for halos, flickering ones 0. GATE: scene_lint clean; sun out of MegaLights.
  4. Practicals, neon, openings (P4, P5). FIXTURES lumens and kelvin, radius from tight_attenuation_radius capped by the room, source radius, length or size matching the fixture, one rect per shelf, neon_sign_light in front of each sign, opening_rect_light for the window; emissive via emissive_for_stops, then emissive_strategy (Emissive Light Source, optional boost). GATE: light_lint no warn in the gameplay profile (fixture, shape, VSM, clusters), or a written reason.
  5. Does the renderer see it (P7 to P9). Lumen views vs lit; room_shell_lint on pink; MegaLights dump and mismatch view; masked casters; VSM cached pages. GATE: no black or pink where light must bounce; no hidden light in the dump; VSM red share near 0; noise judged in motion.
  6. Look (P10). Ambient shape first, then the focal hue, then "the promise of more": light leaving the frame, a lit side street (Oakley [00:07:34] [00:09:19] [00:08:44]); the shadow-lift ladder in order; grade last; white-balance direction by A/B screenshot. GATE: frame_report B3 to B8.
  7. Review loop (P11, P12). Per bookmark: log_mark, capture, frame_report(frame, brief, log_text=log_since(...)), one change, logged in iterations.jsonl. The 5.8 exposure-range warning fails the frame; glossy regions must hold a highlight; walk the player path for adaptation. Timings use P12's measure preset (async compute, dynamic resolution off) and go to scenario-unreal-performance. GATE: no fail.
  8. The still (P13). Scene audit first: Base Color buffer through albedo_check, emissive_fixture_pairs (A/B r.PathTracing.EnableEmissive 0, Indirect Emissive off), glass_lint. Then still_plan("path_traced", "final", glass=True, sky_atmosphere_visible=True, emissive_fixtures=...), mrg_lint clean, set_cine_camera_exposure (Manual metering, Apply Physical Camera Exposure), queue_mrg_still. Still-only cheats via still_only_light_plan on their own lighting channel. Offline: gray card within 1/3 stop on the linear EXR, compare_ground_truth, 100 percent crops; a render that differs from the viewport walks RENDER_DIFF_TRIAGE. GATE: C1 to C11 of critique.md.
  9. Handoff (P14). lighting_manifest(path, ctx): lights, PPVs, lint, cheats, emissive pairs, masked casters, cvars.

Numbers

ItemValueRelative to, source
Sun, moon120,000 lux at zenith (0.545 degrees); moon 0.26 luxEpic sky doc
Look targets (EV100)sunlit 14, cloudy 10, low sun 7, interior 4, moonlit 1, moonless -2Gobey chart [00:12:02]; targets, not meter readings
Fixturescandle 12 lm 1,900 K; decorative 300; interior 1,000; exterior 10,000; street 2,500 to 10,000 lmGobey chart; Argyriou [00:13:36]
Units1 cd = 625 unitless = 12.6 lm (point) = 3.14 lm (rect) = 1.76 lm (spot, 44 degrees)exposure doc
ExposureEV100 = log2(N^2 / t x 100 / ISO); B = L / 2^(EV100 + comp); f/2.8, 1/50, ISO 800 is EV100 5.6exposure doc
Auto exposureLow 70 to 80, High 80 to 95 percent; Speed Up 3 above Speed Down 1exposure doc; Gobey frame [00:21:52]
Local Exposure, Filmcontrast 0.6 to 1 (default 0.8); Toe 0.55 default, 0.3 for dark interiorsexposure doc; Gobey
Albedo0.02 [added] to 0.8 path traced, 0.9 Lumenpath tracer doc; Faucher 1e6oOiKh91U [00:13:35]
MegaLights20 percent of samples to hidden lights (50 after failed reprojection); sun up to 50SIGGRAPH [00:10:37] [00:16:40]
Path-traced still1 temporal, spatial 256 draft to 1024 or more final; glass 10 bounces; Max Path Intensity defaultpath tracer doc; Faucher X5zVhc5ahl0 [00:16:47]
Deferred stillspatial only, odd (9 draft, 15 final, 31 thin bright), AA None above 8, Motion Blur Amount 0, warm-up 250Faucher fVg5ihB8Wdc [00:06:01] [00:10:58]; 1e6oOiKh91U [00:09:56]

Quality gates

  • Measurable: ppv_lint, light_lint, scene_lint, glass_lint, room_shell_lint, mrg_lint, cvar_lint without fail; frame_report on every bookmark with the log since capture (blank frames and the exposure-range warning fail); albedo_check on the Base Color buffer; gray card from linear EXRs; compare_ground_truth within a stop outside listed cheats; red_fraction on the VSM cache view; temporal_flicker on warm-ups. Thresholds marked [added] are calibrated per project on one approved frame.
  • Visual: each bookmark full size and as a thumbnail beside its representation views; a camera move for noise; inner corners for leaks; glossy highlights; the still at 100 percent; in the order of references/critique.md.

Common mistakes

MistakeLooks likeFix
Lighting under default auto exposureany value "looks fine"; flickerexposure_plan, comp 0, then physical lights
Neon lit by emissive onlysplotchy, crawling GIrect light per sign; Emissive Light Source
Tube plus its light in a path-traced stillfixtures glow twice as bright as LumenA/B r.PathTracing.EnableEmissive 0; Indirect Emissive off
Sky light or exposure raised for a small windowsplotches, flat gray interioropening_rect_light sized to the opening
Many small lights, big radii, a sun indoors under MegaLightsnoise and ghosting in motiontight bounds, merge clusters, sun on VSM
Local lights on VSM over moving charactersconstant invalidation, cost spikesray-traced shadows; VSM only with a reason
Grilles or plants under MegaLightssolid shadows once off-screenmodel the holes, or EvaluateMaterialMode 1
One mesh for the whole roompink surface cache, screen-space GIsplit walls, floors, ceilings; Max Lumen Mesh Cards
Fill lights to rescue a dark interior; grading firstflat, view-dependent GItoe and local exposure, then the ladder; grade last
Glossy bar top lit only by Lumendry, dead surfacea direct light it can reflect
More MRG samples for Lumen noise; even or mixed deferred samplesnoise unchanged, blur on a stillNOISE_TRIAGE, still_plan, mrg_lint
HDRIBackdrop in a path-traced stilldouble lightingremove it; Sky Light cubemap plus r.PathTracing.VisibleLights 2, which does nothing under Reference Atmosphere
Render differs from the viewport, cvars pasted"the render is broken"RENDER_DIFF_TRIAGE: Global Game Overrides first
Still-only rim left in the levelthe cheat lights gameplayown lighting channel, indirect 0, in the shot sequence

Handoffs

  • Receives from scenario-unreal-world-building: the level, modular walls, floors and ceilings 10 cm or thicker, correct mobility, room volumes tagged room, fixture meshes tagged fixture:<name>, emissive meshes tagged emissive. From scenario-unreal-materials: masters exposing EmissiveIntensity (and LumenEmissiveScale behind a Ray Tracing Quality Switch), albedo 0.02 to 0.8, IOR glass on Surface ForwardShading. From scenario-unreal-vfx: particle lights (shadows off, Allow MegaLights).
  • Delivers to scenario-unreal-cinematics: the lit level, lighting_manifest.json, the exposure plan (EV100, ISO and shutter for their aperture), still_plan presets, MRG variables, still-only cheat plans. To scenario-unreal-performance: light counts, shadow methods, measured passes. To scenario-unreal-materials and scenario-unreal-world-building: albedo, glass, masked-caster and room-shell fixes.

UE 5.8 notes

  • MegaLights Production Ready (lighting channels, cloud shadows, mismatch views); directional lights excluded unless r.MegaLights.DirectionalLights 1; r.MegaLights.Debug, r.MegaLights.DownsampleMode.
  • Lumen Lite at Medium (Beta); SSGI deprecated; RTGI gone since 5.4; detail tracing deprecated; r.Lumen.HeightFog 1 default.
  • r.EyeAdaptation.CachedLightingPreExposure (default 4) unifies pre-exposure, with an on-screen warning when exposure leaves the supported range.
  • ACES 2.0 is the SDR path; OCIO 2.5.1; grading scopes ShowFlag.VisualizeColorGrading.
  • Path tracer on Mac (macOS 26.4+); back-face culling always on; HDRIBackdrop incompatible; Reference Atmosphere ignores Sky Lights.
  • Movie Render Graph Production Ready: Basic config by default, Light Modifier, layer warm-ups, DWAA/DWAB EXR.
  • Python: the Rotator's positional order is roll, pitch, yaw, so ue_light passes keywords [verify].

References

  • references/procedures.md: P0 to P14, full code, each block with its test id and status. Load before writing lighting code.
  • references/critique.md: setup, frame, render and budget rubrics mapped to code findings. Load at every gate.
  • references/expert-notes.md: depth per expert with timestamps, disagreements and deciding conditions.
  • references/gui-paths.md: menus and editors for a computer-use agent or a human.
  • references/sources.md: every source, credential, URL, best timestamps, revision history.
  • scripts/ue_light.py: the toolkit; its docstring lists every call and where it runs.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Scenario Unreal Lighting Rendering AI 技能有什么作用?

在 Unreal Engine 5.8 中进行布光或渲染时使用:物理光照单位和曝光(EV100、lux、lumens)、Lumen GI 和反射、MegaLights、虚拟阴影贴图、天空、雾和云、后期处理和调色、路径追踪器,或 Movie Render Graph 静帧渲染。适用问题:“Lumen 噪点很多”、“MegaLights 有噪点”、“室内太暗”、“漏光”、霓虹灯牌、夜景或黄昏场景、“萤火虫效应”、“路径追踪器还是 Lumen”、“渲染一张静帧”、EXR 设置。

为什么在 TypingMind 中使用 Scenario Unreal Lighting Rendering?

因为您只需安装一次,就能搭配任何模型使用。Scenario Unreal Lighting Rendering 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Scenario Unreal Lighting Rendering?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/scenario-labs/skills/tree/main/skills/game-engines/unreal/scenario-unreal-lighting-rendering。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Scenario Unreal Lighting Rendering?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Scenario Unreal Lighting Rendering 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Scenario Unreal Lighting Rendering 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Scenario Unreal Lighting Rendering AI 技能免费吗?

是的。scenario-labs 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇