mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-22 17:49:17 +01:00
306da0b802
Since it's not possible to update 300+ shaders manually and automation was possible, I thought that I'd take the honor and create a script that's able to automatically convert all of the shaders to be cross-compatible with Vulkan. And change the graphic pack versions to version 4 of course. Also, the script has some nifty testing code which compiled every shader as OpenGL and Vulkan, but for that see the details that I've written below. **Here's the script that I've made to do all of this. No manual edits were needed:** https://gist.github.com/Crementif/8d98a855b95f219d95298fb3db99deae
41 lines
929 B
Plaintext
41 lines
929 B
Plaintext
[Definition]
|
|
titleIds = 0005000010176900,0005000010176A00,0005000010162B00
|
|
name = Shadow Resolution
|
|
path = "Splatoon/Graphics/Shadow Resolution"
|
|
description = Note: Increasing shadow resolution is known to increase VRAM usage directly. Lowering this might give you a good boost in performance if you're limited on VRAM but makes shadows blockier. Medium is the original resolution.
|
|
version = 4
|
|
|
|
[Preset]
|
|
name = Medium (1.00x, Default)
|
|
$shadowRes = 1
|
|
|
|
[Preset]
|
|
name = Low (0.50x)
|
|
$shadowRes = 0.5
|
|
|
|
[Preset]
|
|
name = High (2.00x)
|
|
$shadowRes = 2
|
|
|
|
[Preset]
|
|
name = Ultra (4.00x)
|
|
$shadowRes = 4
|
|
|
|
[Preset]
|
|
name = Extreme (8.00x)
|
|
$shadowRes = 8
|
|
|
|
[TextureRedefine] # Shadows
|
|
width = 2048
|
|
height = 2048
|
|
formats = 0x5
|
|
overwriteWidth = $shadowRes * 2048
|
|
overwriteHeight = $shadowRes * 2048
|
|
|
|
[TextureRedefine] # Performance Shadows
|
|
width = 1024
|
|
height = 1024
|
|
formats = 0x5
|
|
overwriteWidth = $shadowRes * 1024
|
|
overwriteHeight = $shadowRes * 1024
|