Skip to content

environment: give a directional light the size it asks for - #45

Merged
freezy merged 1 commit into
masterfrom
feat/directional-studio-lights
Nov 21, 2026
Merged

freezy merged 1 commit into
masterfrom
feat/directional-studio-lights

Conversation

@freezy

@freezy freezy commented Nov 21, 2026

Copy link
Copy Markdown
Member

Sets HDAdditionalLightData.angularDiameter from VpeEnvironmentLight.AngularDiameter when it's above 0, for a directional light around the table. Needs freezy/VisualPinball.Engine#639.

With it, the player's light setups that now use a directional key light cast ray-traced shadows as soft as the studio light it replaces (about 7 to 8°) instead of HDRP's default 0.5°.

@greptile-apps

greptile-apps Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The change appears safe to merge with the acknowledged engine update.

Summary

Sets HDAdditionalLightData.angularDiameter from a positive VpeEnvironmentLight.AngularDiameter for directional lights.

  • Directional lights use the angular size set in their environment spec.

Reviews (1) · Last reviewed commit: "environment: give a directional light th..." · Reviewed by Greptile

@freezy
freezy merged commit f87e949 into master Nov 21, 2026
5 checks passed
@freezy
freezy deleted the feat/directional-studio-lights branch November 21, 2026 00:52
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.

1 participant