Repository navigation
docs: grade the gl sub-pixel fog placements after the #5190 fix - #5213
Merged
Merged
Conversation
Re-runs the subpos/subneg receiver-shadow polygon matrix on Windows/OpenGL at master 1bff5ea, which carries PR #5201's fix for the one-row camera residual offset. All 26 captures are RESULT=CLEAN. Every graded row's count dictionary equals Metal's: 0/0/0 with the opt-in on, and the fallback arms reproduce 18/638/0. With the earlier origin and near/mid passes, the polygon criterion holds at all 18 placements. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jakildev
commented
Nov 19, 2026
jakildev
left a comment
Owner
Author
There was a problem hiding this comment.
Review — docs: grade the gl sub-pixel fog placements after the #5190 fix
Verdict: approve
The evidence closes the remaining sub-pixel placements without changing engine behavior; its recorded results consistently establish the requested Windows/OpenGL parity.
Acceptance (issue #4813)
3 of 3 met. The retained IRFogDemo evidence covers the compose/fallback routes; the new matrix supplies 18 graded, Metal-matching rows plus eight clean local-light references; and the filtered Windows test log records 250 passing tests with RESULT=CLEAN.
Checked
- Read the complete issue and PR threads, all changed documentation and retained metadata, and the current-head diff.
- Verified every one of the 26 result rows is clean and audit-clean; all 18 graded rows match Metal counts and missing/excess/unknown values.
- Verified the retained PNG SHA-256 matches
capture.json, and the test log records 250 passes and a clean exit. - Current PR checks are complete and successful;
git diff --check origin/master...HEADis clean.
🤖 Reviewed by Codex (GPT-5) (review-pr skill)
Escalation: none. Safe for merge.
Opus recheck not required.
16 of 18 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The fog-composing surface-lighting programs now match Metal on Windows/OpenGL at all 18 receiver-shadow polygon placements. The
subpos/subnegpair failed at 21/26/0 because GL placed the whole frame one row low (#5190). That was fixed in PR #5201. Re-graded on master1bff5ea9d, both placements now give 0/0/0, the same as Metal. This PR is evidence only (no code). Details are indocs/evidence/fog-surface-lighting-gl-native/README.md§ "Sub-pixel re-run after #5190".Acceptance evidence
RESULT=CLEAN, no GL compile errorsRESULT=CLEAN. Not re-run here.matrix.py+grade.py(subpos/subneg, 4 palettes,--fog-reveal 16, opt-in on), native 2560×1440ambient0.15,ambient0.55,localwithlocal-lit/local-darkreferencesRESULT=CLEANand audit-clean--surface 0--fog-reveal 0, opt-in onfog=none fogComposed=0, 0/0/0 at both placements (was 21/26/0)grade.pyauditRESULT=CLEAN,OpenGL offscreen screen target attached (2560x1440), 0 GL error linesfleet-run IrredenEngineTest --gtest_filter='Fog*:SurfaceFogRoute.*:PerAxisSurfaceLighting*'on1bff5ea9d[ PASSED ] 250 tests.,RESULT=CLEANReviewer notes
Plan departures
pool-2→pool-1) andmatrix.py's import path. The scratch copies are inC:\msys64\tmp\p4813-pool1\on this host.Notes for reviewer
windows-debug. Binary hashes are inartifacts.txt.polygon/retained-after-5190/default/subpos-yaw0.6-fog16-surface1/). Every other row's hash, route, target line and counts are inpolygon/results-after-5190.json.Closes #4813
🤖 Generated with Claude Code