secondlife / secondlife/viewer
Planar reflections with mirror probes
Open
@Geenz is already working on this.
Since Mar 10, 2025.
backlog
enhancement
stale
triage
- Dominant language
- C++
- Stars
- 299
- Forks
- 146
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 88
Description
Currently, mirror probes record a 180 degree view of the scene into a cubemap. This is useful for non-planar geometry. However, flat planes do not benefit from it and this ends up being a lot of wasted performance. Instead, when a mirror probe reaches a certain thinness on its Z axis, it should only render to a single probe face.
Note: min probe thickness is currently 0.01m. Maybe 0.1m.
Test Plan
- Compare performance with a thin (exact thinness TBD) mirror probe against ForeverFPS
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.