Rendering Programming
- Clarence Ng Min Teck
- Oct 10, 2021
- 1 min read
Updated: Oct 11, 2021
OpenGL

Point and spot light
Point light cpp

Spot light cpp

Light calculation in frag sample code

Shadow map and omni shadow map
Shadow map cpp

Omni shadow map cpp

Sample code of shadow rendering pass
Shadow factor calculation

Ommi shadow map vert, frag and geom
Vulkan
Content to be update...
DirectX
Content to be update...
Kommentarer