Revert "animatable textures"

This reverts commit 8226a9479ce8ab45bed5bc6acbba63eaaf0e6330.
This commit is contained in:
devZoGok
2021-10-19 19:06:40 +03:00
parent 89c25c5bd9
commit 0193216ebb
5 changed files with 7 additions and 51 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ float getShadow(int id,int shadowId){
float closestDepth=texture(light[id].depthMap[shadowId],projCoords.xy).r;
float currentDepth=projCoords.z;
float bias=.005;
return (currentDepth-bias>closestDepth)&&projCoords.z<=1.?.7:0;
return currentDepth-bias>closestDepth?.7:0;
}
void main(){