diff --git a/libgcc_s_seh-1.dll b/libgcc_s_seh-1.dll new file mode 100644 index 0000000..db2068f Binary files /dev/null and b/libgcc_s_seh-1.dll differ diff --git a/libstdc++-6.dll b/libstdc++-6.dll new file mode 100644 index 0000000..c681cb1 Binary files /dev/null and b/libstdc++-6.dll differ diff --git a/libwinpthread-1.dll b/libwinpthread-1.dll new file mode 100644 index 0000000..581a148 Binary files /dev/null and b/libwinpthread-1.dll differ diff --git a/shaders/shading.comp b/shaders/shading.comp index 04bb78f..78dcde8 100644 --- a/shaders/shading.comp +++ b/shaders/shading.comp @@ -100,15 +100,9 @@ void main() { vec3 finalColor = (diffuse + specular) * lightData.mainLight.color * nDotL; finalColor += ambient; -/**vec3 corrected_ambient = ambient / (ambient + vec3(1.0f)); // Reinhard - corrected_ambient = pow(corrected_ambient, vec3(1.0f / 2.2f)); // gamma correction - finalColor += corrected_ambient; - FragColor = vec4(finalColor, albedo.w);*/ - - vec3 correctedFinalColor = finalColor / (finalColor + vec3(1.0f)); // Reinhard + vec3 correctedFinalColor = finalColor / (finalColor + vec3(1.0f)); // Reinhard Tonemapping correctedFinalColor = pow(correctedFinalColor, vec3(1.0f / 2.2f)); // gamma correction imageStore(outputImage, texCoord, vec4(correctedFinalColor, albedo.w)); - //FragColor = vec4(correctedFinalColor, albedo.w); } \ No newline at end of file