test fix
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good

This commit is contained in:
austin 2024-08-19 09:42:08 -04:00
parent c34e448036
commit 25346978e6
2 changed files with 4 additions and 4 deletions

View File

@ -88,8 +88,8 @@ void main(){
vec4 finalColor = vec4(shadowModifiedColor,textureColor.a);
//calculate weight function
float linearizedDepth = linearizeDepth(gl_FragCoord.z,0.001f,20000f);
float weight = weightCalcNew(finalColor.a,gl_FragCoord.z,linearizedDepth);
float weight = clamp(pow(min(1.0, finalColor.a * 10.0) + 0.01, 3.0) * 1e8 *
pow(1.0 - gl_FragCoord.z * 0.9, 3.0), 1e-2, 3e3);
//emit colors
accum = vec4(finalColor.rgb * finalColor.a, finalColor.a) * weight;

View File

@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Fri Aug 16 22:21:28 EDT 2024
buildNumber=259
#Mon Aug 19 09:32:22 EDT 2024
buildNumber=260