Re:Show HN: Physically accurate black hole you can put in yo...
by aplavin on Monday August 03, 2026 @09:09PM
(#49163299)
Would MSAA compute more samples, effectively multiplying shader computation? Ideally, it should be something adaptive, to the number of pixels/device compute power, eg compute 2x smaller resolution on phones/retina, compute 1x resolution on larger-pixel screens, and maybe even 1x + MSAA beyond some pixel sizes... Just wanted to avoid reinventing these heuristics.
The rest of the circular aliasing could likely be fixed by requesting MSAA, so e.g.:
renderer = new THREE.WebGLRenderer({ alpha: true, antialias: true, powerPreference: 'high-performance', })