Remove shader packs
A developer of Iris showed that Horizon's shader pack code was written from Iris's source. This removes it: the horizon-shaderpack crate, Java pack loading and its render stages, Horizon's own WGSL packs and the example packs, the Shader Packs screen and its option, the launcher's shader pack browsing and installing, and the docs about them. Shader packs may come back later as a clean-room rewrite. The vanilla renderer and its post-processing (resolution scale, FXAA) are unchanged. Options files that name a pack load and drop the key; the launcher reads manifests that list a shader pack, and files in `shaderpacks/` are never deleted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-3
@@ -205,7 +205,6 @@ enum ModsCmd {
|
||||
enum KindArg {
|
||||
Mod,
|
||||
Resource,
|
||||
Shader,
|
||||
Modpack,
|
||||
}
|
||||
|
||||
@@ -339,7 +338,7 @@ enum Cmd {
|
||||
#[command(subcommand)]
|
||||
action: Option<ModpackCmd>,
|
||||
},
|
||||
/// The mod browser: Java mods, resource packs, shader packs and modpacks from Modrinth
|
||||
/// The mod browser: Java mods, resource packs and modpacks from Modrinth
|
||||
/// (CurseForge support is coming soon), each file checked against its checksum
|
||||
/// (docs/mod-browser.md)
|
||||
Mods {
|
||||
@@ -1100,7 +1099,6 @@ fn mods(action: ModsCmd, as_json: bool) -> Result<(), String> {
|
||||
} => {
|
||||
let kind = match kind {
|
||||
KindArg::Resource => Kind::ResourcePack,
|
||||
KindArg::Shader => Kind::ShaderPack,
|
||||
KindArg::Modpack => Kind::Modpack,
|
||||
KindArg::Mod => Kind::Mod,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user