Skip to content

Make directional light follow camera rotation#328

Merged
donkeyProgramming merged 1 commit intodonkeyProgramming:masterfrom
Szy-Cathay:light-follows-camera
Apr 13, 2026
Merged

Make directional light follow camera rotation#328
donkeyProgramming merged 1 commit intodonkeyProgramming:masterfrom
Szy-Cathay:light-follows-camera

Conversation

@Szy-Cathay
Copy link
Copy Markdown
Contributor

Adds camera Yaw/Pitch to the directional light rotation angles, so the light source moves with the camera viewport. This improves model visibility when viewing from different angles, as the lit side of the model remains visible regardless of camera position.

Adds camera Yaw/Pitch to the directional light rotation angles,
so the light source moves with the camera viewport. This improves
model visibility when viewing from different angles, as the lit
side of the model remains visible regardless of camera position.
@donkeyProgramming donkeyProgramming merged commit 69f95f4 into donkeyProgramming:master Apr 13, 2026
1 check passed
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