In Episode #12 of Shaders Monthly, we talk about low-discrepancy sequences and their applications in computer graphics. In particular, we implement the Halton sequence in GLSL.
As an application example, we will use the Halton sequence to improve the image-based lighting approach that we implemented in the last two episodes.
Here is the code of the created shader:
GSN Composer: https://www.gsn-lib.org/index.html#projectName=ShadersMonthly12&graphName=PrefilterSpecular
C++: https://www.mathematik.uni-marburg.de/~thormae/lectures/sm/sm12/sm12_cpp_prefilterspecular.zip
Java: https://www.mathematik.uni-marburg.de/~thormae/lectures/sm/sm12/sm12_java_prefilterspecular.zip
Documentation for the shader plugin node of the GSN Composer:
https://gsn-lib.org/docs/nodes/ShaderPluginNode.php
00:00 Introduction
02:45 Halton Sequence
12:40 Implementation of the Halton Sequence in GLSL
18:21 Hammersley Sequence
Source for all HDR environment maps that are used in this video:
https://polyhaven.com/hdris