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
912 B
Plaintext
41 lines
912 B
Plaintext
[Definition]
|
|
titleIds = 0005000010110E00,0005000010145000,0005000010144F00
|
|
name = Shadow Resolution
|
|
path = "Super Smash Bros. for Wii U/Graphics/Shadow Resolution"
|
|
description = Note: Increasing shadow resolution is known to increase VRAM usage directly. Lowering this increases performance 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 = 1024
|
|
height = 1024
|
|
formats = 0x5
|
|
overwriteWidth = $shadowRes * 1024
|
|
overwriteHeight = $shadowRes * 1024
|
|
|
|
[TextureRedefine] # Performance Shadows, Blur Pass
|
|
width = 512
|
|
height = 512
|
|
formats = 0xb,0xf
|
|
overwriteWidth = $shadowRes * 512
|
|
overwriteHeight = $shadowRes * 512
|