|
This is a demo was created in my own custom engine using c++ and DirectX11. A simple demo showcasing my deferred rendering pipeline with a physically based lighting model.
IBL(image based lighting) is a rendering lighting technique that uses a cube map to represent the environment to achieve realistic rendering. The main goal for the IBL technique is calculate how much light from the surrounding environment is reflected towards the virtual camera at a given surface. First we calculate the diffuse and specular term for our IBL technique, this produces the amount of light from the environment that effect the scene. For the specular term I generate a world normal for each sample with the Hammersley sequence, applying our lighting BRDF equation, calculating the incident light color and then dividing by probability density function (PDF) to calculate the final average color of that pixel. To calculate that world normal I use spherical mapping and two linear transformations to take the random direction vector from tangent space to world-space. More detail in the implementation in the document given below.
IBL(image based lighting) is a rendering lighting technique that uses a cube map to represent the environment to achieve realistic rendering. The main goal for the IBL technique is calculate how much light from the surrounding environment is reflected towards the virtual camera at a given surface. First we calculate the diffuse and specular term for our IBL technique, this produces the amount of light from the environment that effect the scene. For the specular term I generate a world normal for each sample with the Hammersley sequence, applying our lighting BRDF equation, calculating the incident light color and then dividing by probability density function (PDF) to calculate the final average color of that pixel. To calculate that world normal I use spherical mapping and two linear transformations to take the random direction vector from tangent space to world-space. More detail in the implementation in the document given below.

hiagodesena_ibl.pdf | |
File Size: | 790 kb |
File Type: |