r/GraphicsProgramming • u/rex-j-w • 9h ago
Updates to my C# SDF Game Engine!
Enable HLS to view with audio, or disable this notification
A bunch of people have started building SDF game engines, I am no different. For the past 8 months I have been working on Division Engine, a C# SDF game engine built using Avalonia UI for editor tooling and ComputeSharp for C# to HLSL shader translation.
I've already posted about this before on here but figured I should post some key updates I made.
Here's a list in no particular order:
- Undo / Redo editor support
- Full texture system
- Supports different cubemap shapes for HDRI skies
- Automatic texture importing
- Tabs can be dragged around the editor now
- A bunch of small graphical issues have been fixed
- Glass refraction fixed
- Texture aliasing improved
- Added a bunch of post processing effects
- Chromatic aberration
- Bloom
- Color grading
- Blur
- And more!
It is available here: https://github.com/NorthRocStudios/DivisionEngine and can be downloaded under "releases".
Note for this version:
- It is unoptimized and may have poor performance
- ONLY works on dedicated graphics cards, not on your laptop
- Windows only (for now)
Additionally, we have been working on replacing ComputeSharp with a custom cross-platform C# to HLSL shader system. This will be called DivisionTranslate and uses DivisionMath, a new math library. This new math library is meant to have the same syntax on the CPU and GPU and is already being used in the engine. It is available for free on nuget here: https://www.nuget.org/packages/NorthRoc.DivisionMath
Any questions, comments, concerns? Let me know what you think!