Skip to content

Commit 42b7aae

Browse files
committed
Use bigger texture for the point light since it's a cube
1 parent 036f96c commit 42b7aae

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

extensions/reviewed/Light3D.json

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@
237237
" case \"High\":",
238238
" size = 1024;",
239239
" break;",
240+
" case \"VeryHigh\":",
241+
" size = 2048;",
242+
" break;",
240243
" }",
241244
" const shadow = this.spotLight.shadow;",
242245
" const mapSize = shadow.mapSize;",
@@ -439,13 +442,13 @@
439442
" let size = 512;",
440443
" switch (shadowQuality) {",
441444
" case \"Low\":",
442-
" size = 256;",
445+
" size = 512;",
443446
" break;",
444447
" case \"Medium\":",
445-
" size = 512;",
448+
" size = 1024;",
446449
" break;",
447450
" case \"High\":",
448-
" size = 1024;",
451+
" size = 2048;",
449452
" break;",
450453
" }",
451454
" const shadow = this.pointLight.shadow;",
@@ -2872,16 +2875,20 @@
28722875
"group": "Shadow",
28732876
"choices": [
28742877
{
2875-
"label": "",
2878+
"label": "Low",
28762879
"value": "Low"
28772880
},
28782881
{
2879-
"label": "",
2882+
"label": "Medium",
28802883
"value": "Medium"
28812884
},
28822885
{
2883-
"label": "",
2886+
"label": "High",
28842887
"value": "High"
2888+
},
2889+
{
2890+
"label": "Very high",
2891+
"value": "VeryHigh"
28852892
}
28862893
],
28872894
"name": "ShadowQuality"

0 commit comments

Comments
 (0)