Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.12 KB

README.md

File metadata and controls

41 lines (34 loc) · 1.12 KB

A Car game with Light and Textures


In Task 5 we build on top of task 4 by adding light and shaders to the game.

1. Scene after adding light and Textures


Here we can see the textures that were added to the blocks and the car

scene

2. Direction of light.


Here we can see that the direction of the light changes if we change the direction of the camere.

gif

3. Change texture of objects


In these gifs we change the textures of the sky, road, blocks, and land.

gif gif

gif gif

4. Full Demo of the game.


gif


Acknowledgements

This code is provided as a basic example of using OpenGL for Animation. Feel free to modify and expand upon it for your own projects.