Git Product home page Git Product logo

spartanengine's Introduction

Spartan is a research-focused game engine designed for real-time solutions, providing a dynamic experience. Not intended for game development yet, it serves as a valuable study resource due to its clean, modern, and high-quality architecture.

  • For occasional updates regarding the project's development, you can follow me on twitter.

  • For questions, suggestions, help and any kind of general discussion join the discord server.

  • For issues and anything directly related to the project, feel free to open an issue.

  • Adhering to the MIT license is appreciated. This means that you can copy all the code you want as long as you include a copy of the original license.

Status

build_status Discord

Livestreams

Occasional livestreams on Discord for interesting topics.

Media

Features (v0.31)

  • 10+ font file formats support (FreeType)
  • 20+ audio file formats support (FMOD)
  • 30+ image file formats support (FreeImage)
  • 40+ model file formats support (Assimp)
  • Vulkan and DirectX 11 backends (same HLSL shaders compile everywhere)
  • Deferred rendering with transparency (under a single render path and using the same shaders)
  • Principled BSDF supporting anisotropic, clearcoat and cloth materials (combined with things like normal mapping, parallax, masking, occlusion etc)
  • Bloom (Based on a study of Resident Evil 2's RE Engine)
  • Volumetric lighting
  • Depth of Field
  • Lights with physical units (lux for directional, candelas for point and spot lights)
  • Shadows with penumbra and colored translucency (Cascaded and omnidirectional shadow mapping with Vogel filtering)
  • SSGI (Screen space global illumination, an extension of SSAO)
  • SSR (Screen space reflections)
  • SSS (Screen space shadows)
  • TAA (Temporal anti-aliasing)
  • Physically based camera (Aperture, Shutter Speed, ISO)
  • Depth of field (controlled by the aperture of the camera)
  • Motion blur (controlled by the shutter speed of the camera)
  • Real-time shader editor
  • On the fly mip generation on the GPU, using a single dispatch.
  • Font rendering
  • Frustum culling
  • Physics (Rigid bodies, Constraints, Colliders)
  • Entity-component system
  • Event system
  • Mouse & keyboard input as well as controller support (tested with a PS5 controller)
  • Debug rendering (Transform gizmo, scene grid, bounding boxes, colliders, raycasts, g-buffer visualization etc)
  • Thread pool
  • Engine rendered platform agnostic editor
  • Profiling (CPU & GPU)
  • Support for XML files
  • Easy to build (Single click project generation which includes editor and runtime)
  • AMD FidelityFX Contrast Adaptive Sharpening
  • AMD FidelityFX Single Pass Downsampler
  • AMD FidelityFX Super Resolution 2
  • AMD Compressonator for texture compression

Roadmap

Short-term

  • Fix the remaining startup crash for Vulkan.
  • Switch to bindless.
  • Outperform D3D11.
  • Deprecate D3D11.
  • Continue work on D3D12 (on going and non blocking since Vulkan is there).
  • Create a startup/default world which is closer to playable to a demo.

Long-term

  • Skeletal Animation.
  • Atmospheric Scattering.
  • Eye Adaptation.
  • Subsurface scattering.
  • Ray traced reflections.
  • Ray traced shadows.
  • Dynamic resolution scaling.
  • Export on Windows.
  • UI components.
  • Improve editor looks.
  • Scripting.
  • Linux port.

Wiki

Don't forget that there is a wiki that can help answers some of your questions. Here are some of it's contents:

spartanengine's People

Contributors

cyw94 avatar deg3x avatar dehnda avatar ignaciomgarrido avatar ikergalardi avatar jesseguerrero avatar nexovec avatar panosk92 avatar vilbeyli avatar yunstore avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.