NoFOMO
Search 中EN Sign in Sign up

Peaked at #3 Now #3

Three.js octahedral impostor update released

A developer released an improved GTA6-style octahedral impostor demo in three.js with depth parallax and shader debug views, open source.

Rank over time

Key points

  • @vladkrutenyuk released a refined version of GTA 6 octahedral impostors in @threejs, adding depth parallax and live debug visualizations for key shader pipeline stages.
  • The method still blends 3 views from a 64-view atlas across 8 silhouette strips, with 4-bit edges packed into two uints per view and merged in the vertex shader.
  • The update also moves view rays to per-fragment, fixes trunk seams between strips, picks mips from unshifted UVs and dilates depth past silhouette edges; the tutorial article was updated.

Key points and the reaction summary are written by AI from the posts on this page. Check the original post. How we use AI

Original post

Vladislav Kruteniuk @vladkrutenyuk 616 followers

Introducing a refined version of GTA 6 octahedral impostors in @threejs: - depth parallax and a few other fixes - live debug visualizations for the key stages of the shader pipeline Live demo: https://t.co/ehi88Je8zV Source, as before, open in the editor right in your browser: https://t.co/HVc15OMRF6 Under the hood it's still 3 blended views from a 64-view atlas, drawn on 8 silhouette strips whose 4-bit edges are packed into two uints per view and merged in the vertex shader. What's new is depth. Every fragment casts the real camera ray, reads the baked depth where it hits the frame plane and steps along the ray to the surface, so all 3 views sample the same point of the tree and the ghosting between them is gone. Along the way I moved the view rays to per-fragment, fixed the trunk seams between strips, picked mips from the unshifted UVs and dilated depth past the silhouette edges. The tutorial article is updated too. #threejs #webgpu #gamedev #kvyverse
Post image
560likes 50reposts 20replies 16Kviews

View on X Save

Top replies on X

Reaction on X: Replies were largely positive, with one user calling it "pretty neat" and noting they would borrow the idea of cutting out empty areas for their own Quest game; another said it "looks like real 3d." Others asked for more examples, and one mentioned it already works well in Godot.

Sign in to see 5 top replies from X

From @WrongNebula, @micha, @Father_Russia69 and others. Spam removed, with English and Chinese translations.

Sign up free Have an account? Sign in

Discussion 0

No comments yet. Start the conversation.

Suggest a source

Is there a first-hand source we're missing, or a topic we should watch? Tell us. Once approved, everyone's board covers it.

@username or profile link