A game engine using C# / OpenTK, not very good
C# C
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


Triton Game Engine

This might become a game engine sometime in the future, but right now a lot of core functionality is missing.



  • Deferred rendering
  • PBR
  • Screen space reflections (WIP)
  • Shadow Maps
    • Point / Spot lights
    • CSM for directional lights
    • Poisson tap PCF
  • HDR
  • Filmic tonemapping
  • Bloom + Lens flares
  • Eye adaptation


  • OpenTK
  • nVidia dds command lines tools
  • JitterPhysics
  • SharpFileSystem


Open up Triton.sln and hit compile.


There are several samples available in the samples folder.

Content pipeline

The content processor will process all media files in the specified folder and write optimized versions to the specified output folder. The nVidia command lines tools has to be installed and present in the PATH in order for the content processor to function properly.

Example: `ContentProcessor.exe in=..\Media out=..Data'

Supported content file formats


  • Ogre mesh format
  • FBX


  • tga
  • png
  • bmp
  • dds


  • ogg

Texture naming convention

  • _d => diffuse map
  • _n => normal map


  • ContentProcessor - Front end executable for the content processor.
  • Triton.Common - Virtual file system, resource manager, logging and more.
  • Triton.Content - Contains all content compilers (ie meshes, textures and skeletons).
  • Triton.Game - Game base system.
  • Triton.Audio - Audio subsystem using ogg and OpenAL.
  • Triton.Graphics - Contains the high level renderers and the core graphics backend class, the backend class can be used to feed the rendering thread with commands. There are also various utilities and resource loaders in here.
  • Triton.Input - Input system
  • Triton.Math - Math classes including Vector2, Vector3, Matrix4 and Quaternion.
  • Triton.Physics - Simple wrapper for the JitterPhysics library.
  • Triton.Renderer - Core renderer, manages all GL state and provides wrapper functions for all common functionality. This is the low level renderer implementation, use the rendering backend in Triton.Graphics to issue the actual commands as thread safety is not guaranteed by the core renderer.