r/gameenginedevs • u/Comfortable-Lie-89 • 3h ago
General realtime gpu ray tracing
Running at 512x288 reconstructed to 800x450 (5x faster without temporal upsampling)
GPU: Intel HD Graphics 5000
CPU: i5-4260U
8GB of shared DDR3 memory.
r/gameenginedevs • u/oldguywithakeyboard • Oct 04 '20
Please feel free to post anything related to engine development here!
If you're actively creating an engine or have already finished one please feel free to make posts about it. Let's cheer each other on!
Share your horror stories and your successes.
Share your Graphics, Input, Audio, Physics, Networking, etc resources.
Start discussions about architecture.
Ask some questions.
Have some fun and make new friends with similar interests.
Please spread the word about this sub and help us grow!
r/gameenginedevs • u/Comfortable-Lie-89 • 3h ago
Running at 512x288 reconstructed to 800x450 (5x faster without temporal upsampling)
GPU: Intel HD Graphics 5000
CPU: i5-4260U
8GB of shared DDR3 memory.
r/gameenginedevs • u/Vargrr • 27m ago
I've been working on a graphics engine called Dorian since March this year. It still has a long way to go, but some of the rendering results are starting to look semi-professional.
I kind of got forced into it because my previous 20 year old engine - Ionian - cannot be built on the latest Microsoft tools :/ Still, the learning journey has been fun!
Dorian has a few interesting architectural features like the fact it's an ECS-hybrid which allows for scaling in the future. It also allows one to easily add new behaviours to anything without the need to re-architect (though tip of the day - make sure you write some decent debugging tools for ECS otherwise it's a nightmare to debug).

Dorian also runs on Direct-X 11, but this is in an independent project away from the main engine. The idea being that I should be able to add other graphics backends - although I'm under no illusion as to how much harder DX12 and Vulkan are.

The video above is mainly about the inclusion of complex GLTF models into the engine to check that the rendering pipelines work properly. You also get to see it rendering multiple worlds in multiple windows simultaneously.

Pipelines in Dorian are also massively configurable. It supports four pipelines - Rendering, Animation, Simulation and World-Per-Frame. You just register ECS systems with them and away you go. (You can even create your own ECS systems if you want to do something different).

The pipelines can be used in may ways too. In the above testbed one pipeline is feeding all the windows, but I also tried creating one pipeline per window and that works great too.
It's coded in c# on top of the Vortice packages.
r/gameenginedevs • u/ArturDuleba • 32m ago
Hey everyone!
So yeah. After making tools for the Game Boy, Game Boy Color and GBA, I figured I'd try the 3DS next.
Then I rebuilt VORTEX for it and got my original 3DS racing online against the browser version. Things escalated. Again.
I've just released 3DS Maker! It's a development tool for making your own 2D and 3D games for the Nintendo 3DS.
- Write Lua-like code with init(), update(), draw_top() and draw_bottom().
- Use the 3D slider to give 2D sprites layers of depth or look into a 3D world.
- Build levels and animate actors in the built-in 3D editors, or import your own animated .glb models.
- Draw sprites and vector art, make music and sound effects, and preview both screens right in the editor.
- Connect an AI agent through MCP if you want help working on your project.
The editor runs on Windows and Linux. You can export .3dsx and .cia builds for a homebrew-enabled 3DS, as well as games for Windows, Linux and the web.
3DS Maker - https://arturduleba.itch.io/3ds-maker
Play VORTEX in your browser - https://arturduleba.itch.io/vortex
Thanks to everyone who's been following along since GB Maker. If you make something with it, I'd love to see it!
r/gameenginedevs • u/VertalStrike • 18h ago
While building a PSX horror game in Unafraid Engine, the 3D engine I’m developing, I noticed the move arrows were getting the same pixelated look as the house. I like that look on the wallpaper. On a narrow axis handle it just makes it harder to tell what I’m grabbing.
The first shot is the house in the editor. The second is the interior as the player sees it. I want to keep the game preview while moving a prop, with the handles and selection outline still readable. For those building editors, where do you draw the grid and outlines relative to the low-resolution pass?
r/gameenginedevs • u/YotsubaShader • 15h ago
You can write shaders in C# and compile them to SPIR-V, or translate them to HLSL, GLSL, GLSL ES, WGSL, MSL, C++, etc.
Yotsuba Shader is an SDK for writing shaders in C#. It covers Vertex, Fragment and Compute declarations, and the connected compiler emits SPIR-V plus backend source for the supported shader subset. Geometry, Hull, Domain and Ray Tracing are planned.
With Yotsuba Shader, C# can be used as a shader language.
I'm already on stable version 1.0.0, so you game engine creators can use it.
Please mention and promote Yotsuba Shader so that in the future, shaders move away from being separate files for each game engine and can instead be published as libraries on NuGet Package and used easily."
What do you think?
Do you like it?
r/gameenginedevs • u/js-fanatic • 8h ago
https://github.com/zlatnaspirala/matrix-engine-wgpu Live demos https://maximumroulette.com/apps/webgpu/examples.html?demo=1 Lot of new updates like fxaa, heighfields, softbody support for ammo, jolt and cannonjs.
r/gameenginedevs • u/MasonRemaley • 1d ago
A friend lent me his MacBook for the month, and I took advantage of the opportunity to port the game engine I wrote for my roguelike deckbuilder Now You’re Cooking! to aarch64 and x86_64 macOS.
I wrote the game engine in Zig; the renderer is built on Vulkan using the strategies I described Fast, Flexible, and Simple Rendering in Vulkan. The engine libraries are open source although I don’t have a good public example project wiring them all together at the moment.
I was able to get the game running day one of having mac access, and then I spent two additional days cleaning up my build process so that I won't need regular access to a mac in the future.
The TLDR is that Zig makes cross compiling easy and MoltenVK/KosmicKrisp are really solid projects, you can read the full post here.
r/gameenginedevs • u/Electronic_Start_694 • 7h ago
r/gameenginedevs • u/YotsubaShader • 15h ago
You can write shaders in C# and compile them to SPIR-V, or translate them to HLSL, GLSL, GLSL ES, WGSL, MSL, C++, etc.
Yotsuba Shader is an SDK for writing shaders in C#. It covers Vertex, Fragment and Compute declarations, and the connected compiler emits SPIR-V plus backend source for the supported shader subset. Geometry, Hull, Domain and Ray Tracing are planned.
What do you think?
Do you like it?
r/gameenginedevs • u/Gloomy-Detective-922 • 13h ago
I’m building Snack Engine for snackgamer.com using Three.js and WebGPU. This is the latest navigation test, with 1,200 rigged NPCs in the scene. Each has its own pathfinding and physics.
The goal is to make crowded spaces playable in browser games. In this test, you walk through the crowd looking for lantern bearers.
r/gameenginedevs • u/YotsubaShader • 14h ago
r/gameenginedevs • u/iamfacts • 22h ago


I made a youtube devlog too. It's not very technical and I mostly only showcase the game because it's meant to be an introductory video.
I don't use LLMs at all.
r/gameenginedevs • u/Famous-Ad-5494 • 12h ago
I recently got completely fed up with other game engines, so I decided to create my own. I requested authorization from Crytek to download their engine's source code, which I’m now modifying to serve as my primary engine.
This is the first tool I’ve developed—currently in the beta phase—designed to resolve a major headache: exporting assets into CryEngine. I timed my own workflow and analyzed various videos to determine the average time required to export different types of assets.
These include standard materials, general assets, assets with alpha channels, vegetation (with LODs and billboards), and specialized assets (such as fabric with alpha and vertex paint). I found that the process takes anywhere from 5 to 120 minutes—and that’s assuming the assets, textures, and LODs are already prepared; this timeframe accounts solely for the setup process.
With this in mind, I decided to leverage the Quixel asset library. Each asset there comes with a JSON file containing valuable data—such as color, roughness values, and LOD information—which I’ve used to build this tool. It’s still quite slow; in four minutes, I only managed to export nine assets (eight plants, each with three LODs, and one rock).
The compilation time is currently too long; my goal is to reduce it to a maximum of 15 seconds, all without needing to manually navigate through folders.
Another issue, visible at the end of the video, concerns Quixel’s plant assets. They include billboards as LODs, which require a different material. Since these billboards use a different mesh and distinct UV mapping, it leads to the problem mentioned earlier: applying the same texture to an asset that has different UV coordinates.
Still, this is a significant achievement—especially the ability to simply select a folder rather than having to manually pick out individual assets.
There is still plenty of work to be done to refine everything. ...and to find more pleasant solutions—even just for faster compilation, or at least having a progress bar instead of that horrible spinning circle that prevents you from clicking on anything for fear of disrupting the program. It’s a major achievement for me, having spent years suffering through incompetent engines and lousy software.
I also ported CryEngine from VS19 to VS22 to take advantage of more modern solutions; that was the most labor-intensive part.
r/gameenginedevs • u/Famous-Ad-5494 • 20h ago
I recently got completely fed up with other game engines, so I decided to create my own. I requested authorization from Crytek to download their engine's source code, which I’m now modifying to serve as my primary engine.
This is the first tool I’ve developed—currently in the beta phase—designed to resolve a major headache: exporting assets into CryEngine. I timed my own workflow and analyzed various videos to determine the average time required to export different types of assets.
These include standard materials, general assets, assets with alpha channels, vegetation (with LODs and billboards), and specialized assets (such as fabric with alpha and vertex paint). I found that the process takes anywhere from 5 to 120 minutes—and that’s assuming the assets, textures, and LODs are already prepared; this timeframe accounts solely for the setup process.
With this in mind, I decided to leverage the Quixel asset library. Each asset there comes with a JSON file containing valuable data—such as color, roughness values, and LOD information—which I’ve used to build this tool. It’s still quite slow; in four minutes, I only managed to export nine assets (eight plants, each with three LODs, and one rock).
The compilation time is currently too long; my goal is to reduce it to a maximum of 15 seconds, all without needing to manually navigate through folders.
Another issue, visible at the end of the video, concerns Quixel’s plant assets. They include billboards as LODs, which require a different material. Since these billboards use a different mesh and distinct UV mapping, it leads to the problem mentioned earlier: applying the same texture to an asset that has different UV coordinates.
Still, this is a significant achievement—especially the ability to simply select a folder rather than having to manually pick out individual assets.
There is still plenty of work to be done to refine everything. ...and to find more pleasant solutions—even just for faster compilation, or at least having a progress bar instead of that horrible spinning circle that prevents you from clicking on anything for fear of disrupting the program. It’s a major achievement for me, having spent years suffering through incompetent engines and lousy software.
I also ported CryEngine from VS19 to VS22 to take advantage of more modern solutions; that was the most labor-intensive part.
r/gameenginedevs • u/joaopaulo-canada • 13h ago
r/gameenginedevs • u/Many_Difficulty_490 • 1d ago
r/gameenginedevs • u/Are_Logic • 1d ago
https://github.com/OuroborosCollective/ARE-SOFTWAREGPU-ENGINE : Are-Engine SoftwareGPU : CPU-only software renderer and graphics-compute research engine with tiled rasterization, optional LLVM JIT and reproducible benchmarks and a weights self improving learning Engine [lokal] #gpu #softwaregpu #cpu
r/gameenginedevs • u/Are_Logic • 1d ago
Wie eine software gpu in Android umsetzen und das unix port Problem umgehen?
r/gameenginedevs • u/Rayterex • 1d ago
r/gameenginedevs • u/True_Regular_6994 • 1d ago
Spent about nine months on this, so sharing some details. The goal was simple: I wanted HTML/CSS/JS for game UI, but I didn't want Chromium inside the game. A browser has to render any page on the internet. Game UI only renders my page, which ships with the game. So most of a browser isn't needed: network, origins, history, cookies, process isolation and so on.
What I took: lexbor for HTML parsing, V8 for JS, Yoga for flexbox, Skia with skparagraph (HarfBuzz, ICU) for text and raster. The DOM, the CSS cascade and paint order I wrote myself, around 20k lines of C++20. Own DOM because I need computed style, layout box, dirty bits, listeners and the JS wrapper right on the node, otherwise every frame is hash lookups. Own cascade because lexbor's css module knows about 45 properties, and border-radius, box-shadow, transform, gap etc come out as raw tokens. Funny thing, the cascade ended up the biggest module, 5,800 lines, more than layout and paint together.
There's no copy into Unity. Skia's GrDirectContext is created on Unity's own D3D12 device and command queue (IUnityGraphicsD3D12v8, plugin event with kUnityD3D12GraphicsQueueAccess_Allow). The texture is a committed resource with ALLOW_RENDER_TARGET | ALLOW_SIMULTANEOUS_ACCESS, wrapped in an SkSurface, and C# gets it through Texture2D.CreateExternalTexture. So Skia draws right into the texture the RawImage samples, and sync is just command order on one queue.
The annoying part was resource states. Unity doesn't say anywhere what state it expects an external texture in, and Skia's D3D backend ignores MutableTextureState, so after flush the resource sits in COMMON. With simultaneous access D3D12 promotes it implicitly when Unity samples it and decays it after ExecuteCommandLists. It works, but I only believed it after a run with the debug layer on. That run also found one real bug, a SampleDesc.Quality mismatch from the default fSampleQualityPattern in a Skia struct. One line fix. Zero D3D12 errors now.
Threads: Unity main thread only does the C# API, input and messages. A runtime thread does events, timers, V8, style, layout and records an SkPicture. Unity's submission thread replays the picture into the surface and submits. Between threads there's only the immutable SkPicture (last one wins) and bridge messages. The DOM has to be synchronous from JS (set textContent, read it on the next line), so the V8 isolate lives on the runtime thread only.
What I underestimated was damage tracking. A frame is published only if something changed, and only the changed rect is repainted. The painter remembers where each box was in device pixels and compares with the previous frame, old and new rect both go into the union. 800x600, software raster: an idle menu went from 22.7 ms per frame, with every frame published, to 0 ms and 24 frames out of 301. A HUD with one animated element went from 15.9 ms to 0.115 ms, because it repaints 22x22 instead of the whole view. In our co-op game we then cut the HUD into 11 small views instead of one full-screen view. At 1080p on CPU raster that's 282.6 ms -> 9.7 ms per frame, but texture memory went from 7.9 to 15 MB.
Bugs I still remember:
Also, quite often the test was wrong and not the engine. Negative z-index really does paint above the parent's background (CSS 2.1 Appendix E). I check the spec first now.
Missing: grid, float, calc(), custom properties, @media, ::before/::after, :nth-child, plus table, select, canvas, video and iframe. The fast path is Windows x64 + D3D12 only, other APIs fall back to software raster. No input for world-space UI yet. Pages have no network at all. The repo lists 33 deviations from browsers, e.g. the caret doesn't blink (two repaints a second per field, no thanks) and setTimeout(fn, 0) means next frame, because timers run on the game clock.
310 native tests with pixel goldens, 46 PlayMode tests on a real D3D12 device. v0.9, Apache-2.0.
https://github.com/Rovniy/xploit_game_ui
If you did external D3D12 textures in Unity differently, I'd like to hear how you handled the resource states.