GTA 6-style octahedral impostors rebuilt in three.js with new depth parallax
Promptmethus · x · 2026-12-01
vladkrutenyuk released a refined three.js implementation of GTA 6's octahedral impostor technique, adding depth parallax plus several fixes, with live debug visualizations for key shader pipeline stages.
Key technical points:
- Under the hood: 3 blended views from a 64-view atlas drawn on 8 silhouette strips; each view's 4-bit edges packed into two uints and merged in the vertex shader.
- New depth approach: every fragment casts the real camera ray, reads baked depth where it hits the frame plane, and steps along the ray to the surface, so all 3 views sample the same point on the tree—eliminating ghosting between views.
- Other fixes: per-fragment view rays, fixed trunk seams between strips, mip selection from unshifted UVs, and depth dilation past silhouette edges.
A live demo and open source (editable right in the browser) are available.
More from Research
- MoleculeOne and DeepMind generate novel chemical process in 31 days with AI — CatAstro_Piyush · 2026-12-01
- IBM details Granite Docling V2: compact 500M/2B models for document understanding — kalyan_kpl · 2026-12-01
- Training a 2B model on 4x RTX 3090 to write bare-metal x86-64: GRPO lifts compile rate from 0% to 56% — iskander · 2026-12-01
- Zero-training fact transfer between LLM families: Mistral facts grafted into Qwen — CatAstro_Piyush · 2026-12-01
- Lexotomy: editing <0.01% of vocab rewrites LLM behavior, cuts reasoning tokens 4x — Kyrannio · 2026-12-01
- iamtrask challenges researchers to reverse 'Plato's Imprint' to delete facts from LLMs — iamtrask · 2026-12-01