Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 624 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 624 Bytes

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