PBR Shader fix to code standard.

This commit is contained in:
Joey de Vries
2017-05-26 15:49:29 +02:00
parent 701f4fe608
commit a398a343a4
41 changed files with 430 additions and 100 deletions

View File

@@ -79,12 +79,12 @@ int main()
// build and compile shaders
// -------------------------
Shader pbrShader("2.2.1.pbr.vs", "2.2.1.pbr.frag");
Shader equirectangularToCubemapShader("2.2.1.cubemap.vs", "2.2.1.equirectangular_to_cubemap.frag");
Shader irradianceShader("2.2.1.cubemap.vs", "2.2.1.irradiance_convolution.frag");
Shader prefilterShader("2.2.1.cubemap.vs", "2.2.1.prefilter.frag");
Shader brdfShader("2.2.1.brdf.vs", "2.2.1.brdf.frag");
Shader backgroundShader("2.2.1.background.vs", "2.2.1.background.frag");
Shader pbrShader("2.2.1.pbr.vs", "2.2.1.pbr.fs");
Shader equirectangularToCubemapShader("2.2.1.cubemap.vs", "2.2.1.equirectangular_to_cubemap.fs");
Shader irradianceShader("2.2.1.cubemap.vs", "2.2.1.irradiance_convolution.fs");
Shader prefilterShader("2.2.1.cubemap.vs", "2.2.1.prefilter.fs");
Shader brdfShader("2.2.1.brdf.vs", "2.2.1.brdf.fs");
Shader backgroundShader("2.2.1.background.vs", "2.2.1.background.fs");
pbrShader.use();
pbrShader.setInt("irradianceMap", 0);