GithubHelp home page GithubHelp logo

thetastygravy / glsl-demo Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 48.88 MB

Custom graphics implementation in C++ and GLSL, with AIE bootstrap

License: MIT License

C++ 43.47% C 54.58% GLSL 1.95%

glsl-demo's Introduction

GLSL Project

Custom graphics implementation in C++ and GLSL, with AIE bootstrap Screenshot

Building

Bootstrap is rather error prone, so building can be problematic. When building bootstrap, one configuration will cause a linker error, so try both if one doesnt work. Beyond that, errors are more unique and have to be solved on a case-by-case basis.

After building bootstrap, the GraphicsProject project can be built, containing the graphics demo.

Usage

The project involves rendering models with textures with custom shaders writen in GLSL, directional and point lighting, and particle emitters. Models and lighing are handeled in the Scene class, owned by the GraphicsProjectApp class, which exposes values of lighting, object transforms, materials, etc, with ImGui for editing at runtime. The ParticleEmitter class is owned by PraphicsProjectApp, and creates particles instanced on the GPU using a custom shader.

All custom shaders can be found in bin/shaders/.

glsl-demo's People

Contributors

thetastygravy 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.