Skip to content

Commit

Permalink
Reintroduce remove dlls.
Browse files Browse the repository at this point in the history
  • Loading branch information
Williscool13 committed Sep 29, 2024
1 parent 443b914 commit 6b7909e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
Binary file added libgcc_s_seh-1.dll
Binary file not shown.
Binary file added libstdc++-6.dll
Binary file not shown.
Binary file added libwinpthread-1.dll
Binary file not shown.
8 changes: 1 addition & 7 deletions shaders/shading.comp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 6b7909e

Please sign in to comment.