r/gameenginedevs • • Oct 04 '20

Welcome to GameEngineDevs

110 Upvotes

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 • • 15h ago

Launching my third game built with my custom engine this week!

8 Upvotes

This week I'm launching my third game, PactSworn, using my humble little engine! I never intended for my engine to come this far, so there's a bunch of jank and hard-coded stuff that's really starting to wear me down.. thank god I'm close to done haha

I don't really have any impressive tech to show with this game, but I am surprised by how well it ran before I even did any optimization. Being a survivors like game, there's sometimes thousands of enemies in the game at a time so I though I'd have to optimize the game early on but it ended up just never really being an issue, save for a few edge cases. In the end, I still sunk a good bit of time optimizing some of the easy stuff, like instanced rendering and staggering enemy updates.

There's some stuff I'm quite proud of too, like how the tilemap visuals turned out! The tiles are procedurally generated, so it took quite a bit of tweaking to get the lighting to look how I wanted it to, and there's 3 parts to it. There's a few tile variations that can get generated, giving the base map a noisy texture. Then, I assign a brightness value to tiles that are close to "things" on the map, which makes them blend in with the environment better. Finally, I have dynamic lighting that includes things like point lights and the soft vignette effect. It's all pretty simple, but I'm happy with how it turned out!

My little engine has taken me far, but this might be the last game I ship on this little guy.. though that's what I said last time so I guess we'll see hahaha


r/gameenginedevs • • 7h ago

misa77 : A FOSS alternative to Oodle, with 2x faster decompression than zstd

Thumbnail
github.com
0 Upvotes

misa77 is an LZ-based compressor that targets situations where one can afford slow compression, but requires good ratios and fast decompression in return. Video games involve perhaps the most prominent application of such workloads, as game assets can be compressed once (slowly) on the developer's end, but it's very beneficial for compressed sizes to be small (distribution is easier), and for decompression to be very fast (assets can then be decompressed on demand at the user's end).

Most engines today use some subset of Oodle, LZ4, zstd, LZMA and a few other codecs, with the first 3 being the most common. While Oodle has certainly been dominant in this niche, it's proprietary (owned by Epic Games) and cannot be used outside Unreal Engine without a license.

misa77 aims to fill this Oodle-shaped hole amongst open-source codecs. It is much faster at decompression than open-source codecs at similar compression ratios. Detailed benchmarks can be found in the README.

I'd be happy to answer any questions.


r/gameenginedevs • • 1h ago

I've made an Open Source game engine for those that want a Unity alternative

Thumbnail gallery
0 Upvotes

r/gameenginedevs • • 1d ago

General realtime gpu ray tracing

24 Upvotes

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 • • 12h ago

Got a prototype editor working for Wima Engine

1 Upvotes

Took about 8 months of going back and forth from the editor and the game engine. Got it working at least for 2d entities. Planning to now make meshes and sprites draw onto the screen next.


r/gameenginedevs • • 1d ago

Dorian Graphics Engine - Complex GLTF Models

Thumbnail
youtu.be
10 Upvotes

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).

Creating different cameras in ECS simply by dynamically attaching components.

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 project structure

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.

Rendering multiple scenes and worlds in resizable windows.

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).

Configuring one of the pipelines.

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 • • 10h ago

Zero Polygon, Zero Texture, Zero UV Mapping, Voxel Style Game Engine

Thumbnail
gallery
0 Upvotes

Voxel Game Engine with zero view distant limitations with trees. If you keep going up you end up in space etc. Fully Random Procedural Planet generation system. Because of near zero texture memory being used it's impossible to run out of video memory no matter how many planets are added. This is my 12th game engine design. I've been testing out different game engine design theories for a while now (My Own) or at least I like to chase after wild random but highly creative/innovative ideas for game engine designs and most of my game engine design ideas work extremely well.

It's not easy designing a game engine especially because most of my ideas are NOT industry standard methods so basically it can sometimes take weeks to get some of my ideas to work but eventually I tend to always get things working by simply never giving up and by not being afraid to waste my time on ideas that don't work and to be completely honest most of my unique rendering theories didn't work at 1st but unlike most people/companies that walks away from failed ideas I generally stick with it or figure out a way to make any crazy rendering idea work then when I finally get it working I push the project further via adding features and such then somehow when 30-60% done I end up getting other ideas which eventually leads me trying out other innovative game engine ideas which renders graphics/game objects "Differently" than typical industry standard engines. In the screenshots all of the textures can actually be tweaked to produce like 5 times better results "Not real textures/texture surface simulation" but I just took screenshots as is mainly showcasing tree generator with unlimited view distance of trees which can be easily seen from planet's orbit.

That being said I'm actually on my 14th game engine design but this is my 12 game engine design. No tree generated is the same via procedural tree generator and all world settings are fully adjustable via comprehensive well categorized World Generator Menu system with so many options via change mountain sizes/shapes real time including color changes of any part of the world / live running game in real time via zero compilation for games etc. Yeah I know some may get puzzled by my methods but honestly I truly love taking drastically different approaches to how a game engine should work including "what defines a game object" within my specific game engine designs. By changing how a typical game engine object comes together in my engine its actually not difficult to engineer around typical limitations when it comes to extreme amounts of game engine objects.

All in all to me in my mind it matters not how great my game engine can become if it will be a nightmare to use therefore I've been frying my brain coming up with the most intuitive ways I can think of to build games in my engine or at least my latest 14th game engine design makes it drastically easier to build games via specialized tools without needing to rely on expensive asset libraries etc with pretty much most things needed just simply built into the engine itself but without the same limitations you get with well known "Industry Standard Game Engines".

What my game engine will be strong for is feature rich "Open World/Open Galaxy" game development including "Side Scroller 3d/top down 3d" games. This game engine supports an unlimited amount of textures or more accurately my last or come to think of it ALL of my game engine designs support an unlimited amount of textures with it being impossible to run out of video memory even with millions of different textures it doesn't matter because my engine only simulates any texture surface so no real textures. Anyway just wanted to share a few screenshots.

Please don't hate on me for not using regular textures/regular polygons lol me personally I just think game engines should be allot better/more innovative which would in turn help to produce far better games with far less limitations. I hope to release my latest game engine design sometime next year as it has already shown high levels of promise šŸ‘šŸ¾


r/gameenginedevs • • 11h ago

STACity — Seven weeks building a custom game engine and creation suite for fun

0 Upvotes

Why build my own engine?

Because it's fun to me :)

For the past seven weeks, I’ve been building STACity, a game engine and creation suite written from scratch in C# and .NET 9. Give it a seed and it generates a whole cyberpunk city. ASCII and pixel glyphs render most of the world, with cel-shaded, low-poly characters and vehicles. You can open the city in the editor, change it, then play in it. That open-world sandbox is both the showcase and the test bed.

I built the renderer, simulation, editor, asset pipeline and file formats from scratch. The engine uses zero NuGet packages, and I wrote the Direct3D 11 interop for the GPU glyph compositor by hand. I developed and benchmarked it on a Lenovo Legion Go.

What it’s like to play

You can walk down a street, enter a shop, take a lift or ride the metro. If you’d rather travel above street level, you can sprint, slide, wall-run or use a tool I have been calling the Gravity Hook that switches its traversal styles. I designed it to be easy to pick up. You can grapple toward a surface, swing around a tower Spider-Man-style or use it to pole-vault high over buildings. Each city has around 800 bridges and walkways stacked at different heights, so there’s plenty to move between.

At street level, traffic follows signals, queues at junctions and gets into collisions. Pedestrians chat, use doors and lifts, and react to explosions. You can carjack any car, tune the radio and drive in first or third person. Vehicles have working digital dashboards, and damaged cars can catch fire and explode. Skycars weave between the towers, and you can fly one yourself.

City generation starts with the terrain. Streets follow the grades and district plateaus, and a ring road wraps around the city’s irregular outline. The road generator follows 24 numbered rules covering details such as roundabouts, boulevards and the way an alley meets a main road as a driveway. A road-engineering study informed the highway ramps and interchanges.

There are twelve building families, with designed shopfronts and enterable interiors. Both the sky metro and underground metro have stations and rideable trains. Beyond the city is a wasteland of reactors, power lines, small towns, farms and billboards for invented brands. A full day and night takes 20 minutes.

Inside the editor

The editor is a standalone desktop app with a 2D plan view, a 3D scene view, searchable tools, built-in help and full gamepad navigation. "Generate City" builds a city from a seed in one click, shows its progress and produces a report you can use to check road connections, lanes and ramps.

The two forges are the same tools that populate the world. Both have live previews you can orbit, part tabs, palettes, presets, undo and batch generation. You can also lock the parts you like and randomize the rest.

- Character Forge builds characters from parametric male and female bodies, ten heads, clothing, hair, cybernetics and accessories. Spring bones give the clothing motion. Every pedestrian is generated to suit their district.

- Vehicle Forge builds all the city traffic. It supports 11 vehicle types, from compacts to buses and tractor-trailers, with around 8,000 valid configurations. Doors and suspension work. Damage ranges from scrapes and dents to burst tires, detached parts and explosions.

- Animation Studio works directly on the player’s skeleton. You can scrub a wall run or grapple cast frame by frame, drag a joint into position and key the pose. It also supports animation imports, presets, undo and redo.

- Creator Studio lets you assemble models from parts, attach them to joints and animate them on a timeline. Its mesh tools cover point editing, UVs, basic sculpting and four-bone skin weights. Motion helpers turn basic moves into keyframes you can edit.

The Rendering Research Lab shows the same scene through five rendering methods side by side. These include the production ASCII renderer, a PS1-style experiment, a conventional shaded 3D diagnostic and two experimental glyph methods. You can compare each against a baseline and export the measurements. The Character Studio Research Lab does something similar for sprite stand-ins and rigged 3D characters.

The Shader Panel has before-and-after views for cel shading, outlines, neon glow, fog, color grading, rain and wet streets. You can change quality tiers and measure what each effect costs on your own machine.

A few smaller tools round out the editor:

- Sign Studio creates animated neon signs and ads for the generator to place on storefronts.

- Audio Studio lets you audition procedural vehicle and radio sounds and export WAV files.

- Interior Editor gives you a dollhouse view of building interiors. The Asset Library lets you browse and preview models, props and signs.

- In-game settings open with F2. Every setting has a plain-language explanation, and presets are available.

- Agents exposes the engine’s own MCP server. An AI agent can inspect a project and propose edits. You approve each edit and can undo it.

- Hacking & Networks Lab is still an early shell.

Seven weeks by the numbers

- $120 total for two Claude Pro subscriptions and one Codex subscription, at a combined $60 a month.

- 879 commits on the main development branch and 885 across all branches, with work on 44 separate days between 9 October and 29 November 2026.

- About 100,000 lines of C# in the engine, plus roughly 62,000 lines of tests.

- A 138-page game design document, now on its 18th version.

- 229 documentation files totaling around 660,000 words across designs, research studies, plans, handoffs and logs.

Claude Code accounted for about 11.25 billion tokens across 23 sessions and roughly 35,000 model responses. Most of that figure was cache traffic. About 11 billion tokens were reads of code and documents already in context, 207 million were fresh context written to cache, and 35 million were model output. I mostly used Claude Opus, with Sonnet handling much of the sub-agent work.

OpenAI Codex also worked on the project. Its surviving logs account for around 90 million tokens. Most of those sessions are gone, so I don’t have a complete total.

How I built it

AI coding agents wrote most of the code. I acted as director, designer and art lead. My biggest lesson was how much of that job came down to writing things down. A fresh session had no memory of why I’d rejected a render or what had gone wrong at a junction two weeks earlier. I probably spent as much effort on plans and documentation as I did on directing the code.

The 138 page game design document divides the engine into 76 capability packages, covering everything from rendering, physics and audio to scripting, hacking and an optional tabletop-RPG layer. Each package has a milestone, dependencies, a functional spec, an acceptance checklist and a status line that says what actually works.

ā€œVerifiedā€ has a specific meaning in that document. A feature has to work in the editor and in an exported build, survive a save/load cycle, and have automated and visual tests. Standalone export is still missing, so nothing qualifies as verified yet. The latest revision, v7.0, brought the spec back in line with the engine. I added ten packages for systems that had grown during development, recorded requirements I’d changed or retired, and gathered the standing rules into one chapter.

Day to day, the process looks like this:

- Give each round a finish line. The plan has 13 major gates, from baseline and housekeeping to production readiness. Each gate has a written scope, pass criteria and an evidence folder. A performance gate might require the worst frame to stay under 50 ms and the 1% low to stay above 30 fps in all three test scenes. Agents work in rounds capped at 90 minutes, commit what passes and report back.

- Review real gameplay. At the end of a gate, separate critic agents compare gameplay frames against the visual guide. Blockers get addressed, and smaller issues become tickets. Benchmarks and screenshots come from a canonical generated city using real play settings.

- Make visual problems measurable. I hated the stair-stepped edges that showed up in motion and are often found in ASCII games. The engine now has a test that counts stair corners per frame while driving, flying, walking and exploring interiors. This has reduced a significant amount of visual noise. A visual change has to pass without raising that count.

- Audit the plan against the build. Every few weeks I check the code against the design document, correct stale claims and reset priorities. Frame rates, test counts and known defects get dates and links to evidence. That makes it clear whether a studio actually works or just has a tab in the editor.

Larger features get their own plans. Vehicle Forge had an 18-gate, 600-line plan, an audit of the existing code, an art standards document and an interior brief. The Character Forge design runs to more than 1,000 lines.

What carries from one session to the next

I turned a lot of my visual preferences into rules an agent could check. There’s a 71-rule visual identity guide based on my concept sheets, 24 road-generation rules, 15 outskirts rules, and separate rules for highway ramps and z-fighting. The city structure guide draws on urban-design research, including space syntax and procedural city papers. Most rule sets have a command that checks a generated city and reports a pass or fail.

The repo holds 84 research studies covering existing projects, road engineering, crowd and traffic performance, procedural generation, animation pipelines, wall-run controls and camera design. Each study distinguishes observations from inferences and open questions. I use those findings to develop original designs.

A few documents do most of the work between sessions:

- LESSONS_LEARNED.md holds about 4,400 lines of reusable findings, implementation traps and measurements.

- 37 decision records, architecture and testing notes, and a roughly 3,000-line development log explain how the engine reached its current state.

- 32 handoffs and audits help a fresh session resume partway through a gate.

- 13 specialist agent definitions cover critics, designers and engineers. One is a ā€œstepping-clarity guardianā€ responsible for reviewing visual changes.

- Around 40 standing preferences capture decisions I don’t want to repeat. Some are visual, like keeping trees out of the city, using cel shading throughout and aiming for low poly designs. Others govern the work itself, like running agents one at a time.

Tools and assets

I used C# and .NET 9 for the engine, WinForms for the editor and Direct3D 11 for the GPU glyph compositor. Claude Code and OpenAI Codex handled most of the coding work.

For 3D assets, I used Blender through an MCP server so agents could build, inspect and export models. Some vehicle bases started as public-domain CC0 low-poly assets and were heavily reworked. I retargeted Mixamo clips to my own rigs, then refined them in Animation Studio. Some textures are AI-generated, with art direction and cel shading. Sound effects came from ElevenLabs, and music came from Suno. There is in game music and sound effect audio that is not heard during the trailer.

Where it stands

The dense city core currently runs at about 43–54 fps on the Lenovo Legion Go, against a target of 60. Combat is being reworked, several studios are still early, and the sandbox currently runs from the editor. My next priority is making a Combat Forge that allows players to build combat movesets and animations to be used in game and assign them to enemy and player types at the press of a button. (for example, large enemies can get have a grapple based attack moveset while small enemies have faster, multi hit attack movesets) And down the line I want to add modular rulesets for different game types.

Happy to answer questions about the custom ASCII and Glyph renderer, how the city rules fit together, what it’s like to build on a handheld, or how I kept seven weeks of AI-assisted development moving in the same direction with a tremendous amount of planning and documentation.

I have no release planned, this is a personal passion project that I am using to learn solo game development and design. At some point I may make a game, but right now I'm just playing around.


r/gameenginedevs • • 1d ago

I want PS1 graphics in my game, but crisp transform arrows in my 3D editor

Thumbnail
gallery
31 Upvotes

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 • • 1d ago

3DS Maker is HERE!!! Make your own games for a real Nintendo 3DS

Thumbnail
youtube.com
0 Upvotes

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 • • 21h ago

Working on a custom Minecraft engine

Thumbnail gallery
0 Upvotes

Had an idea a while ago that i should create a spinoff like game in minecraft with storyline and cutscenes but felt like Java Edition would be complicated and i'd have to make everything in java to work with it but ended up working on my custom game engine "Mirage" which is basically minecraft but already with better, graphics, lightings, mechanisms (better movements, dynamic camera adjustment) all built in Javascript using Three.js, will definitely showcase it after a few tweaks and playable demos. This might sound like a weird approach but i really wanted to make a game engine of my own and i did just that for learning purposes.

This screenshot is just a placeholder, pretty basic build of the engine not much going i was just checking out the rendering and npc behaviour systems


r/gameenginedevs • • 1d ago

I made an SDK to write Shaders in C# (Vertex, Fragment, Compute)

9 Upvotes

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?

Web

GitHub

Donations or Support


r/gameenginedevs • • 21h ago

Looking for a Rust systems programmer to collaborate on a custom 3D engine

0 Upvotes

Hey everyone,

I'm a Rust developer and co-founder of Ropix Studio, an independent game studio primarily focused on atmospheric and horror games.

I've been developing Ropix Engine, our own 3D game engine written in Rust, with native Rust gameplay programming. One of the main reasons behind this project is to simplify our own game development workflow by providing dedicated tools for atmospheric, horror and narrative-driven games.

My long-term goal is to make Ropix a free, royalty-free game engine that independent developers can seriously consider for their projects.

Current progress

The engine is currently at v0.1.0, with v0.1.1 undergoing manual code review and stabilisation.

For full transparency, I've used AI-assisted development tools, primarily Codex, throughout the project. I'm currently reviewing the entire codebase myself, checking architectural decisions, simplifying unnecessarily complex implementations and correcting issues.

The project is organised across multiple private GitHub repositories, with CI workflows, contribution guidelines and development infrastructure already established.

Who I'm looking for

I'm looking for one developer who genuinely enjoys Rust and game engine development and would be interested in working on a specific subsystem.

Potential areas include:

- Asset importing and management

- Editor and world construction tools

- Animation tools

- Audio management

- Scene and project tooling

You wouldn't be expected to work across the entire engine. I'll continue managing the core architecture and more technically demanding systems myself. We can decide which subsystem best suits your experience and interests.

You don't need to be an experienced engine developer, but you should have a reasonable understanding of Rust and be comfortable learning independently.

Project conditions

- This is an unpaid hobby collaboration.

- The engine is currently closed source, although I intend to open-source a substantial portion of it once it reaches sufficient maturity.

- There are no fixed working hours or minimum weekly commitments.

- Contributors will receive proper attribution.

- Contributions will be managed through private GitHub forks and pull requests.

- Draft PRs and requests for technical feedback are welcome, but merged code must meet the project's quality standards.

I'm not looking to assemble a massive team or rush development. I'd simply like to find another developer who shares an interest in engine programming and wants to contribute to a long-term technical project.

Studio website: https://ropix.studio

If you're interested, send me a DM with a little information about your Rust experience and what areas of engine development interest you.

I'm also happy to answer technical questions about the project.


r/gameenginedevs • • 1d ago

In a world where you can one shot UE games, what would your dev kit look like?

Thumbnail reddit.com
0 Upvotes

r/gameenginedevs • • 2d ago

šŸ I ported my Vulkan game engine to macOS in one day

107 Upvotes

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 • • 1d ago

The beast engine update

Thumbnail
gallery
0 Upvotes

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 • • 1d ago

Testing 1,200 rigged NPCs with individual pathfinding and physics in my Three.js engine

2 Upvotes

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 • • 1d ago

I made an SDK to write Shaders in C# (Vertex, Fragment, Compute)

2 Upvotes

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?

Web

GitHub

Donations or Support


r/gameenginedevs • • 1d ago

New Dynamic Shadow Shader!

Post image
0 Upvotes

r/gameenginedevs • • 1d ago

Yotsuba Shader, C# Shader Language

Thumbnail
reddit.com
1 Upvotes

r/gameenginedevs • • 2d ago

D3D11 + C Game / Engine where you pilot mechas to kill demons

4 Upvotes

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 • • 1d ago

Cryengine/Belamontes Interactive engine | Bela Fab Export

Thumbnail
youtube.com
2 Upvotes

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 • • 1d ago

Afina Engine

Thumbnail gallery
0 Upvotes