Skip to content

Add a sightline source override for testing occlusion from the ship - #15

Draft
ccp-zoetrope wants to merge 2 commits into
los-occluder-spheresfrom
sightline-source
Draft

Add a sightline source override for testing occlusion from the ship#15
ccp-zoetrope wants to merge 2 commits into
los-occluder-spheresfrom
sightline-source

Conversation

@ccp-zoetrope

Copy link
Copy Markdown
Member

Traces sightlines from a game-supplied world point instead of the listener while one is set, so occlusion can be A/B tested from the camera versus the player's ship. SetSightlineSource takes raw world doubles like occluder centres; ClearSightlineSource flips back to the listener. Setting or clearing forces a LOS recompute so the switch is immediately audible; per-tick updates of an existing source wait for the throttle like the origin does.

ccp-zoetrope and others added 2 commits August 12, 2026 13:56
Traces sightlines from a game-supplied world point instead of the listener while one is set, so occlusion can be A/B tested from the camera versus the player's ship. SetSightlineSource takes raw world doubles like occluder centres; ClearSightlineSource flips back to the listener. Setting or clearing forces a LOS recompute so the switch is immediately audible; per-tick updates of an existing source wait for the throttle like the origin does.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants