This commit is contained in:
parent
c34e448036
commit
25346978e6
@ -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;
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user