Fix shadowmap sampling outside of frustum
This commit is contained in:
parent
5e0001e2e1
commit
5afa12a236
2 changed files with 21 additions and 3 deletions
|
@ -1 +1,3 @@
|
|||
const PI = 3.14159;
|
||||
const PI = 3.14159;
|
||||
const INV_SQRT_2 = 0.70710678118654752440; // 1 / sqrt(2)
|
||||
const INV_SQRT_3 = 0.57735026918962576451; // 1 / sqrt(3)
|
Loading…
Add table
Add a link
Reference in a new issue