Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lightprobe WIP part 2 #138

Merged
merged 8 commits into from
Feb 22, 2025
Merged

Conversation

MrRaveYard
Copy link
Collaborator

@MrRaveYard MrRaveYard commented Feb 21, 2025

Support one probe bound per side_t and sector_t (TODO: more individual pieces?)
Render cubemap per frame into buffer, before uploading as single continuous blob.
Placeholder "LightProbe" object used as viewpoint for rendering (not what it was meant for, but I needed something)

addlightprobe adds a probe and recalculates updates probe binding
dumplightprobes shows where are the probes
dumplightprobetargets lists which side and sector uses which probe
autoaddlightprobes will place lightprobes roughly at the centerpoint of all sectors (naive solution)
gl_lightprobe 1 will keep re-rendering the probes

@MrRaveYard MrRaveYard marked this pull request as ready for review February 22, 2025 00:50
@dpjudas dpjudas merged commit 163ebb5 into dpjudas:master Feb 22, 2025
9 checks 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