Skip to main content

iI found the solution,: in the fragment shader in dethe shadow function it should be:

if(fSub<vShadowSmooth.z){
          visibility -= 0.1*(1.0-fSub);
            
          }

i found the solution, in the fragment shader in de shadow function:

if(fSub<vShadowSmooth.z){
          visibility -= 0.1*(1.0-fSub);
            
          }

I found the solution: in the fragment shader in the shadow function it should be:

if(fSub<vShadowSmooth.z){
          visibility -= 0.1*(1.0-fSub);
            
          }
Source Link

i found the solution, in the fragment shader in de shadow function:

if(fSub<vShadowSmooth.z){
          visibility -= 0.1*(1.0-fSub);
            
          }