Morten Vassvik (@vassvik) header
Morten Vassvik (@vassvik) profile picture

Simulation and rendering nerd. Co-founder and CTO @JangaFX. Working on EmberGen and more. Discord: vassvik @vassvik@mastodon.gamedev.place @vassvik.bsky.social

Hellvik, Norway
Joined April 2009
Photo by Morten Vassvik (@vassvik)Photo by Morten Vassvik (@vassvik)Photo by Morten Vassvik (@vassvik)Photo by Morten Vassvik (@vassvik)Photo by Morten Vassvik (@vassvik)Photo by Morten Vassvik (@vassvik)Photo by Morten Vassvik (@vassvik)Photo by Morten Vassvik (@vassvik)Photo by Morten Vassvik (@vassvik)Photo by Morten Vassvik (@vassvik)
On this day 2 years ago I posted a tweet on what would eventually become a sparse version of EmberGen, which had already been in development for 3 years A retrospective🧵on the journey so far:
9
66
5
552
118,492
Morten Vassvik retweeted
I'm going to the Graphics Programming Conference in Breda, NL this week, if anyone wants to meet up let me know 😁
2
1
35
1,588
Morten Vassvik retweeted
Umon Noise shadertoy.com/view/scXyDN 雨の日の水面に出来る模様(雨紋)の様なノイズです。 Kamisuki の応用例を追加しようとして遊んでいたら、さすがに「紙漉き」と呼ぶには語弊があるものが出来たので別のノイズとして公開します。 前回との主な違いは - 位置のオフセット - セルの中心からの距離を sin(d) として入力 です。 ...要するに、ボロノイのカーネルで適当になにかやると、なんかノイズっぽいものが出来やすいってことなので、ボロノイカーネル遊びはおすすめです。
自作ノイズの Kamisuki Noise を公開。 shadertoy.com/view/7clyWr ガボールノイズの様なパターンを生成します。 ボロノイの要領で近傍セルを走査しながら、各セルの中でランダムに回転させた sine 波で縞模様を作り、それを周りのセルと接合してるだけです。 なるべくシンプルにしたので改造の余地があると思います。 遊んでみて!
4
23
2
360
8,920
Morten Vassvik retweeted
自作ノイズの Kamisuki Noise を公開。 shadertoy.com/view/7clyWr ガボールノイズの様なパターンを生成します。 ボロノイの要領で近傍セルを走査しながら、各セルの中でランダムに回転させた sine 波で縞模様を作り、それを周りのセルと接合してるだけです。 なるべくシンプルにしたので改造の余地があると思います。 遊んでみて!
9
133
5
1,196
49,722
Morten Vassvik retweeted
A few years ago I was coding a simple 2D physics & rendering engine. It died out because I'm simply not that strong in math. The pixel processor in IlluGen is almost done, which is insanely powerful. You can build your graph and then write additional code to generate or iterate on whatever you're feeding it. I figured I'd have claude take a stab at a 2D raymarching node, like what i was trying to build a few years ago, and after a few iterations its pretty awesome. In IlluGen you can use our UI to access parameters within your processor code and even animate them with things like modulators or key frames. I'm not really sure what pandoras box this will open or if LLM's are the best way to write these shaders/custom nodes vs learning to code. I'm trying my best to navigate "This is art" and this is LLM trash. Being pretty inept at coding, who knows how long it would've taken me to build this exact thing I was looking for. I have had some fun tonight hand coding a few shaders and it's an absolute blast to be able to interact with shaders at a new level. I've never experienced something so easy, eloquent, and simple for making and working with shaders despite my severe programming knowledge limitations. Raymarching, relighting, simulations, conways game of life, post processing shaders for games, and many more things will soon be possible with this new node. It's basically the desktop version of shadertoy i've always wanted. Procedural graph/inputs (nebula generation in this case) -> Code to do something with those inputs -> More graph
2D Raycasting using triangles for rendering instead of lines now. Took me a while to figure out how to keep the gradient consistent. Simple solution made hard in my brain. Some slight jittering on the edges of shadows. Not sure why yet. #computergraphics
12
11
78
3,715
#EmberGen Forward, isotropic, and backward spot light + multiple scattering.
3
8
88
3,031
More phone friendly
1
1
15
787
Three multiscattering ones in isolation, maybe the Twitter compression will do better on it
5
144
#EmberGen 1,275,035,648 active voxels 3616x2880x704 bounding box
7
38
1
739
16,729
#EmberGen Got rid of some nasty aliasing artifacts today. g = +90% and -90%, kind of extreme for the environment lighting model (26 directional lights, 1/4 res) and multiple scattering model (6-dir LPV, 1/16th res) used (you can see transitions if you watch closely).
7
90
3,301
Cursed (feature request: Agent-initiated harness rewind for context curation for when it knows that part of its context can be shed)
2
549
Morten Vassvik retweeted
EmberGen 2 LPV Cloud Rendering R&D EG 1 could never dream of this many voxels at this rendering quality. Oh how far we have come!
14
43
4
410
21,055
Morten Vassvik retweeted
Real-time spectral rendering of the atmosphere using Radiance Cascades with rainbows and refraction. Light paths are allowed to bend and create complex dispersion as well as atmospheric lensing.
Wave Cascades: A wave-optical extension of Radiance Cascades for real-time simulation of Lorenz-Mie scattering and Lorenz-Mie-Fresnel diffraction. Fully spectral Mie LUT is computed in real-time (white=measured, green=computed), and I sample it with UHRC which is fully spectral.
7
22
2
367
14,855
Morten Vassvik retweeted
Still tweaking the combustion solver in EmberGen 2. A bit closer to photo-realism as well, particularly at the end.
8
8
171
6,104
Morten Vassvik retweeted
The stick is a fuel source
14
47
4
1,058
42,496
Morten Vassvik retweeted
Based on my recent work for real-time Lorenz-Mie scattering and spectral volumetrics, I think it would suit well for atmosphere rendering in the style of Gran Turismo. Has anyone tried recreating their datasets, or better, results, also to compare? Want to try this in real-time.
Replying to @CodyBennett
Mie scattering is wavelength-dependent and varies over altitude and humidity, as described in "Physically Based Real-Time Rendering of Atmospheres using Mie Theory" and Gran Turismo 7 2023 GDC presentation. This phase is nice on the ground but doesn't hold up at higher altitude.
3
12
1
145
6,635
Morten Vassvik retweeted
Wife told me these wouldn’t fit. Little did she know I had trained for this moment for years.
545
20,071
815
360,806
12,021,057
Morten Vassvik retweeted
Pretty sure I discovered some new N-body choreographies, up to 11 dimensions for now: lycium.github.io/hyperchoreo…
2
2
1
10
2,111
Morten Vassvik retweeted
i made a puzzle game where you bend light with prisms, lenses, black holes there's 30 levels for you to play it's called Prism Rules, it's out now, i hope you'll enjoy :]
i'm working on a game prototype where you use mirrors / prisms to bounce light around and solve puzzles not sure if this is something? think you'd have fun playing this?
64
330
23
3,178
609,701