MrDiver / ShadingExperiments-Raylib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shading Experiments

1. Phong Shader

The Phong shading technique is build on a basis of relatively simple mathematics. In the following pictures you can see a demonstration what Phong shading can look like.

dark background with four lit spheres Flying spheres with red lighting and checkerboard texture


Configuration

# Getting the Project ready
git clone https://github.com/MrDiver/ShadingExperiments-Raylib.git
cd ShadingExperiments-Raylib
mkdir build
cmake ..
make

Running the Project

# Running the project
./dist/rlProgram

About


Languages

Language:C++ 76.1%Language:CMake 15.2%Language:GLSL 8.1%Language:Shell 0.7%