Skip to content

Simple, high performance DirectX11.1 renderer for Gothic assets

Notifications You must be signed in to change notification settings

Katharsas/ZenRen

Repository files navigation

ZenRen

Simple, high performance DirectX11.1 renderer for Gothic assets (VDF or single files).
Attempts to closely recreate original G1/G2-AddOn look and lighting.

Download (Windows)

Currently supports

  • Worldmesh (ZEN)
  • Static Objects (VOBs)
  • Static Light
    • Lightmaps
    • Per-Vertex Colors
    • Per-Vob Static Light Accumulation (Color & Direction)
  • Time-Of-Day Skylight
  • Asset File Formats
    • Level: VDF
    • Objects: VDF
    • Textures: VDF, TGA, PNG

Features

  • Frame Limiter
  • Simple Forward Renderer
    • Linear Colors
    • MSAA, up to 4x SMAA
    • Transparency Multisampling (Alpha-To-Coverage with Sharpening)
    • Resolution Scaling
    • Depth Prepass
  • Postprocessing
    • Tonemapping
    • Gamma, Brightness, Contrast
  • UI (ImGUI)
    • High DPI Aware

TODO

  • Sky
  • Water / Morph-Meshes
  • Dynamic Lights
  • Dynamic Objects (MOBs)
  • Asset File Formats
    • Level: ZEN (outside VDF), OBJ
    • Objects: 3DS, OBJ
  • Loading single objects without level

Options

  --level     Level ZEN name.
                Example: "WORLD.ZEN"
				 
  --vdfDir    Root dir containing VDFs to be loaded (will check all subfolders).
                Example: "C:\Program Files (x86)\Steam\steamapps\common\Gothic"
				 
  --assetDir  Root dir containing additional assets (will check all subfolders).
                Currently supports .TGA files.
                Example: ".\my-mod-assets"

Screenshots

Oldcamp Swampcamp YBerions Temple

License

Copyright (c) 2024 - Jan Mothes

This project's first-party code is "source available" for now.

Third-Party

  • lib/DirectXMath - MIT
  • lib/DirectXTex - MIT
  • lib/g3log - Public Domain / Unlicense
  • lib/imgui - MIT
  • lib/magic_enum - MIT
  • lib/tinyobj - MIT
  • lib/ZenKit - MIT
  • lib/ZenLib - MIT

About

Simple, high performance DirectX11.1 renderer for Gothic assets

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages