File tree Expand file tree Collapse file tree 1 file changed +45
-5
lines changed
src/LEGOCityUndercover/Graphics Expand file tree Collapse file tree 1 file changed +45
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ $0x431 = 0
1818$0x432 = 0
1919$0x433 = 0
2020$0x434 = 0
21-
21+ $shadowRes = 1
2222
2323# Resolutions
2424
@@ -143,6 +143,32 @@ $0x432 = -4
143143$0x433 = -4
144144$0x434 = -4
145145
146+ # Shadow Resolution
147+
148+ [Preset]
149+ name = Low (50%)
150+ category = Shadow Quality
151+ $shadowRes = 0.5
152+
153+ [Preset]
154+ name = Medium (100%, Default)
155+ category = Shadow Quality
156+ $shadowRes = 1
157+
158+ [Preset]
159+ name = High (200%)
160+ category = Shadow Quality
161+ $shadowRes = 2
162+
163+ [Preset]
164+ name = Ultra (300%)
165+ category = Shadow Quality
166+ $shadowRes = 3
167+
168+ [Preset]
169+ name = Extreme (400%)
170+ category = Shadow Quality
171+ $shadowRes = 4
146172
147173[TextureRedefine]
148174width = 1280
@@ -166,15 +192,15 @@ overwriteHeight = ($height/$gameHeight) * 368
166192
167193[TextureRedefine]
168194formats = 0x031
169- overwriteRelativeLodBias = $0x031
195+ overwriteRelativeLodBias = $0x031
170196
171197[TextureRedefine]
172- formats = 0x033
173- overwriteRelativeLodBias = $0x033
198+ formats = 0x033
199+ overwriteRelativeLodBias = $0x033
174200
175201[TextureRedefine]
176202formats = 0x034
177- overwriteRelativeLodBias = $0x034
203+ overwriteRelativeLodBias = $0x034
178204
179205[TextureRedefine]
180206formats = 0x035
@@ -195,3 +221,17 @@ overwriteRelativeLodBias = $0x433
195221[TextureRedefine]
196222formats = 0x434
197223overwriteRelativeLodBias = $0x434
224+
225+ [TextureRedefine]
226+ width = 960
227+ height = 960
228+ formats = 0x080e
229+ overwriteWidth = 960 * $shadowRes
230+ overwriteHeight = 960 * $shadowRes
231+
232+ [TextureRedefine]
233+ width = 960
234+ height = 3840
235+ formats = 0x080e
236+ overwriteWidth = 960 * $shadowRes
237+ overwriteHeight = 3840 * $shadowRes
You can’t perform that action at this time.
0 commit comments