This is an Open GL render application we had to make as our final assessment for a Graphics Rendering Unit. As I'm a big aficionado of Lord of the Rings I chose to challenge myself to try and attempt to write a shader for the Eye of Sauron.
Links
Structure
There are in total 4 main functionalities implemented using the shaders:
Shader Texture Pattern for the Eye, the Dragons and the Tower
Terrain Generation was done by using the map of Mordor
Vertex Transformations for the dragons and the eye
The lighting model for the entire scene.
With games progressing further each day with new technologies, there has been a rise in very stylistic and artistic games. such as No More Heroes, Borderlands, Wolf Among Us etc. I was always fascinated by these shader art styles but was not curious enough to learn how to do it. I had figured that it would never be my cup of tea. Programming shaders was not something I expected to really enjoy doing but on completion of a Graphics Rendering Unit, I was convinced that this could also be a career option for me.
We were given a graphics framework from which we had to program shaders and learn about the main rendering processes which run in any game engines. It was a C++ and GLSL framework and we were tasked to create a scene which satisfied a few requirements such as implementing texture shaders, lighting models, terrain generation and vertex transformations.
Earlier during the trimester, we had to make a texture shader and I had chosen to make the Eye of Sauron from Lord of The Rings and succeeded.


I wanted to take this further and hence I chose to do a scene of Mordor including the Tower of Barad-Dur. The tower in the assignment was done by one of my friends and sourced the dragon models from online. For some help, I referenced a brilliant site called The Book Of Shaders which helped me greatly throughout this unit. For more details on how I implemented this, I have attached the reports I submitted for these assignments above. Unfortunately, I couldn't add the source as the framework belongs to the university. An executable build of the framework is also attached above. I will be taking this knowledge further and exploring the realm of shaders and trying to come up with my own unique scripts.
Commentaires