neon-sprawl/client/test
VinPropane 15d405261f NEON-27: implement OcclusionPolicy — RayCast-based material fade
Adds OcclusionPolicy resource and wires it into IsometricFollowCamera.
Each _process frame, iterative rays from the camera eye to the player
focus detect bodies tagged "occluder"; their MeshInstance3D surfaces are
overridden with a transparent StandardMaterial3D (fade_alpha=0.25, instant).
Materials restore when the body clears the ray. Null-material surfaces
(e.g. the prototype Obstacle with no material assigned) receive a plain
transparent StandardMaterial3D so they fade correctly.

- client/scripts/occlusion_policy.gd — new Resource (enabled, fade_alpha,
  occluder_group, occluder_collision_mask, max_occluder_cast_depth,
  occluder_count_log_threshold, is_valid)
- client/resources/isometric_occlusion_policy.tres — default instance
- client/scripts/isometric_follow_camera.gd — occlusion_policy export,
  _update_occlusion pipeline, _apply_occluder_fade/_restore_occluder helpers,
  static occlusion_policy_is_valid guard, _exit_tree cleanup
- client/scenes/main.tscn — Obstacle tagged "occluder", policy assigned
- client/test/occlusion_policy_test.gd — new GdUnit4 unit tests
- client/test/isometric_follow_camera_test.gd — policy guard static tests
- docs/decomposition/modules/E1_M2_IsometricCameraController.md — NEON-27
  snapshot + readability demo gate note
- docs/plans/NEON-27-implementation-plan.md — null-material decision recorded
2026-04-08 23:34:00 -04:00
..
camera_state_test.gd NEON-25: isometric follow camera, CameraState, tests, and docs 2026-04-07 23:46:04 -04:00
camera_state_test.gd.uid NEON-25: isometric follow camera, CameraState, tests, and docs 2026-04-07 23:46:04 -04:00
ground_pick_test.gd NS-21: fix ground_pick_test const — preload not load (Godot 4.6) 2026-04-06 22:32:05 -04:00
ground_pick_test.gd.uid NS-21: add GdUnit4, client tests, and CI headless run 2026-04-06 22:08:37 -04:00
isometric_follow_camera_test.gd NEON-27: implement OcclusionPolicy — RayCast-based material fade 2026-04-08 23:34:00 -04:00
isometric_follow_camera_test.gd.uid NEON-25: isometric follow camera, CameraState, tests, and docs 2026-04-07 23:46:04 -04:00
occlusion_policy_test.gd NEON-27: implement OcclusionPolicy — RayCast-based material fade 2026-04-08 23:34:00 -04:00
player_test.gd NS-21: add GdUnit4, client tests, and CI headless run 2026-04-06 22:08:37 -04:00
player_test.gd.uid NS-21: add GdUnit4, client tests, and CI headless run 2026-04-06 22:08:37 -04:00
position_authority_client_test.gd NS-21: fix gdlint in test suites (load-once, line length, const name) 2026-04-06 22:25:23 -04:00
position_authority_client_test.gd.uid NS-21: add GdUnit4, client tests, and CI headless run 2026-04-06 22:08:37 -04:00
position_authority_test_double.gd NS-21: add GdUnit4, client tests, and CI headless run 2026-04-06 22:08:37 -04:00
position_authority_test_double.gd.uid NS-21: add GdUnit4, client tests, and CI headless run 2026-04-06 22:08:37 -04:00
zoom_band_config_test.gd NEON-26: address code review follow-ups (zoom validation, docs) 2026-04-08 22:58:28 -04:00
zoom_band_config_test.gd.uid NEON-26: ZoomBandConfig, discrete zoom input, CameraState sync 2026-04-08 22:32:45 -04:00