Giter Club home page Giter Club logo

opengl-game-engine's Introduction

OpenGL-Game-Engine

Game-Engine built with OpenGL


Learning Outcomes

The goals of this project are to learn how to:

  1. Use buffers to store mesh data.
  2. Use vertex array objects to render meshes.
  3. Change an object's position, rotation and scale via matrices.
  4. Use depth testing, face culling, blending and color/depth masks.
  5. Use textures to draw images.
  6. Use samplers to configure the texture sampling process.
  7. Combine shaders, pipeline states and uniform data into a Material object.
  8. Describe and process a scene using the Entity-Component-System ECS framework.
  9. Implement a forward renderer with support for transparent objects.
  10. Implement a lighting model and support multiple lights of different types.
  11. Use the engine to implement a simple game.

Sample ouput

  • mesh-test

mesh mesh

  • sampler-test

sampler sampler

  • texture-test

texture

  • transform-test

transform

  • entity-test and forward renderer

entity entity

opengl-game-engine's People

Contributors

abdelrhman-hosny avatar george-joseph99 avatar mostafaashraf98 avatar mousamohammad avatar

Stargazers

 avatar

Watchers

 avatar  avatar

opengl-game-engine's Issues

Light rendering

  • Light handling in the render process.

  • Check for the light component in entities in forward renderer then add them into the shader.

  • handle skylight as a separate entity.

  • separate textured.vert & textured.frag from lighting and make new shaders for lighting until it works then unify the shaders

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.