/baliksena

Mafia renderer using sokol gfx

Primary LanguageC++BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Senko3D alt tag

Mafia renderer using sokol_gfx

Plan

Just experimental repo, playground to get as close as possible to LS3D rendering

  • Fix timing issue ( movement )
    better dealing with delta time & mouse movement
  • Fix black polygons weird bug happens on some models ( solved by CW backface culling )
  • Create simple GUI file, get rid of GUI inside game.cpp
  • Bones support šŸ¦“

Material support:

  • Env textures
  • Diffuse textures
  • Animated diffuse texture
  • Alpha textures
  • Animated alpha textures

Rendering / visuals

  • Transparency pass ( blending )
  • Glows
  • Fog
  • Lens flare
  • Particle effects ( instancing )
  • Env mapping ( not 100% )
  • Billboarding ( y axis freeze ) ( needs to fix arbitrary axis )
  • Point lights
  • Ambient lights
  • Dir lights
  • Spot lights
  • Light maps

Optimalization & oclusion culling

  • AABB From meshes
  • Frustum culling
  • Sectors ( kinda needs work )
  • Single Vertex & Index buffer per model
  • OCTrees
  • Portals
  • Occluders
  • Alternative optimalization ( static batching per sector )
  • Move rendering API specific code into renderer.cpp