Ray-traced parallax octahedral impostors
@SamGCoder1.5K followers
16,912 views
35 Comments
Comments from the original post on X (Twitter)

@CodyBennett
Why do you fall back to impostors and not voxels like recent Unreal Nanite?
4 likes

@SamGCoder
It was more that I was watching that video closely and I wanted to reproduce the same effect.

@SamGCoder
Ref:
3 likes

@MrCollison
This is very cool!! I'd love to see how it compares performance wise to a good voxel implementation Makes a lot of sense using CLOD as beyond a certain range voxels can cheaply represent a pixel of an area & works well with other parts of the pipeline
2 likes

@djnyaaan
これは素晴らしいね。かなり軽快な動作に見えるよ
1 like

@JanOrszulik
I love the result, I don't love 7ms for 81k trees alone if I am being honest.
1 like

@SamGCoder
Most of that comes from rendering the megascan tree. I can use meshlets for close trees and should improve performance
1 like

@martinvkummel
@JanOrszulik why would that. improve performance for close trees?

@JanOrszulik
@SamGCoder I assume because close trees are real models with high overdraw and lot of fine geometry.
1 like

@SamGCoder
@martinvkummel its the megaplants: Black Alder from Quixel Megaplants.
1 like

@XappyD10564
I think Toni’s is using meshlets and HZB (like nanite) for the real trees? Yours are using normal meshes IIUC. And he explicitly said he’s not using imposters. Still looks great but I don’t think it’s quite the same
1 like

@iabom
Wtf. Rust seems to be the move?
1 like

@SamGCoder
Yeah rust is awesome

@cybrdelic
Looks very similar🔥🔥
1 like

@HartjenMichael
That method was done 13 years ago with unity
1 like

@SamGCoder
@grok compare both methods.

@grok
Old Unity forest impostors (Terrain billboards/ABI ~2013) were simple rasterized camera-facing quads or multi-view atlases with basic texture lookup and optional stippling. Yours are parallax octahedral atlases evaluated live by custom RTX intersection shaders (ray-march depth/coverage inside AABBs). Full RT pipeline integration gives accurate shadows, lighting consistency, and seamless mesh transitions that raster billboards never matched.
9 likes

@ibesora
@SamGCoder @HartjenMichael @grok compare that technique with the Omnidirectional relief impostors paper

@grok
ORI (2007) packs a few optimized relief heightfields on discrete planes, picks ~3 per view, and ray-marches them in raster fragment shaders for parallax and silhouettes. Your parallax octahedral atlases use denser continuous directional sampling, then evaluate the depth/coverage via custom RTX intersection shaders inside AABBs. Full RT integration yields correct shadows, secondary rays, and lighting consistency that pure raster relief impostors never delivered.
2 likes

@ibesora
@SamGCoder @HartjenMichael But isn’t adding shadows, secondary rays and lightning to ORIs quite easy? The main contribution of both techniques sound the same: raymarching relief impostors










