Skip to content

Releases: ranjak/opengl-tutorial

0.15.2

26 Mar 09:29

Choose a tag to compare

Gaussian specular lighting example.

0.15.1

18 Jan 17:17

Choose a tag to compare

Blinn-Phong specular lighting example.

Use H to toggle between Phong and Blinn-Phong,
Shift+H to toggle diffuse lighting.

0.15-specular: Phong specular lighting example.

18 Jan 17:16

Choose a tag to compare

Controls are the same as previous tutorials, except:
- Use H to switch between different lighting modes (specular on/off, diffuse on/off)
- Use U/O to tweak the objects' shininess
- Use G to dim the objects' diffuse color.

0.14.3

16 Jan 16:20

Choose a tag to compare

Light attenuation with a point light example.

Use H to toggle between inverse attenuation and inverse squared attenuation.
Use O/U to tweak the attenuation factor (hold shift for fine tuning).

0.14.2

16 Jan 09:32

Choose a tag to compare

Fragment lighting with Oren-Nayar shader.

While in fragment lighting mode, press O to toggle Oren-Nayar/Lambert.
Press Up/Down keys to tweak the facet angle.

0.14.1

15 Jan 14:58

Choose a tag to compare

Per-fragment lighting example.

Same controls as the previous demo.
Additionally, use H to toggle between vertex and fragment lighting, and T to toggle scaling the cylinder.

0.14-pointLight

13 Jan 16:50

Choose a tag to compare

Vertex Point Lighting tutorial.

Use Space to toggle colored/white cylinder, I/J/K/L to control light position, B to pause light rotation, Y to toggle light token (cube).

0.13.3-orenNayar

12 Jan 16:20

Choose a tag to compare

Example with Oren-Nayar reflectance model (simplified version):

Press O to toggle between Lambert and Oren-Nayar,
Press B/N to adjust facet slope standard deviation between 0 and 90°.

0.13.2

09 Jan 11:02

Choose a tag to compare

Ambient Lighting example. Use A to toggle ambient lighting.

0.13.1

09 Jan 08:41

Choose a tag to compare

Test the effect of non-uniform scaling on lighting, with and without …