secondlife / secondlife/viewer

Planar reflections with mirror probes

Open
#3,704 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.