本文へ移動
cccskills
無料GitHub で公開

lighting-guide

Kern lighting system guide: dataflow, stage boundaries, DDA call placement rules, telemetry metrics, and static/dynamic split contract. Use when editing any lighting shader or C# — geometry cache, cascade trace/resolve, dynamic polar, bounce cache/solve, or composite. Triggers on: LightingTypes.hlsl, DDA.hlsl, CascadeTrace, CascadeResolve, DynamicPolar, DynamicLightTrace, BounceCache, BounceSolve, CompositeLighting, TraceLightSegment, TraceRadianceSegment, LightingDdaSegments, LightingDdaTexelVisits, SolveCascade, ResolveDirect, BuildCellSolidMask, SolveDiffuseBounce, BuildBounceTaps, IFrameTelemetry.

日本語の概要は準備中です。原文の説明を表示しています。

MinesReborn/Fodislopスター 4(GitHub 4 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Lighting guide

Before making a change

  1. Read LIGHTING_ARCHITECTURE.md — dataflow and stage contracts.
  2. Identify which stage the change belongs to:
FileStage
LightingTypes.hlsl, Extinction.hlsl, GeometryField.hlsl, DDA.hlslShared primitives
GeometryCache/GeometryCache.hlslBuildCellSolidMask
Cascades/CascadeTrace.hlslSolveCascade (DDA traversal)
Cascades/CascadeResolve.hlslResolveDirect (atlas lookup)
Dynamic/DynamicPolar.hlslTraceDynamicPolar, DynamicRadianceFromPolar (DDA)
Dynamic/DynamicLightTrace.hlslSolveDynamicLighting, ComposeDynamicLighting
Bounce/BounceCache.hlslBuildBounceTaps, BuildBounceFilter (DDA)
Bounce/BounceSolve.hlslSolveDiffuseBounce
Composite/CompositeLighting.hlslCompositeLighting

Prohibitions

FORBIDDEN to add DDA calls (TraceLightSegment, TraceRadianceSegment) inside:

  • CascadeResolve
  • DynamicLightTrace
  • BounceSolve
  • CompositeLighting

Metrics and verification

  • Any change to transport stages (CascadeTrace, DynamicPolar, BounceCache) must increase LightingDdaSegments or LightingDdaTexelVisits in IFrameTelemetry.
  • After changing transport math verify:
    • All debug views (0–9) show the expected picture.
    • LightingDdaSegments / LightingDdaTexelVisits did not grow unexpectedly.
    • FPS did not drop relative to baseline.

Architectural constraints

  • Do not add "quality step budget" or frame skipping to DDA — walls must be accurate.
  • Static/dynamic split is preserved: cascades are cached until terrain/glow changes; dynamic light is solved per-frame.

Research materials

Academic papers on GI and Radiance Cascades are in docs/lighting-research/.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles. Splits monolithic files into organized, linked documentation.

日本語の概要は準備中です。原文の説明を表示しています。

MinesReborn/Fodislop42026年10月26日 更新

Build and operate a live game using Unity Services. Use when the user needs to implement, connect, or debug backend-driven features — battle passes, achievements, player progression, cloud saves, leaderboards, matchmaking, virtual economies, server-authoritative logic, anti-cheat, player accounts and authentication, remote configuration, feature flags, A/B testing, analytics, or cloud resource deployment. Triggers on live-ops, live service, backend, server authority, cloud code, cloud save, remote config, player data, retention, monetization loop, season pass, ranking, multiplayer sessions, lobbies, or any Unity Services integration.

日本語の概要は準備中です。原文の説明を表示しています。

MinesReborn/Fodislop42026年10月26日 更新

Kern engine critical invariants: coordinate system, UI Toolkit positioning, RenderTexture blit, LifetimeScope/scene structure, VolumeProfile editor API, camera pixel-grid alignment, performance analysis rules, profiler interpretation, and the no-fallback policy. Use when touching coordinates, WorldToScreen, UI element anchoring, RenderTexture, LifetimeScope, VolumeProfile, camera, FPS analysis, Profiler markers, or any code near an "invariant" comment. Triggers on: CoordinateUtils, MapManager.WorldHeight, RuntimePanelUtils, CameraTransformWorldToPanel, WorldToLocal, PositionWriteEpsilon, CameraPixelGridAligner, LifetimeScope, RegisterComponent, VolumeProfile, AssetDatabase.AddObjectToAsset, EditorLoop, VSync, fallback, paper white, FPS, frame time.

日本語の概要は準備中です。原文の説明を表示しています。

MinesReborn/Fodislop42026年10月26日 更新

Kern project C# conventions, namespace rules, DI/VContainer patterns, and assembly layer boundaries. Use when writing, editing, or reviewing any C# file — MonoBehaviours, ScriptableObjects, services, contracts, factories, or editor scripts. Triggers on: namespace, nullable, asmdef, VContainer, RegisterComponent, IObjectResolver, composition root, Kern.Contracts, primary constructor, record struct, SA1513, _camelCase, PascalCase, asmref, MonoScript.GetClass.

日本語の概要は準備中です。原文の説明を表示しています。

MinesReborn/Fodislop42026年10月26日 更新

fmod-sync

無料

Synchronize and compile FMOD Studio banks into StreamingAssets

日本語の概要は準備中です。原文の説明を表示しています。

MinesReborn/Fodislop42026年10月26日 更新

Kern HDR/color pipeline contract: scene-referred linear working space, paper white units, radiance format rules, URP output transform ownership, DisplayFinal perceptual/linear space, UI brightness, HDR calibration screen, safe-start HDR switch, and HDROutputController usage. Use when touching lighting shaders, glow, bloom, tonemapping, post-processing, color grading, LUT, display output, UI colors, calibration, or any code with DisplaySettings / HDROutput / PaperWhite / Tonemapping / CompositeFinal / DisplayFinal / VisualTuning. Triggers on: saturate on radiance, clamp color, sRGB in shader, UNorm light buffer, ARGBHalf, paper white, HDROutputReconciler, VisualTuning, BT2390, detectPaperWhite, HDRCalibrationScreen, HDRSwitchPending, HDROutputSettings.

日本語の概要は準備中です。原文の説明を表示しています。

MinesReborn/Fodislop42026年10月26日 更新

MinesReborn のスキルをすべて見る

このスキルの問題を報告する