Commit acd7b06
Cap hull-cull output at 127 to prevent stencil overflow
The engine's range ring pipeline uses a 7-bit GPU stencil counter that
increments per overlapping ring fill. At 128+ rings the counter wraps,
breaking the stencil-based outline merge (individual broken circles
instead of a unified shape). This hard cap guarantees correct visuals
even for pathological formations. Makes PR FAForever#149 fully obsolete.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d29d932 commit acd7b06
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
139 | 146 | | |
140 | 147 | | |
141 | 148 | | |
| |||
0 commit comments