hackeryangtze retweeted
Replying to @dankbaker
@dankbaker (Oxide) had nice talks about their fully decoupled texel space shading system. Solves these sampling issues, but has a substantial added cost and complexity. I did a similar proto back in the day.
Paper:
oxidegames.com/wp-content/up…
REAC23 slides:
enginearchitecture.org/downl…
Solving Antialiasing:
I’d like to share some first principles thoughts I’ve been having on how to completely eliminate aliasing and shimmering when rendering.
To start with, identify why the problem occurs in the first place: we are mapping from a source coordinate representation of content into a 2D pixel grid coordinate system that doesn’t perfectly align with it. Current algorithms, such as hardware rasterizers, offer imperfect (MSAA) to no correction for it. Postprocess antialiasing is even worse as it’s already lost key data. To compound the problem, we’ve been doing shading on incorrectly generated pixel fragments post-rasterization as well.
Why is MSAA flawed? Because it’s just a random assortment of points being sampled where every different arrangement gives a different result. Worse, there is no conservation of energy guarantee as every different grid alignment results in a different total pixel intensity from luck of the point sampling draw, causing shimmering/flickering as the camera moves.
Even basic rasterization offers no subpixel information in its output and potential edge fragments are often culled before reaching the fragment shader.
Pixels are not a point or a collection of points. Pixels have a surface area. Geometries cover a percentage of this surface area. At the edges, these percentages will be less than 100%. To maintain conservation of energy as the camera moves and the edge alignments change, the final generated RGB pixel value sent to the hardware for opaque geometry should have its intensity scaled by the percentage of area coverage across the pixel square.
If multiple opaque geometries contribute to this same pixel, the visible portion of each must be scaled and then added in. For example:
A: 50% coverage of (0.5, 0.5, 0)
B: 25% coverage of (1.0, 0, 0)
C: 25% coverage of (0, 0, 1)
This becomes
(0.25, 0.25, 0) + (0.25, 0, 0) + (0, 0, 0.25)
or a final pixel value of (0.5, 0.25, 0.25).
If the source geometry is itself treated as a grid of texels, then one isn’t dealing with just subpixel geometry edges but also distinct subpixel texel values that themselves can each be mapped into the screen space grid by percentage. Multiple source texels may end up covering part of a destination pixel and need their pixel coverage areas calculated and corrected for to avoid loss.
One then needs to think about what the data is that we are actually performing all of this intensity blending on. It’s not always pure color. How does one safely blend multiple subpixel normals and what does it even mean? What about blending distinct material properties with PBR?
Furthermore, the lighting calculations are occurring after this coordinate system mapping has occurred and they’re being performed on blended data where the distinct material and normal information of each geometry may have already been lost.
Instead, we should consider doing all of this shading PRIOR to the mapping to screen space, e.g. in texture space, before any of this data loss has occurred. This is also convenient for deterministic contiguous data access and doesn’t require texture sampling in an off-grid manner with texture filtering and unpredictable cache misses.
Nobody has combined all of these approaches and done it all on a GPU yet, but I can see it being quite doable in compute shaders, particularly with SDFs and voxels. One may even do this blending multiple times in a frame, such as first doing it when mapping from a voxelized object space to a voxel world space as the grids don’t align, and again to a camera space, having a final pass from back to front to handle partially occluded geometries.
I haven’t had any free time to explore implementing all of these ideas just yet, but I do believe it can be done isochronously.
Rockwell Collins (Evans & Sutherland), my former employer, handled area-based anti-aliasing in custom hardware. @NOTimothyLottes gave me the idea for texture-space rendering. The rest is original thinking on my part.
hackeryangtze retweeted
Arc Motion blur
Weekend experiment using visibility buffers and the original instance aabb to estimate center of mass (COM) + angular velocity.
With COM I decompose motion as translation and angular velocity. Blur along arc, get nicer motion blur.
shadertoy.com/view/sfsyWS
hackeryangtze retweeted
I'll talk about using spherical harmonics for thickness approximation today at #GPC26
//Definitely checkout this great overview of spherical harmonics by my good friend:
gpfault.net/posts/sph.html
hackeryangtze retweeted
New post 📝
Light is key to the look and feel of a scene, yet my work always seemed to lack a part of it: indirect lighting
To fill that gap, I explored techniques to bring real-time Global Illumination to my visuals and finally get them to feel right
blog.maximeheckel.com/posts/…
hackeryangtze retweeted
Ready to tell you all about Global Illumination this coming Tuesday!
Can't wait for you to see the new experiences and demos I built to explain these new lighting techniques
hackeryangtze retweeted
ThreeRT grew from @pocket_js Pocket3D: static three.js compilation for console rasterizers.
With @MeshyAI's team, we bet on ray tracing + a React Native-like JS runtime. It paid off.
Thanks @YuanmingH for the room to explore, more soon! Feedback:
github.com/meshy-dev/ThreeRT
hackeryangtze retweeted
I'm releasing my in-browser Volumetric Cloud Path Tracer!
➤ Uses WebGPU
➤ Fast preview mode via raymarching
➤ Slow progressive path tracing mode via delta tracking
➤ PNG&HDR export
➤ Loads of settings to play with
➤ Can upload custom 3d data
Enjoy!
lisyarus.github.io/webgpu/cl…
hackeryangtze retweeted
Neural models are the frontier of rendering!
Real-Time Volumetric Light Transport Inference without a Path
Ludwic Leonard, Ruediger Westermann
(Technical University of Munich, Germany)
arxiv.org/abs/2611.12103
Abstract:
We present a real-time method for reconstructing fully integrated pixel radiance in rendered volumetric media under direct and ambient environmental illumination, using compact, low-cost scene features and statistics. Unlike Monte Carlo denoising pipelines for volumetric rendering, which depend on computationally expensive path-traced radiance estimates, our approach directly infers the final light-transport solution from inexpensive primary-ray and environment sample evaluations. We show that these features form a near-sufficient representation of the scene, enabling accurate reconstruction at substantially lower computational cost. Using an attention-augmented image-to-image network, we demonstrate that complete pixel radiance can be inferred directly from these auxiliary features, without requiring the original radiance signal. Operating in image space also provides a more stable computational cost as the camera zooms into or out of the volume, with substantially less dependence on volume density than approaches based on explicit multiple-scattering simulation. We demonstrate real-time performance and high reconstruction accuracy in challenging volumetric cloud scenarios.
hackeryangtze retweeted
Wonderful insights on what it takes (especially debug and qa features) to ship a successful game: youtube.com/watch?v=ml6T_DP4…
hackeryangtze retweeted
#ElevenLabsAmbassador
実はあの霧、3Dの形状データは一切持っていません。
あるのは「霧の厚さ」を記録した2Dの地図1枚だけ。
それをどう流して、どう立体に見せているのか。
やり方👇
【① 厚さの地図】
32m四方を10cm角のマス(320×320)に区切り、マスごとに霧の厚さを持たせています。
【② 浅い水と同じ式で流す】
冷たい霧は空気より重く、地面を這うように広がるので、浅い水と同じように扱えます。
そこでこの地図を、浅水方程式で毎フレーム更新しています(GPUのコンピュートシェーダー)。
キックで霧を押しのけると穴が開き、押し出された分は縁に盛り上がって、重力でゆっくり穴を埋めていきます。この動きはすべてシミュレーションで、手付けのアニメーションはありません。
【③ 薄い層だけをレイマーチング】
地面から高さ1.25mまでの薄い層だけを、1ピクセルあたり16ステップでレイマーチングして立体的に描いています。
深度バッファも参照しているので、足元や灯籠のまわりにも霧がまとわりつきます。
【④ 流れに乗るノイズ】
霧の細かい模様(ノイズ)も、座標そのものを流れに乗せて一緒に動かしています。
【⑤ 光】
月明かりはセルフシャドウ付きで、上に霧が多く重なっているところほど暗くなります。
灯籠や狐火はポイントライトとして霧を照らします(最大8個)。
【ハマったところ】
・最初に検討した定番の流体シミュ(Stable Fluids)だと、蹴りで外へ押し出す力が圧力投影で打ち消されて穴が開かない → 浅水方程式に変更
・模様の座標は3セット用意し、時間差でリセットしながら重み付きで混ぜて使っている。ところが一部の処理だけ、そのうち1セットを直接読んでいたため、リセットのたびに霧全体が「ピクッ」と跳ねていた → 混ぜた値だけを使うように統一して解決。
Code:Opus 5.5
エンジン:Godot 4.7
声・効果音・BGMはすべて @ElevenLabs で生成。
@ElevenCreative
#ElevenCreativeAmbassador
🤝 Paid partnership · 🤖 Made with AI
hackeryangtze retweeted
I would love a post or video walkthrough of this!!!!
Replying to @NOTimothyLottes
I'll be treating this as a vintage to the metal console platform with assembly-level dev for CPU/GPU. Bringing back a memory of how things had been, but on modern HW. Something more of an actual console than anything you'd see from MS/Sony/Nintendo.
hackeryangtze retweeted
Replying to @aras_p @bkaradzic
Anyway, that post of yours has nerd sniped me to bump up GLSL Optimizer to have compute shaders, and move to current Mesa. Now it can go back to dormancy :) github.com/aras-p/glsl-optim…
hackeryangtze retweeted
無料・オープンソースのレトロゲームエンジン「Pyxel」、最新版で3Dゲーム開発をサポート
gamemakers.jp/article/2026_1…
『METAL GEAR SOLID』にも携わった北尾 崇氏が提供する「Pyxel」がver3.0.0へアップデート。
ローポリ特化の3Dモデリングソフト「Blockbench」製の3Dモデルも読み込めるように
hackeryangtze retweeted
Would volumetric rendering with ray marching look better?
Since the fog is thin, the fluid simulation can stay 2D.
(The prev one uses a mesh with a 2D fluid sim.)
yomotsu.github.io/ground-fog…
I tried making the ground fog. I might have used a different approach tho.
Playing video games motivates me to try things out like this.
yomotsu.github.io/ground-fog…
#ZeldaOcarinaofTimeRemake
hackeryangtze retweeted
Introducing Cilica, a general-purpose IL optimizer for #dotnet.
It lifts IL into SSA form and runs a compiler pipeline: inlining, devirtualization, scalar replacement, VN, vectorization & more.
Try it now in your browser: hez2010.github.io/CilicaLab
GitHub: github.com/hez2010/Cilica
hackeryangtze retweeted
『エアライダー』を60fpsに導いた最適化。バンダイナムコスタジオ内製エンジン「SOL-AVES」設計の裏側【CEDEC2026】
gamemakers.jp/article/2026_1…
Switch 2の超解像・可変レートシェーディングで高画質&低負荷を両立。グローバルイルミネーションはキャラクター周辺の照明情報を参照し移動のたびに再計算
hackeryangtze retweeted
Developers create Microfacet BRDFs from scratch using custom implementations
graphics-programming.org/blo…
#gamedevelopment #indiedev #gamedev





































