|
@@ -441,6 +441,7 @@ export class MaterialHelper {
|
|
defines["SHADOWPCSS" + lightIndex] = false;
|
|
defines["SHADOWPCSS" + lightIndex] = false;
|
|
defines["SHADOWPOISSON" + lightIndex] = false;
|
|
defines["SHADOWPOISSON" + lightIndex] = false;
|
|
defines["SHADOWESM" + lightIndex] = false;
|
|
defines["SHADOWESM" + lightIndex] = false;
|
|
|
|
+ defines["SHADOWCLOSEESM" + lightIndex] = false;
|
|
defines["SHADOWCUBE" + lightIndex] = false;
|
|
defines["SHADOWCUBE" + lightIndex] = false;
|
|
defines["SHADOWLOWQUALITY" + lightIndex] = false;
|
|
defines["SHADOWLOWQUALITY" + lightIndex] = false;
|
|
defines["SHADOWMEDIUMQUALITY" + lightIndex] = false;
|
|
defines["SHADOWMEDIUMQUALITY" + lightIndex] = false;
|
|
@@ -525,6 +526,7 @@ export class MaterialHelper {
|
|
defines["SHADOWPCSS" + index] = false;
|
|
defines["SHADOWPCSS" + index] = false;
|
|
defines["SHADOWPOISSON" + index] = false;
|
|
defines["SHADOWPOISSON" + index] = false;
|
|
defines["SHADOWESM" + index] = false;
|
|
defines["SHADOWESM" + index] = false;
|
|
|
|
+ defines["SHADOWCLOSEESM" + index] = false;
|
|
defines["SHADOWCUBE" + index] = false;
|
|
defines["SHADOWCUBE" + index] = false;
|
|
defines["SHADOWLOWQUALITY" + index] = false;
|
|
defines["SHADOWLOWQUALITY" + index] = false;
|
|
defines["SHADOWMEDIUMQUALITY" + index] = false;
|
|
defines["SHADOWMEDIUMQUALITY" + index] = false;
|
|
@@ -671,6 +673,10 @@ export class MaterialHelper {
|
|
if (defines["SHADOWESM" + lightIndex]) {
|
|
if (defines["SHADOWESM" + lightIndex]) {
|
|
fallbacks.addFallback(rank, "SHADOWESM" + lightIndex);
|
|
fallbacks.addFallback(rank, "SHADOWESM" + lightIndex);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ if (defines["SHADOWCLOSEESM" + lightIndex]) {
|
|
|
|
+ fallbacks.addFallback(rank, "SHADOWCLOSEESM" + lightIndex);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return lightFallbackRank++;
|
|
return lightFallbackRank++;
|