Homepage
Open in app
Sign in
Get started
dotcrossdot
My Projects
Professional Releases
About me
Follow
C#
Hierarchical Finite State Machine
Hierarchical Finite State Machine
I use finite state machines (FSMs) a lot when making games, both professionally and in my own projects. I find that dividing complex…
Johan Svensson
Feb 22, 2021
A simple event system (Unity)
A simple event system (Unity)
This is going to be a short post, but I’ll post it anyway. I wanted to share a simple event system that I use both in my own projects and…
Johan Svensson
Sep 9, 2018
Dependency Injection Framework (Unity)
Dependency Injection Framework (Unity)
One of the first things I noticed when I started programming Unity games is that handling references between object/systems is often…
Johan Svensson
Sep 9, 2018
Graphics
Go and OpenGL: A GLSL Material Viewer
Go and OpenGL: A GLSL Material Viewer
This is an ongoing project that I’ve been working on a for a while. It’s an OpenGL shader/material viewer. I’ve been wanting to set up an…
Johan Svensson
Dec 14, 2019
Raymarching: Simulating a Black Hole
Raymarching: Simulating a Black Hole
This is simulation/visualization of a black hole and its gravitational lensing effect. It’s probably one of the more useless things I have…
Johan Svensson
May 13, 2019
Water/Ocean Shader
Water/Ocean Shader
I’ve been wanting to write a nice water shader for quite some time, and in the last few weeks I’ve actually had time to do just that. I…
Johan Svensson
Dec 4, 2018
Pixel graphics post-effect shader
Pixel graphics post-effect shader
The image above is actually from a game that I’m working on on my spare time, and I thought I could share how I’m converting 3D models into…
Johan Svensson
Sep 9, 2018
Compute Shaders: Fire particles
Compute Shaders: Fire particles
After working on the grass rendering system I wanted to try out more stuff with compute shaders, so I decided to try to make a cool…
Johan Svensson
Aug 20, 2018
Compute Shaders: Grass Rendering
Compute Shaders: Grass Rendering
This is a grass rendering system that I have worked on for some time. I wanted to make something that looked like the grass in…
Johan Svensson
Aug 20, 2018
Subsurface Scattering
Subsurface Scattering
This is a subsurface scattering shader that I worked on for a while. It uses a different approach to coding light functions compared to the…
Johan Svensson
Aug 17, 2018
Toon Shading
Toon Shading
So I’ve been working on a toon shader for a while. It was mostly an experiment where I wanted to do my own per pixel light calculations for…
Johan Svensson
Aug 12, 2018
About dotcrossdot
Latest Stories
Archive
About Medium
Terms
Privacy
Teams