Skip to content

Commit

Permalink
Remove useless comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stalomeow committed Sep 24, 2024
1 parent 2289119 commit 5e4b77f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Runtime/PerObjectShadow/ShadowCasterUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,6 @@ private static unsafe void GetViewSpaceShadowAABB(in ShadowCasterCullingArgs arg
// 目前限制最多向后扩展 100 个单位
shadowMin.z = min(shadowMin.z, shadowMax.z - 100);
}

// 浪费分辨率,暂时不改成正方形
// // viewMatrix 可以保证 shadowMax.xy + shadowMin.xy 基本上等于 0
// // 由于 shadowMap 是正方形的,所以下面将 shadowMax.xy - shadowMin.xy 也变成正方形
// float halfSize = cmax(shadowMax.xy);
// shadowMin.xy = -halfSize;
// shadowMax.xy = +halfSize;
}

private ref struct TriangleData
Expand Down

0 comments on commit 5e4b77f

Please sign in to comment.