AhmedYAbbas / ITI-OpenGL-Projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ITI-OpenGL-Projects

This repo hosts the two OpenGL projects that I made during my time at the Information Technology Institue (ITI)

Just download the repo and double-click Generate Projects.bat to generate a vs2022 solution then build the desired project.

1. Skybox

In this project, I created a scene consisting of a 3D model (Teapot), a cubemap (Skybox), and a directional light.

  • The cubemap is textured using six individual 2D textures representing the environment.

  • The directional light has three different components; Diffuse Lighting, Specular Lighting, and Ambient Lighting.

  • The teapot is semi-reflective. It partially reflects the skybox and is affected by the directional light at the same time.

  • The teapot's handle and lid are not reflective, and both have a (black/grey) color. This effect was made possible using two different 2D textures; a diffuse texture and a specular texture.

2. Spotlight

Will be uploaded soon...

About


Languages

Language:C++ 79.8%Language:Lua 11.0%Language:GLSL 9.0%Language:Batchfile 0.2%