Logo Ue Uds Lighting And Shadows

Ue Uds Lighting And Shadows

Cộng đồng
kevinpbuckley
ue-uds-lighting-and-shadows

Configure lighting in Ultra Dynamic Sky — Sun and Moon directional light components, Cloud Shadows (volumetric and 2D), Sky Light modes (Capture Based / Custom Cubemap / Cubemap with Dynamic Color Tinting), Exposure (auto exposure / manual), static/stationary lighting setup, Screen Space Light Shafts, the Light Day/Night Toggle component for lights that come on at night, and the day-to-night material utility functions. Use any time the user mentions UDS lighting, shadows, sky light, ambient light, sun shadow softness, light angle, exposure problems, scene rendering black or wrong at night, baked lighting with UDS, god rays/light shafts, lights that come on at sunset, cubemap recapture cost, or making a child of UDS to override sun color.

Tổng quan

Nhà phát hànhkevinpbuckley
Kho mãunreal-engine-skills
Tên kỹ năngue-uds-lighting-and-shadows
Sao
89
Bản fork
9
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được kevinpbuckley công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Ue Uds Lighting And Shadows trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/kevinpbuckley/unreal-engine-skills/tree/master/skills/ultra-dynamic-sky/ue-uds-lighting-and-shadows
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kevinpbuckley/unreal-engine-skills.git /tmp/unreal-engine-skills
mkdir -p .claude/skills
cp -r /tmp/unreal-engine-skills/skills/ultra-dynamic-sky/ue-uds-lighting-and-shadows .claude/skills/ue-uds-lighting-and-shadows
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Ue Uds Lighting And Shadows trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Ue Uds Lighting And Shadows ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Ue Uds Lighting And Shadows với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

UDS lighting and shadows

UDS owns three lights (sun, moon, sky light) as components on the actor, and a cloud-shadow system that works for every Sky Mode. This skill covers those components, sky light modes, exposure, light shafts, static/stationary setup, and the runtime utilities for time-of-day-responsive lights.

LightTypeSettings categoryCost lever
SunDirectional light component on UDSSunAffects shadow cost, cloud shadows
MoonDirectional light component on UDSMoonAffects shadow cost, cloud shadows
Sky LightSky light component on UDSSky LightMode chooses cost vs flexibility
Cloud ShadowsEffect on the directional lightsCloud ShadowsWorks with every Sky Mode
Screen Space Light ShaftsEngine Light Shaft Bloom toggleScreen Space Light ShaftsCheap; only when facing the light
ExposureAuto / Manual auto-exposure controlExposureDrives the whole image brightness

When to use this skill

  • Configuring or limiting the sun/moon directional lights.
  • Choosing or tuning the sky light mode (capture / cubemap / tinted).
  • Diagnosing black, too-dark, or unresponsive ambient light.
  • Setting up baked / static / stationary lighting with UDS.
  • Enabling Light Shaft Bloom god rays for the sun/moon.
  • Making placed lights in the level (lamps, neon) turn on at sunset.
  • Making emissive materials switch on at night without writing blueprint.
  • Working with a Custom Sun/Moon Light Actor (and the Cloud Scattered Luminance Scale gotcha that comes with it).

Light components on UDS

UDS owns Sun and Moon directional light components, plus a Sky Light component. Select UDS and find them in the component list at the top of the details panel.

Settings UDS controls per light: color, intensity, cast shadows, light source angle. Everything else is editable directly on the component.

For sun/moon positioning and appearance, see ue-uds-sun-moon-stars.

Custom light actors (avoid unless required)

Pointing UDS at an external light actor (instead of the built-in components) is supported but not recommended unless a specific need forces it (e.g. a third-party plugin that requires a light actor reference).

If you do, two extra steps are needed:

Light typeManual fix-up
Directional (sun/moon)Manually set Cloud Scattered Luminance Scale on the actor to match UDS's Sun/Moon component value. UDS can't set this from blueprint. Copy the value/color exactly.
Sky lightSet Source Type to match UDS's Sky Light Mode: • Cubemap with Dynamic Color Tinting or Custom Cubemap → Specified Cubemap• Capture Based → Captured Scene

If volumetric clouds look strangely dark/gray when using a custom sun/moon actor, missing Cloud Scattered Luminance Scale is almost always the cause.

Lights update throttling

Lights Update settings in the Directional Light category — throttle how often the lights' rotation actually updates. Cached sun/moon rotations are applied to visuals every frame, but the lights' real rotation can update less frequently. Useful for reducing cached directional shadow invalidation cost.

Cloud Shadows

Category: Cloud Shadows. Enabled by default and compatible with every Sky Mode, even cloudless modes.

SettingWhat it does
Intensity / softness with cloud coverageFull overcast fully occludes by default; low coverage only partial
Shadow contribution when Fog / Dust highAdjustable directional light occlusion in those states
2D Cloud Shadows Speed, 2D Cloud Shadows ScaleTexture-based shadow for non-Volumetric Sky Modes

For Volumetric Clouds, shadows are accurate to the 3D layer — every cloud casts its own correct shadow. Other Sky Modes use the 2D texture-based shadow.

Cloud Shadows + single-layer water

SymptomFix
Single-layer water lit by sun in cloudy weather when it shouldn't beProject Settings → enable Single Layer Water Uses Light Function Atlas. UDS cloud shadows support the light function atlas, so water reads them correctly.
Sun reflection near sunset/sunrise doesn't match cloud coverage that should block itIn Cloud Shadows category: enable Correct Specular Scale For Low Angle Cloud Shadows

Sky Light

Sky Light Mode in the Sky Light category.

ModeHow it worksWhen to pick
Capture BasedGenerates a cubemap by capturing the sky. Real-time capture exposed as an option.Hero quality, supports full dynamic sky
Custom CubemapStatic cubemap set via Sky Light CubemapLocked-in scene with a single look
Cubemap with Dynamic Color TintingFlat gray cubemap dynamically tinted with fog color to align with time of dayBest for dynamic time of day at low cost; works on every platform (incl. mobile without real-time capture)

Sky Light Color Multiplier settings tint differently per Time of Day. Values >1 scale intensity proportionally.

Exposure

UDS controls exposure by default. Auto exposure (Unreal's "eye adaptation") is what lets brightness adapt to scene light. Category: Exposure.

SettingControls
Apply Exposure SettingsMaster toggle for UDS taking exposure ownership
Exposure Compensation CurvePushes brightness higher/lower based on overall scene light level
Exposure Bias (per scenario)Per-time-of-day, per-weather exposure compensation. e.g. "make night exposure brighter, cloudy darker."
Exposure Metering ModeWhether auto exposure is on, and which type. Set to Manual to disable auto exposure but keep using bias settings.
Exposure Brightness Range (MinEV100 / MaxEV100)The range auto exposure adapts within

For debugging auto exposure: viewport view mode Show → Visualize → HDR(Eye Adaptation) shows what auto exposure is doing.

Static / stationary lighting

UDS defaults to movable lights, but supports static / stationary too.

To switch a UDS light to static or stationary, find its mobility setting in the corresponding UDS category (Sun, Moon, Sky Light). Set the mobility from the exposed UDS setting, not on the component itself.

After the level's lighting is built:

ConstraintWhy
Can still tweak some sky settingsMaterial params, etc.
Settings that move/alter lights break the buildAny directional light change invalidates lightmaps
Static/stationary sun → Time of Day cannot change at runtimeLight mobility prevents rotation at runtime

Screen Space Light Shafts

Light Shaft Bloom — engine-level directional light feature: cheap screen-space god rays. Only renders when facing the light. Not related to volumetric fog (which can achieve similar visuals via a different method).

Category: Screen Space Light Shafts — toggles per sun / moon.

Light Day/Night Toggle component

For a light component placed in the level (lamp, neon sign) that should turn on at sunset and off at sunrise.

Setup stepDetail
Add the componentBlueprints/Utilities/Light Day/Night Toggle as a child of the light component on an actor
Default behaviorOn at night; flip via setting on the component
Power-on animationComponent animates intensity as the light powers on (imitating warm-up lamps). Toggle/adjust on the component.
Drive material parametersThe component can drive a Light Toggle scalar parameter (0–1) on an array of dynamic material instances

Hierarchy: the toggle component must be a child of the light component to control it.

Material functions for lighting

Search the material palette:

FunctionWhat it does
Day to Night Float / Day to Night ColorInterpolate between two inputs based on whether sun is up. Inputs offset threshold and widen/sharpen the transition. Good for emissive-on-at-night without blueprint.
Active Sun or Moon VectorUnit vector toward whichever body is up (sun by day, moon by night). Also outputs a 0–1 mask that drops to 0 at the swap moment — multiply effects by it to hide pop artifacts.

Runtime / Blueprint control

Most lighting variables that change with time/weather (color, intensity, scattered luminance) update via the cache automatically.

For static lighting properties (mobility, source type, certain advanced light setup), set the variable then call Static Properties - Sun, Static Properties - Moon, or Static Properties - Sky Light to apply. For a complete instant refresh, Hard Reset Cache.

Gotchas

  • Scene renders black after adding UDS — exposure. In order: (1) disable any post-process volume overriding exposure; (2) viewport Lit dropdown → check Game Settings for exposure; (3) on UDS disable Apply Exposure Settings in the Exposure category.
  • Ambient light starts correct then stops updating as time changes — sky light isn't updating. Platform may not support real-time sky light capture; switch Sky Light Mode to Cubemap with Dynamic Color Tinting (works everywhere, dynamic). Or it's leftover static light from a baked solution — run a lighting build.
  • Ambient light slow to adapt after a fast sky change — that's Lumen's default GI update speed. UDS doesn't touch Lumen. Adjust Lumen Global Illumination → Update Speed in a post-process volume (raises GPU cost).
  • Volumetric clouds look dark/gray with a Custom Sun/Moon Light Actor — Cloud Scattered Luminance Scale isn't set on the actor. Copy the value from UDS's directional light component. Without a custom actor, it's a leftover directional light in the level that wasn't removed before adding UDS.
  • Single-layer water lit incorrectly under cloudy sky — Project Settings → enable Single Layer Water Uses Light Function Atlas. UDS cloud shadows support the atlas.
  • Time of Day won't change at runtime — sun mobility is static or stationary. Movable required for runtime time changes.
  • Set Sun Light Color at runtime, no effect for 1–2 seconds — cache system interpolates. Call Hard Reset Cache for an instant change, or lower Max Property Cache Period in Scalability / Performance.
  • Set Sun Softness at runtime, no effect at all — static property. Set the variable, then call Static Properties - Sun.

References & source material

Docs (Ultra Dynamic Sky 9.5):

Plugin asset paths:

  • Component list on UDS actor → Sun, Moon, Sky Light
  • Blueprints/Utilities/ — Light Day/Night Toggle component

Related skills: ue-uds-sun-moon-stars, ue-uds-clouds, ue-uds-fog-and-atmosphere, ue-uds-time, ue-uds-performance-mobile-troubleshooting.

Câu hỏi thường gặp

Kỹ năng AI Ue Uds Lighting And Shadows làm được gì?

Configure lighting in Ultra Dynamic Sky — Sun and Moon directional light components, Cloud Shadows (volumetric and 2D), Sky Light modes (Capture Based / Custom Cubemap / Cubemap with Dynamic Color Tinting), Exposure (auto exposure / manual), static/stationary lighting setup, Screen Space Light Shafts, the Light Day/Night Toggle component for lights that come on at night, and the day-to-night material utility functions. Use any time the user mentions UDS lighting, shadows, sky light, ambient light, sun shadow softness, light angle, exposure problems, scene rendering black or wrong at night,...

Vì sao nên dùng Ue Uds Lighting And Shadows trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Ue Uds Lighting And Shadows là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Ue Uds Lighting And Shadows trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/kevinpbuckley/unreal-engine-skills/tree/master/skills/ultra-dynamic-sky/ue-uds-lighting-and-shadows. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Ue Uds Lighting And Shadows?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Ue Uds Lighting And Shadows với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Ue Uds Lighting And Shadows với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Ue Uds Lighting And Shadows có miễn phí không?

Kỹ năng này được kevinpbuckley phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇