Skip to content
eldritch-codexPublic

About

A C++23 Vulkan-based real-time renderer plugin for Nodens.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Nyar

An experimental Vulkan real-time renderer for the Nodens framework.

CI status Nodens 0.3.1 C++23 CMake 3.30 Platform: Linux License: MIT

Milestone 1 progress Milestone 2 progress Milestone 3 progress

Getting Started · Branching · Nodens Guide · Nodens

Status: Nyar is in active, experimental development with no stable release. It is a learning ground for real-time rendering with Vulkan and modern C++20/23, and its APIs change freely.

Limitations: Linux is the only validated platform, through the published development image.

Introduction

Nyar is designed to work as a separate module for the Nodens framework. Its design and implementation draw from established principles in real-time rendering and modern engine architecture and tools (for example Slang shaders and dynamic rendering).

  • Immediate goal: follow and complete the official Khronos Vulkan "Drawing a triangle" tutorial to establish a solid baseline.
  • Future direction: incrementally refactor and morph the working tutorial code into a dedicated renderer API.

Nodens version

Nyar fetches Nodens with FetchContent, pinned to a release tag by GIT_TAG in CMakeLists.txt (currently v0.3.1). To move to a newer Nodens, change the tag and rebuild. While Nodens is at 0.x, a release that changes the API bumps the minor version, so expect to port the renamed types.

Development cycle

Nyar has one trunk, main. A change is a feature/<slug> branch, cut from main and squashed back through a pull request once CI passes; a release is an annotated v* tag on main. This is the cycle of Nodens. See Branching and releases and Committing, and the changelog for what changed.

Development environment

Nyar uses EldritchCodex's shared Linux graphics image through .devcontainer/devcontainer.json:

ghcr.io/eldritch-codex/arch-dev:main

Open Nyar in Zed or Visual Studio Code, then reopen it in the Dev Container. NVIDIA hosts need a working host driver and NVIDIA Container Toolkit. Intel/AMD hosts use the /dev/dri configuration. See the Nodens toolchain guide for GPU setup details.

To keep Zed on the host, install the Dev Containers CLI (npm install -g @devcontainers/cli). The .zed tasks and the debugger run in the container through it; start with the Docker: Start task. The tasks use .devcontainer/devcontainer.json, which mounts the project at its host path. See Zed outside the container.

Acknowledgements

In September 2026 I started experimenting with LLM coding agents (Claude Code, ZedAI and Pi) and even decided to develop my own: Armitage. I use them mostly to learn new stuff, but also they help with documentation, CI/CD and general project upkeep. Commits carry no co-author or AI attribution trailers, since I am responsible for every commit.

Suggested reading

  • Akenine-Möller, T., Haines, E., Hoffman, N., Pesce, A., Iwanicki, M., & Hillaire, S. (2019). Real-time rendering (Fourth edition). CRC Press.
  • Castorina, M., & Sassone, G. (2023). Mastering graphics programming with vulkan: Develop a modern rendering engine from first principles to state-of-the-art techniques. Packt Publishing.
  • Eisemann, E. (Ed.). (2012). Real-time shadows. CRC Press.
  • Gregory, J. (2019). Game engine architecture (Third edition). CRC Press, Taylor & Francis Group.
  • Lengyel, E. (2019). Foundations of game engine development. Volume 2: Rendering. Terathon Software LLC.
  • Marrs, A., Shirley, P., & Wald, I. (Eds.). (2021). Ray Tracing Gems II: Next Generation Real-Time Rendering with DXR, Vulkan, and OptiX. Apress. https://doi.org/10.1007/978-1-4842-7185-8
  • Pharr, M., Jakob, W., & Humphreys, G. (2017). Physically based rendering: From theory to implementation (Third edition). Morgan Kaufmann Publishers/Elsevier. https://www.pbr-book.org/
  • Vulkan Documentation: Vulkan Documentation Project. (n.d.). Retrieved August 31, 2026, from https://docs.vulkan.org/spec/latest/index.html
  • Woo, A. P., Pierre. (2019). Shadow Algorithms Data Miner. CRC PRESS.

License

Copyright (c) 2026 EldritchCodex. The project and its entire history are licensed under the MIT License.

About

A C++23 Vulkan-based real-time renderer plugin for Nodens.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Contributors

Languages