mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
Revert "animatable textures"
This reverts commit 8226a9479ce8ab45bed5bc6acbba63eaaf0e6330.
This commit is contained in:
+1
-1
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user