The following programs of LearnOpenGl are implemented in javascript / typescript, using WebGl2. Not all browsers support WebGl2. The latest versions of Google Chrome and Windows Edge can be used to view the results.
ibl cubemap (use keys space, '1' and '2'; to read a .hdr file we use part of enkimute/hdrpng.js, it has a MIT licence)
test reading dds (to read .dds file we use part of code made by Brandon Jones; licence is included)
The texture files for the program iblSpecularTextured.ts are not copied to github, and so that program does not give the right output. ibl specular textured
This is a continuation of code presented in part 3, to read a gltf file. There only meshes were loaded. Here code is added to read materials from a gltf file.