{"repo":"alt-romes/ghengin","free":true,"listed":false,"github":"https://github.com/alt-romes/ghengin","clone":"git clone https://github.com/alt-romes/ghengin.git","description":"Ghengin: A vulkan-based, shader-centric, type-heavy, Haskell game engine","language":"Haskell","stars":85,"topics":["game-development","game-engine","shaders","vulkan"],"license":"BSD-3-Clause","category":"game-templates","readme_excerpt":"A work in progress game engine. Status of building all examples: Demos See the executables from ghegin-games.cabal in the examples/ directory. The working examples are the following. In sequence, they build up to a \"user-space\" higher-level engine using the Core of the engine only ( ghengin-core ). Cooler examples: planets-core implements Sebastian Lague's procedural planets teapot-obj renders the Utah teapot using Blinn-Phong lighting and a perspective camera Solid examples: simple-triangle is a simple 2D triangle simple-triangle-colored simple-cube is a simple 3D cube (no projections) simple-camera example of camera with projection full-pipeline a full shader pipeline example ported from FIR function-drawing attempt at drawing functions using shaders dear-imgui is a trivial demo which setups and renders the DearImGui demo window Experimental examples: function-plotting attempt a drawing functions using vertices oscilloscope attempt at drawing with an oscilloscope (UNFINISHED) lorenz-attractor the lorenz attractor; currently only static shader image Implementing write-ups: book-of-shaders-3 Chapter 3 of Book of Shaders book-of-shaders-5 Chapter 5 of Book of Shaders Building and running We have a nix derivation to set-up a shell with all required Vulkan and GHC dependencies. You can enter it using: But it should also be possible to run the project if you provide all required dependencies. You can take a look in shell.nix to get an idea of what they are. After that, we use cab","default_branch":null,"files":null,"tree":[],"storefront":"/r/alt-romes","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alt-romes/ghengin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}