Skip to content

Commit

Permalink
Fix comment (#5430)
Browse files Browse the repository at this point in the history
  • Loading branch information
GSterbrant authored and slimbuck committed Jun 23, 2023
1 parent 704cc7b commit d3597a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scene/shader-lib/programs/lit-shader.js
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@ class LitShader {

backend.append(` dShadowCoord = getShadowSampleCoord${i}(${shadowMatrix}, light${i}_shadowParams, vPositionW, dLightPosW, dLightDirW, dLightDirNormW, dVertexNormalW);`);

// If cascades are used, fade between them
// Fade shadow at edges
if (lightType === LIGHTTYPE_DIRECTIONAL) {
backend.append(` fadeShadow(light${i}_shadowCascadeDistances);`);
}
Expand Down

0 comments on commit d3597a6

Please sign in to comment.