Reveal the player when geometry sits between the orbit camera and the character: a screen-space circular mask in a URP/Lit clone (HeroCutoutLit) clips occluders in front of the player, depth-gated so only geometry nearer than the hero is cut. The cutout lives outside UnityPerMaterial (SRP batcher intact) and is a no-op when disarmed, so occluders look identical to URP/Lit. A runtime driver (HeroCutout.cs on Main/GameManager) feeds the player's screen position, radius, feather and depth into global shader properties and only arms while the third-person orbit vcam is live; it disarms in first-person, free-cam and the pause menu. Applied to the lobby walls via a dedicated occluder material (floor left solid). Shipped but shelved for now. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
9 lines
188 B
Plaintext
9 lines
188 B
Plaintext
fileFormatVersion: 2
|
|
guid: 284ac320f0449154dae9b92d90f5550b
|
|
NativeFormatImporter:
|
|
externalObjects: {}
|
|
mainObjectFileID: 2100000
|
|
userData:
|
|
assetBundleName:
|
|
assetBundleVariant:
|