Portfolio

Current project

Vulkan Schnee Engine

A game engine built on Vulkan and OpenXR with Bullet 3 physics, developed since September 2024.

This is a gallery for all the bugs and progress on the engine since the start in September 2024. The project is a game engine built on Vulkan, OpenXR, and Jolt as its physics engine.
  • Vulkan
  • OpenXR
  • Jolt
  • C++
  • CMake
  • Blender
So It Begins
So It Begins
Flat Rat Projection Matrix Wrong
Flat Rat Projection Matrix Wrong
I start learning Vulkan with a desktop renderer because that is the object of interest. It has rudimentary hierarchical transforms. They are done without a proper scene tree and only held together with duct tape and hot glue.
Start With The Desktop Renderer. The rats are attached to the potato which is rotating
Start With The Desktop Renderer. The rats are attached to the potato which is rotating
I start investigating mesh shading as my focus started to shift over to rendering VR with mesh shading. To get started I try to get a simple object made of multiple meshlets on the screen which was this can from polyhaven
Meshlet Generation Is Breathing
Meshlet Generation Is Breathing
Projection And Model Matrix Broken
Projection And Model Matrix Broken
With mesh shading working okayish at least I start focusing on implementing a lighting model which doesn't eat up a huge part of my nonexistent frame times on a VR headset
Lightmap UV displayed on Lightmap in blender
Lightmap UV displayed on Lightmap in blender
This is where I find out that PNG doesnt support more than 16 bit color depth in blender
This is where I find out that PNG doesnt support more than 16 bit color depth in blender
Light baking tool in Blender is working
Light baking tool in Blender is working
Light baking UV correct, bit depth wrong
Light baking UV correct, bit depth wrong
Blender Export Plugin
Blender Export Plugin
Blender Editor Plugin
Blender Editor Plugin
Objects which have many primitives tend to break the mesh shader hard because the meshlets are often 3-8 vertices large causing the mesh shader to starve for work. Different colors are different meshlets
Issues With Meshlets And Small Objects
Issues With Meshlets And Small Objects
Meshlet rendering is working
Meshlet rendering is working
Experiments with Spherical Harmonics rendering for dynamic bounce lighting data
Experiments with Spherical Harmonics rendering for dynamic bounce lighting data
The light maps here are really primitive. Its a combined image from blender where all the texture information is baked into one image which looks good as long as you don't intend to use a tonemapper any time soon.
Lightmaps Working For The First Time
Lightmaps Working For The First Time
Lightmaps Are Working
Lightmaps Are Working
With light maps implemented I start to look into handling dynamic objects. That is something I haven't spend time thinking about. With that I implemented a rudimentary material system which runs on a single draw per pipeline which the material needs to render on.
Multi-material support
Multi-material support
Direct Material Export In Engine
Direct Material Export In Engine
Direct Material Export Scene In Blender
Direct Material Export Scene In Blender
On new year I finally get bullet 3 working. Here only where I simulate a cube falling onto a plane where the data is read back into a file because the renderer is broken. So much fixing the renderer got to me and I start the physics engine side quest
Physics Working Falling Cube Debug
Physics Working Falling Cube Debug
Physics Is Working Spawn One Cube Per Frame
Physics Is Working Spawn One Cube Per Frame
Here the renderer rework is "done" as in the infrastructure for moving data is done. The bug fixing is not. The rework includes that a modularized rendering pipeline where I can chain stages one after another because I want to implement culling which just wasn't viable with the previous pipeline
Triangle Index Order Fail
Triangle Index Order Fail
Meshlet Indices Are Broken Yet Again
Meshlet Indices Are Broken Yet Again
Reading With Wrong Buffer Offsets
Reading With Wrong Buffer Offsets
Meshlet Indices Are Working
Meshlet Indices Are Working
Subpixel triangle culling fail
Subpixel triangle culling fail
With frustum and sub-pixel culling working half decent I was thinking that I want to implement HiZ culling. That turned out to be a beast and a half when done in stereo rendering especially because I don't fully understand what I am doing with compute shaders yet
Culling Is Broken Yet Again
Culling Is Broken Yet Again
Rendering Fail
Rendering Fail
Almost Working Correct
Almost Working Correct
Occlusion Culling
Occlusion Culling
Lightmap Light Only
Lightmap Light Only
Lightmaps With Tonemapper
Lightmaps With Tonemapper
Async Asset Loading In Tracy
Async Asset Loading In Tracy
Hierarchical LODs failing spectacularly
Hierarchical LODs failing spectacularly
Areas Missing From The Mesh
Areas Missing From The Mesh
Hierarchical LODs for meshlets failing even harder
Hierarchical LODs for meshlets failing even harder
Large Scene Loading Broken
Large Scene Loading Broken
First successful lightbuild of bistro with missing denoising of the lightmaps
First successful lightbuild of bistro with missing denoising of the lightmaps
Masked Alpha Channel implemented
Masked Alpha Channel implemented
Skinned Mesh Rendering
Skinned Mesh Rendering
Spherical Harmonics On Skinned Mesh
Spherical Harmonics On Skinned Mesh
Reinhard color tonemapper and ImGui
Reinhard color tonemapper and ImGui
Failed to setup BC6H compression correctly
Failed to setup BC6H compression correctly
Spawning game objects during runtime
Spawning game objects during runtime
I was investigating why my light probes were lighting objects which shouldn't have had light on their back had it anyways. Turns out its a quirk with the second level of spherical harmonics where they have a symmetry issue which creates that ghost light on the back of the sphere.
Spherical harmonics lightprobe ringing on back with L2
Spherical harmonics lightprobe ringing on back with L2
Spherical harmonics lightprobe L0 and L1
Spherical harmonics lightprobe L0 and L1
Screenshot 20260508 012644
Screenshot 20260508 012644
Screenshot 20260508 023701
Screenshot 20260508 023701
Collisionconfusionmatrix
Collisionconfusionmatrix
Blendergeometrylinking
Blendergeometrylinking
Screenshot 20260714 061500
Screenshot 20260714 061500
Screenshot 20260714 065808
Screenshot 20260714 065808
Screenshot 20260805 224613
Screenshot 20260805 224613
Screenshot 20261017 060724
Screenshot 20261017 060724
Screenshot 20261028 020616
Screenshot 20261028 020616
Screenshot 20261028 025204
Screenshot 20261028 025204
Screenshot 20261028 073518
Screenshot 20261028 073518
Screenshot 20261106 005541
Screenshot 20261106 005541
Screenshot 20261115 192653
Screenshot 20261115 192653
Weirdpixelerrors
Weirdpixelerrors
Screenshot 20261116 040723 1
Screenshot 20261116 040723 1
Screenshot 20261116 040729 2
Screenshot 20261116 040729 2
Screenshot 20261118 082152
Screenshot 20261118 082152
Screenshot 20261118 082203 1
Screenshot 20261118 082203 1
Screenshot 20261120 035430
Screenshot 20261120 035430
Screenshot 20260508 024635
Screenshot 20260508 024635
Screenshot 20260512 085041
Screenshot 20260512 085041
Screenshot 20260516 152835
Screenshot 20260516 152835
Screenshot 20260517 163131
Screenshot 20260517 163131
Screenshot 20260526 040527
Screenshot 20260526 040527
Screenshot 20260529 111218
Screenshot 20260529 111218
Screenshot 20260529 111906
Screenshot 20260529 111906
Screenshot 20260601 025742
Screenshot 20260601 025742
Screenshot 20260618 093752
Screenshot 20260618 093752
Screenshot 20260618 100330
Screenshot 20260618 100330
Screenshot 20260703 051722
Screenshot 20260703 051722
Materialshowcase
Materialshowcase
Enginescreenshotsareworking
Enginescreenshotsareworking

Side projects