GFX 1.0.6

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package GFX --version 1.0.6
                    
NuGet\Install-Package GFX -Version 1.0.6
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GFX" Version="1.0.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GFX" Version="1.0.6" />
                    
Directory.Packages.props
<PackageReference Include="GFX" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add GFX --version 1.0.6
                    
#r "nuget: GFX, 1.0.6"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=GFX&version=1.0.6
                    
Install GFX as a Cake Addin
#tool nuget:?package=GFX&version=1.0.6
                    
Install GFX as a Cake Tool

GFX Game Engine

NuGet Version

Welcome to the GFX Game Engine – an open-source framework designed to make game development simple, powerful, and accessible.

If you have any questions about GFX, join our community on Discord.

Overview

The GFX Game Engine is a lightweight framework for creating 2D and 3D games in C# with .NET 8. It includes modules for rendering, graphics, animation, and audio.

Why Choose GFX?

  • Effortless creation of 2D and 3D scenes
  • Custom behavior system for defining game logic
  • Powerful physics simulation using BulletSharp (a Bullet3 wrapper)
  • Support for multiple 3D model formats via Assimp integration
  • Rendering powered by OpenGL through OpenTK
  • 3D audio support with OpenAL (coming soon)
  • Open-source and MIT-licensed for unlimited creative freedom

Core Features

Rendering

GFX utilizes OpenGL 4.5 via OpenTK for high-performance rendering, with full support for custom shaders and materials. Supported 3D file formats include Wavefront (.obj), FBX, Collada, and GLTF. Future roadmap: support for Vulkan and DirectX 12.

  • Multiple Lights in 2D & 3D Scenes – Support for multiple light sources in both 2D and 3D environments, with realistic lighting behavior (not just blending).
  • Experimental PBR Rendering – Initial integration of Physically Based Rendering (PBR) for primitives.
  • Specular Glossiness Shader Optimizations – Performance and visual improvements for specular lighting.
  • Frustum Culling for Lights – Efficiently cull light sources outside of the view frustum for better performance.
  • Instanced Rendering (2D & 3D) – Enhanced rendering performance for multiple identical objects.
  • Support for SSBOs & ArrayBuffers – New support for Shader Storage Buffer Objects (SSBOs) and ArrayBuffers in the rendering pipeline.

Physics

Physics in GFX are powered by BulletSharp, a .NET wrapper for the robust Bullet Physics library. Features include:

  • PhysicHandler3D and PhysicHandler2D for seamless simulations.
  • New Rigidbodies and Triggers for advanced 3D physics.
  • 2D Physics Integration – Fully integrated 2D physics system.

Audio

  • 3D Sound via OpenAL – Spatial audio support for more immersive soundscapes. (OpenAL must be installed or the DLL manually included.)

Lighting Management

  • Light Manager – New system for managing lights in both 2D and 3D scenes.
  • Clustered Frustum Culling (2D & 3D) – Optimized light culling system to improve rendering performance.

Getting Started

Installation Guide for GFX (.NET 8)

  1. Install the GFX NuGet Package dotnet add package GFX

Example

Check out the example project included in the GFX repository or linked on the GFX website. It shows a working setup with libbulletc and GFX already configured.

Contribute to GFX

GFX Game Engine thrives on community contributions! Whether it’s reporting bugs, submitting feature requests, or contributing code, your input is always welcome. Check out our contribution guidelines to get involved.

License

The GFX Game Engine is released under the MIT License, ensuring complete freedom for commercial and personal projects. See the LICENSE folder for full terms.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.7-beta 50 5/24/2025
1.0.6 53 5/24/2025
1.0.5 105 5/17/2025
1.0.4 129 5/11/2025
1.0.2 161 4/7/2025
1.0.1 93 4/5/2025
1.0.0 87 4/5/2025