Skip to content

Feat: Implement directional light class#134

Merged
github-actions[bot] merged 5 commits into
rendering-team-devfrom
feat/impl-dir-light-class
Nov 25, 2025
Merged

Feat: Implement directional light class#134
github-actions[bot] merged 5 commits into
rendering-team-devfrom
feat/impl-dir-light-class

Conversation

@ryu-kyu

@ryu-kyu ryu-kyu commented Nov 11, 2025

Copy link
Copy Markdown
Collaborator

Notes

  • Updated abstract class method, confShadowMap, to accept shader as argument so that shader.use() is called before confShadowMap().

Tests

Builds fine.

@ryu-kyu ryu-kyu self-assigned this Nov 11, 2025
@ryu-kyu ryu-kyu added enhancement New feature or request rendering Displaying stuff to screen labels Nov 11, 2025
@ryu-kyu ryu-kyu linked an issue Nov 11, 2025 that may be closed by this pull request
@ryu-kyu ryu-kyu changed the title Implement directional light class Feat: Implement directional light class Nov 11, 2025
Comment thread src/rendering/Lights.cpp Outdated

DirLight::~DirLight() = default;

void DirLight::update() {}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be called by scene to tell the emitter to actually update its shadow map, check resources for what it needs to do

def the hardest part, so feel free to ask for help from myself or anyone else

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the resources, it's just marked with a red star. As far as I know, there's no guidance on this.

Comment thread src/rendering/Lights.cpp
@github-actions github-actions Bot marked this pull request as draft November 12, 2025 08:31
@su-ah

su-ah commented Nov 13, 2025

Copy link
Copy Markdown
Collaborator

oh btw, can u move ur glm -> eigen helper into lightprops so the others can use it too?

@su-ah

su-ah commented Nov 14, 2025

Copy link
Copy Markdown
Collaborator

dont mind the merge conflicts btw, ill deal w those

@ryu-kyu ryu-kyu force-pushed the feat/impl-dir-light-class branch from 01acfa6 to 34c8a01 Compare November 16, 2025 20:53
@ryu-kyu ryu-kyu requested a review from su-ah November 24, 2025 23:14
@github-actions github-actions Bot marked this pull request as ready for review November 24, 2025 23:15

@su-ah su-ah left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems fine

@github-actions github-actions Bot merged commit 8e46ba7 into rendering-team-dev Nov 25, 2025
2 of 3 checks passed
@github-actions github-actions Bot deleted the feat/impl-dir-light-class branch November 25, 2025 08:41
@su-ah su-ah mentioned this pull request Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request rendering Displaying stuff to screen

Projects

None yet

Development

Successfully merging this pull request may close these issues.

implement dir lights class

2 participants