2.1: Oct. 22

This commit is contained in:
endernon 2024-10-22 11:50:40 +01:00
parent a1752d3215
commit 019bcfd2b5
69 changed files with 909 additions and 17 deletions

View file

@ -0,0 +1,27 @@
{
"targets": {
"swap": {}
},
"passes": [
{
"program": "post/entity_outline",
"inputs": [
{
"sampler_name": "In",
"target": "entity_outline"
}
],
"output": "swap"
},
{
"program": "post/blit",
"inputs": [
{
"sampler_name": "In",
"target": "swap"
}
],
"output": "entity_outline"
}
]
}

View file

@ -0,0 +1,61 @@
{
"vertex": "core/render/gui",
"fragment": "core/position_color",
"samplers": [
{ "name": "Sampler0" }
],
"uniforms": [
{
"name": "ModelViewMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "ProjMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "ColorModulator",
"type": "float",
"count": 4,
"values": [1.0, 1.0, 1.0, 1.0]
}
]
}

View file

@ -0,0 +1,78 @@
{
"vertex": "core/position_tex",
"fragment": "core/position_tex",
"samplers": [
{ "name": "Sampler0" }
],
"uniforms": [
{
"name": "ModelViewMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "ProjMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "ColorModulator",
"type": "float",
"count": 4,
"values": [1.0, 1.0, 1.0, 1.0]
},
{
"name": "ScreenSize",
"type": "float",
"count": 2,
"values": [
0.0,
0.0
]
},
{
"name": "GameTime",
"type": "float",
"count": 1,
"values": [
1.0
]
}
]
}

View file

@ -0,0 +1,78 @@
{
"vertex": "core/render/texture",
"fragment": "core/render/texture",
"samplers": [
{ "name": "Sampler0" }
],
"uniforms": [
{
"name": "ModelViewMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "ProjMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "ColorModulator",
"type": "float",
"count": 4,
"values": [1.0, 1.0, 1.0, 1.0]
},
{
"name": "ScreenSize",
"type": "float",
"count": 2,
"values": [
0.0,
0.0
]
},
{
"name": "GameTime",
"type": "float",
"count": 1,
"values": [
1.0
]
}
]
}

View file

@ -0,0 +1,108 @@
{
"vertex": "core/render/glint",
"fragment": "core/render/glint",
"samplers": [
{ "name": "Sampler0" }
],
"uniforms": [
{
"name": "ModelViewMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "ProjMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "ColorModulator",
"type": "float",
"count": 4,
"values": [1.0, 1.0, 1.0, 1.0]
},
{
"name": "GlintAlpha",
"type": "float",
"count": 1,
"values": [1.0]
},
{
"name": "FogStart",
"type": "float",
"count": 1,
"values": [0.0]
},
{
"name": "FogEnd",
"type": "float",
"count": 1,
"values": [1.0]
},
{
"name": "FogShape",
"type": "int",
"count": 1,
"values": [0]
},
{
"name": "TextureMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
}
]
}

View file

@ -0,0 +1,108 @@
{
"vertex": "core/render/glint",
"fragment": "core/render/glint",
"samplers": [
{ "name": "Sampler0" }
],
"uniforms": [
{
"name": "ModelViewMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "ProjMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "ColorModulator",
"type": "float",
"count": 4,
"values": [1.0, 1.0, 1.0, 1.0]
},
{
"name": "GlintAlpha",
"type": "float",
"count": 1,
"values": [1.0]
},
{
"name": "FogStart",
"type": "float",
"count": 1,
"values": [0.0]
},
{
"name": "FogEnd",
"type": "float",
"count": 1,
"values": [1.0]
},
{
"name": "FogShape",
"type": "int",
"count": 1,
"values": [0]
},
{
"name": "TextureMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
}
]
}

View file

@ -0,0 +1,108 @@
{
"vertex": "core/render/glint",
"fragment": "core/render/glint",
"samplers": [
{ "name": "Sampler0" }
],
"uniforms": [
{
"name": "ModelViewMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "ProjMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "ColorModulator",
"type": "float",
"count": 4,
"values": [1.0, 1.0, 1.0, 1.0]
},
{
"name": "GlintAlpha",
"type": "float",
"count": 1,
"values": [1.0]
},
{
"name": "FogStart",
"type": "float",
"count": 1,
"values": [0.0]
},
{
"name": "FogEnd",
"type": "float",
"count": 1,
"values": [1.0]
},
{
"name": "FogShape",
"type": "int",
"count": 1,
"values": [0]
},
{
"name": "TextureMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
}
]
}

View file

@ -0,0 +1,59 @@
{
"vertex": "core/render/gui",
"fragment": "core/render/gui",
"samplers": [],
"uniforms": [
{
"name": "ModelViewMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "ProjMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "ColorModulator",
"type": "float",
"count": 4,
"values": [1.0, 1.0, 1.0, 1.0]
}
]
}

View file

@ -0,0 +1,98 @@
{
"vertex": "core/render/item",
"fragment": "core/render/item",
"samplers": [
{ "name": "Sampler0" },
{ "name": "Sampler2" }
],
"uniforms": [
{
"name": "ModelViewMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "ProjMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "ColorModulator",
"type": "float",
"count": 4,
"values": [1.0, 1.0, 1.0, 1.0]
},
{
"name": "Light0_Direction",
"type": "float",
"count": 3,
"values": [0.0, 0.0, 0.0]
},
{
"name": "Light1_Direction",
"type": "float",
"count": 3,
"values": [0.0, 0.0, 0.0]
},
{
"name": "FogStart",
"type": "float",
"count": 1,
"values": [0.0]
},
{
"name": "FogEnd",
"type": "float",
"count": 1,
"values": [1.0]
},
{
"name": "FogColor",
"type": "float",
"count": 4,
"values": [0.0, 0.0, 0.0, 0.0]
},
{
"name": "FogShape",
"type": "int",
"count": 1,
"values": [0]
}
]
}

View file

@ -0,0 +1,92 @@
{
"vertex": "core/render/text",
"fragment": "core/render/text",
"samplers": [
{ "name": "Sampler0" },
{ "name": "Sampler2" }
],
"uniforms": [
{
"name": "ModelViewMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "ProjMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "ColorModulator",
"type": "float",
"count": 4,
"values": [1.0, 1.0, 1.0, 1.0]
},
{
"name": "FogStart",
"type": "float",
"count": 1,
"values": [0.0]
},
{
"name": "FogEnd",
"type": "float",
"count": 1,
"values": [1.0]
},
{
"name": "FogColor",
"type": "float",
"count": 4,
"values": [0.0, 0.0, 0.0, 0.0]
},
{
"name": "FogShape",
"type": "int",
"count": 1,
"values": [0]
},
{
"name": "ScreenSize",
"type": "float",
"count": 2,
"values": [1.0, 1.0]
}
]
}

View file

@ -0,0 +1 @@
#define MC_1_21_2

View file

@ -0,0 +1,44 @@
{
"vertex": "post/sobel",
"fragment": "post/entity_sobel",
"samplers": [
{ "name": "InSampler" }
],
"uniforms": [
{
"name": "ProjMat",
"type": "matrix4x4",
"count": 16,
"values": [
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
{
"name": "InSize",
"type": "float",
"count": 2,
"values": [1.0, 1.0]
},
{
"name": "OutSize",
"type": "float",
"count": 2,
"values": [1.0, 1.0]
}
]
}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"advancements.empty":"Territory Map refreshed. Reopen to view.","advancements.sad_label":"","advancements.toast.challenge":"§bGuild Notification","advancements.toast.goal":"§aFriend Notification","advancements.toast.task":"Notification","attribute.name.generic.attack_damage":"","attribute.name.generic.attack_knockback":"","attribute.name.generic.attack_speed":"","block.minecraft.infested_chiseled_stone_bricks":"Dark Chiseled Stone Bricks","block.minecraft.infested_cobblestone":"Dark Cobblestone","block.minecraft.infested_cracked_stone_bricks":"Dark Cracked Stone Bricks","block.minecraft.infested_mossy_stone_bricks":"Dark Mossy Stone Bricks","block.minecraft.infested_stone":"Dark Stone","block.minecraft.infested_stone_bricks":"Dark Stone Bricks","block.minecraft.purpur_block":"Sky Wood","block.minecraft.purpur_pillar":"Sky Log","block.minecraft.purpur_slab":"Sky Slab","block.minecraft.purpur_stairs":"Sky Stairs","chat.tag.error":"","chat.tag.modified":"","chat.tag.not_secure":"","chat.tag.system":"","chat.tag.system_single_player":"","container.crafting":"","container.inventory":"","effect.minecraft.haste":"Attack Speed","effect.minecraft.mining_fatigue":"Attack Speed","effect.none":"","enchantment.level.1":"","enchantment.level.2":"","enchantment.level.3":"","enchantment.level.4":"","enchantment.level.5":"","enchantment.level.6":"","enchantment.level.7":"","enchantment.level.8":"","enchantment.level.9":"","enchantment.level.10":"","enchantment.minecraft.unbreaking":"","gui.advancements":"Territory Map","item.modifiers.mainhand":"","item.modifiers.offhand":"","item.unbreakable":"","menu.game":"","menu.returnToGame":"Return to Wynncraft","menu.returnToMenu":"Disconnect","menu.disconnect":"Disconnect","menu.shareToLan":"§aWynncraft.com","mount.onboard":"","soundCategory.music":"§cMinecraft Music","soundCategory.record":"§aWynncraft Music"} {"advancements.empty":"Territory Map refreshed. Reopen to view.","advancements.sad_label":"","advancements.toast.challenge":"§bGuild Notification","advancements.toast.goal":"§aFriend Notification","advancements.toast.task":"Notification","attribute.name.generic.attack_damage":"","attribute.name.generic.attack_knockback":"","attribute.name.generic.attack_speed":"","block.minecraft.infested_chiseled_stone_bricks":"Dark Chiseled Stone Bricks","block.minecraft.infested_cobblestone":"Dark Cobblestone","block.minecraft.infested_cracked_stone_bricks":"Dark Cracked Stone Bricks","block.minecraft.infested_mossy_stone_bricks":"Dark Mossy Stone Bricks","block.minecraft.infested_stone":"Dark Stone","block.minecraft.infested_stone_bricks":"Dark Stone Bricks","block.minecraft.purpur_block":"Sky Wood","block.minecraft.purpur_pillar":"Sky Log","block.minecraft.purpur_slab":"Sky Slab","block.minecraft.purpur_stairs":"Sky Stairs","container.crafting":"","container.inventory":"","effect.minecraft.haste":"Attack Speed","effect.minecraft.mining_fatigue":"Attack Speed","effect.none":"","enchantment.level.1":"","enchantment.level.2":"","enchantment.level.3":"","enchantment.level.4":"","enchantment.level.5":"","enchantment.level.6":"","enchantment.level.7":"","enchantment.level.8":"","enchantment.level.9":"","enchantment.level.10":"","enchantment.minecraft.unbreaking":"","gui.advancements":"Territory Map","item.modifiers.mainhand":"","item.modifiers.offhand":"","item.unbreakable":"","menu.game":"","menu.returnToGame":"Return to Wynncraft","menu.returnToMenu":"Disconnect","menu.disconnect":"Disconnect","menu.shareToLan":"§aWynncraft.com","mount.onboard":"","soundCategory.music":"§cMinecraft Music","soundCategory.record":"§aWynncraft Music"}

View file

@ -1 +1 @@
{"advancements.empty":"Territory Map refreshed. Reopen to view.","advancements.sad_label":"","advancements.toast.challenge":"§bGuild Notification","advancements.toast.goal":"§aFriend Notification","advancements.toast.task":"Notification","attribute.name.generic.attack_damage":"","attribute.name.generic.attack_knockback":"","attribute.name.generic.attack_speed":"","block.minecraft.infested_chiseled_stone_bricks":"Dark Chiseled Stone Bricks","block.minecraft.infested_cobblestone":"Dark Cobblestone","block.minecraft.infested_cracked_stone_bricks":"Dark Cracked Stone Bricks","block.minecraft.infested_mossy_stone_bricks":"Dark Mossy Stone Bricks","block.minecraft.infested_stone":"Dark Stone","block.minecraft.infested_stone_bricks":"Dark Stone Bricks","block.minecraft.purpur_block":"Sky Wood","block.minecraft.purpur_pillar":"Sky Log","block.minecraft.purpur_slab":"Sky Slab","block.minecraft.purpur_stairs":"Sky Stairs","chat.tag.error":"","chat.tag.modified":"","chat.tag.not_secure":"","chat.tag.system":"","chat.tag.system_single_player":"","container.crafting":"","container.inventory":"","effect.minecraft.haste":"Attack Speed","effect.minecraft.mining_fatigue":"Attack Speed","effect.none":"","enchantment.level.1":"","enchantment.level.2":"","enchantment.level.3":"","enchantment.level.4":"","enchantment.level.5":"","enchantment.level.6":"","enchantment.level.7":"","enchantment.level.8":"","enchantment.level.9":"","enchantment.level.10":"","enchantment.minecraft.unbreaking":"","gui.advancements":"Territory Map","item.modifiers.mainhand":"","item.modifiers.offhand":"","item.unbreakable":"","menu.game":"","menu.returnToGame":"Return to Wynncraft","menu.returnToMenu":"Disconnect","menu.disconnect":"Disconnect","menu.shareToLan":"§aWynncraft.com","mount.onboard":"","soundCategory.music":"§cMinecraft Music","soundCategory.record":"§aWynncraft Music"} {"advancements.empty":"Territory Map refreshed. Reopen to view.","advancements.sad_label":"","advancements.toast.challenge":"§bGuild Notification","advancements.toast.goal":"§aFriend Notification","advancements.toast.task":"Notification","attribute.name.generic.attack_damage":"","attribute.name.generic.attack_knockback":"","attribute.name.generic.attack_speed":"","block.minecraft.infested_chiseled_stone_bricks":"Dark Chiseled Stone Bricks","block.minecraft.infested_cobblestone":"Dark Cobblestone","block.minecraft.infested_cracked_stone_bricks":"Dark Cracked Stone Bricks","block.minecraft.infested_mossy_stone_bricks":"Dark Mossy Stone Bricks","block.minecraft.infested_stone":"Dark Stone","block.minecraft.infested_stone_bricks":"Dark Stone Bricks","block.minecraft.purpur_block":"Sky Wood","block.minecraft.purpur_pillar":"Sky Log","block.minecraft.purpur_slab":"Sky Slab","block.minecraft.purpur_stairs":"Sky Stairs","container.crafting":"","container.inventory":"","effect.minecraft.haste":"Attack Speed","effect.minecraft.mining_fatigue":"Attack Speed","effect.none":"","enchantment.level.1":"","enchantment.level.2":"","enchantment.level.3":"","enchantment.level.4":"","enchantment.level.5":"","enchantment.level.6":"","enchantment.level.7":"","enchantment.level.8":"","enchantment.level.9":"","enchantment.level.10":"","enchantment.minecraft.unbreaking":"","gui.advancements":"Territory Map","item.modifiers.mainhand":"","item.modifiers.offhand":"","item.unbreakable":"","menu.game":"","menu.returnToGame":"Return to Wynncraft","menu.returnToMenu":"Disconnect","menu.disconnect":"Disconnect","menu.shareToLan":"§aWynncraft.com","mount.onboard":"","soundCategory.music":"§cMinecraft Music","soundCategory.record":"§aWynncraft Music"}

View file

@ -1 +1 @@
{"advancements.empty":"Territory Map refreshed. Reopen to view.","advancements.sad_label":"","advancements.toast.challenge":"§bGuild Notification","advancements.toast.goal":"§aFriend Notification","advancements.toast.task":"Notification","attribute.name.generic.attack_damage":"","attribute.name.generic.attack_knockback":"","attribute.name.generic.attack_speed":"","block.minecraft.infested_chiseled_stone_bricks":"Dark Chiseled Stone Bricks","block.minecraft.infested_cobblestone":"Dark Cobblestone","block.minecraft.infested_cracked_stone_bricks":"Dark Cracked Stone Bricks","block.minecraft.infested_mossy_stone_bricks":"Dark Mossy Stone Bricks","block.minecraft.infested_stone":"Dark Stone","block.minecraft.infested_stone_bricks":"Dark Stone Bricks","block.minecraft.purpur_block":"Sky Wood","block.minecraft.purpur_pillar":"Sky Log","block.minecraft.purpur_slab":"Sky Slab","block.minecraft.purpur_stairs":"Sky Stairs","chat.tag.error":"","chat.tag.modified":"","chat.tag.not_secure":"","chat.tag.system":"","chat.tag.system_single_player":"","container.crafting":"","container.inventory":"","effect.minecraft.haste":"Attack Speed","effect.minecraft.mining_fatigue":"Attack Speed","effect.none":"","enchantment.level.1":"","enchantment.level.2":"","enchantment.level.3":"","enchantment.level.4":"","enchantment.level.5":"","enchantment.level.6":"","enchantment.level.7":"","enchantment.level.8":"","enchantment.level.9":"","enchantment.level.10":"","enchantment.minecraft.unbreaking":"","gui.advancements":"Territory Map","item.modifiers.mainhand":"","item.modifiers.offhand":"","item.unbreakable":"","menu.game":"","menu.returnToGame":"Return to Wynncraft","menu.returnToMenu":"Disconnect","menu.disconnect":"Disconnect","menu.shareToLan":"§aWynncraft.com","mount.onboard":"","soundCategory.music":"§cMinecraft Music","soundCategory.record":"§aWynncraft Music"} {"advancements.empty":"Territory Map refreshed. Reopen to view.","advancements.sad_label":"","advancements.toast.challenge":"§bGuild Notification","advancements.toast.goal":"§aFriend Notification","advancements.toast.task":"Notification","attribute.name.generic.attack_damage":"","attribute.name.generic.attack_knockback":"","attribute.name.generic.attack_speed":"","block.minecraft.infested_chiseled_stone_bricks":"Dark Chiseled Stone Bricks","block.minecraft.infested_cobblestone":"Dark Cobblestone","block.minecraft.infested_cracked_stone_bricks":"Dark Cracked Stone Bricks","block.minecraft.infested_mossy_stone_bricks":"Dark Mossy Stone Bricks","block.minecraft.infested_stone":"Dark Stone","block.minecraft.infested_stone_bricks":"Dark Stone Bricks","block.minecraft.purpur_block":"Sky Wood","block.minecraft.purpur_pillar":"Sky Log","block.minecraft.purpur_slab":"Sky Slab","block.minecraft.purpur_stairs":"Sky Stairs","container.crafting":"","container.inventory":"","effect.minecraft.haste":"Attack Speed","effect.minecraft.mining_fatigue":"Attack Speed","effect.none":"","enchantment.level.1":"","enchantment.level.2":"","enchantment.level.3":"","enchantment.level.4":"","enchantment.level.5":"","enchantment.level.6":"","enchantment.level.7":"","enchantment.level.8":"","enchantment.level.9":"","enchantment.level.10":"","enchantment.minecraft.unbreaking":"","gui.advancements":"Territory Map","item.modifiers.mainhand":"","item.modifiers.offhand":"","item.unbreakable":"","menu.game":"","menu.returnToGame":"Return to Wynncraft","menu.returnToMenu":"Disconnect","menu.disconnect":"Disconnect","menu.shareToLan":"§aWynncraft.com","mount.onboard":"","soundCategory.music":"§cMinecraft Music","soundCategory.record":"§aWynncraft Music"}

View file

@ -1 +1 @@
{"advancements.empty":"Territory Map refreshed. Reopen to view.","advancements.sad_label":"","advancements.toast.challenge":"§bGuild Notification","advancements.toast.goal":"§aFriend Notification","advancements.toast.task":"Notification","attribute.name.generic.attack_damage":"","attribute.name.generic.attack_knockback":"","attribute.name.generic.attack_speed":"","block.minecraft.infested_chiseled_stone_bricks":"Dark Chiseled Stone Bricks","block.minecraft.infested_cobblestone":"Dark Cobblestone","block.minecraft.infested_cracked_stone_bricks":"Dark Cracked Stone Bricks","block.minecraft.infested_mossy_stone_bricks":"Dark Mossy Stone Bricks","block.minecraft.infested_stone":"Dark Stone","block.minecraft.infested_stone_bricks":"Dark Stone Bricks","block.minecraft.purpur_block":"Sky Wood","block.minecraft.purpur_pillar":"Sky Log","block.minecraft.purpur_slab":"Sky Slab","block.minecraft.purpur_stairs":"Sky Stairs","chat.tag.error":"","chat.tag.modified":"","chat.tag.not_secure":"","chat.tag.system":"","chat.tag.system_single_player":"","container.crafting":"","container.inventory":"","effect.minecraft.haste":"Attack Speed","effect.minecraft.mining_fatigue":"Attack Speed","effect.none":"","enchantment.level.1":"","enchantment.level.2":"","enchantment.level.3":"","enchantment.level.4":"","enchantment.level.5":"","enchantment.level.6":"","enchantment.level.7":"","enchantment.level.8":"","enchantment.level.9":"","enchantment.level.10":"","enchantment.minecraft.unbreaking":"","gui.advancements":"Territory Map","item.modifiers.mainhand":"","item.modifiers.offhand":"","item.unbreakable":"","menu.game":"","menu.returnToGame":"Return to Wynncraft","menu.returnToMenu":"Disconnect","menu.disconnect":"Disconnect","menu.shareToLan":"§aWynncraft.com","mount.onboard":"","soundCategory.music":"§cMinecraft Music","soundCategory.record":"§aWynncraft Music"} {"advancements.empty":"Territory Map refreshed. Reopen to view.","advancements.sad_label":"","advancements.toast.challenge":"§bGuild Notification","advancements.toast.goal":"§aFriend Notification","advancements.toast.task":"Notification","attribute.name.generic.attack_damage":"","attribute.name.generic.attack_knockback":"","attribute.name.generic.attack_speed":"","block.minecraft.infested_chiseled_stone_bricks":"Dark Chiseled Stone Bricks","block.minecraft.infested_cobblestone":"Dark Cobblestone","block.minecraft.infested_cracked_stone_bricks":"Dark Cracked Stone Bricks","block.minecraft.infested_mossy_stone_bricks":"Dark Mossy Stone Bricks","block.minecraft.infested_stone":"Dark Stone","block.minecraft.infested_stone_bricks":"Dark Stone Bricks","block.minecraft.purpur_block":"Sky Wood","block.minecraft.purpur_pillar":"Sky Log","block.minecraft.purpur_slab":"Sky Slab","block.minecraft.purpur_stairs":"Sky Stairs","container.crafting":"","container.inventory":"","effect.minecraft.haste":"Attack Speed","effect.minecraft.mining_fatigue":"Attack Speed","effect.none":"","enchantment.level.1":"","enchantment.level.2":"","enchantment.level.3":"","enchantment.level.4":"","enchantment.level.5":"","enchantment.level.6":"","enchantment.level.7":"","enchantment.level.8":"","enchantment.level.9":"","enchantment.level.10":"","enchantment.minecraft.unbreaking":"","gui.advancements":"Territory Map","item.modifiers.mainhand":"","item.modifiers.offhand":"","item.unbreakable":"","menu.game":"","menu.returnToGame":"Return to Wynncraft","menu.returnToMenu":"Disconnect","menu.disconnect":"Disconnect","menu.shareToLan":"§aWynncraft.com","mount.onboard":"","soundCategory.music":"§cMinecraft Music","soundCategory.record":"§aWynncraft Music"}

View file

@ -1 +1 @@
{"advancements.empty":"Territory Map refreshed. Reopen to view.","advancements.sad_label":"","advancements.toast.challenge":"§bGuild Notification","advancements.toast.goal":"§aFriend Notification","advancements.toast.task":"Notification","attribute.name.generic.attack_damage":"","attribute.name.generic.attack_knockback":"","attribute.name.generic.attack_speed":"","block.minecraft.infested_chiseled_stone_bricks":"Dark Chiseled Stone Bricks","block.minecraft.infested_cobblestone":"Dark Cobblestone","block.minecraft.infested_cracked_stone_bricks":"Dark Cracked Stone Bricks","block.minecraft.infested_mossy_stone_bricks":"Dark Mossy Stone Bricks","block.minecraft.infested_stone":"Dark Stone","block.minecraft.infested_stone_bricks":"Dark Stone Bricks","block.minecraft.purpur_block":"Sky Wood","block.minecraft.purpur_pillar":"Sky Log","block.minecraft.purpur_slab":"Sky Slab","block.minecraft.purpur_stairs":"Sky Stairs","chat.tag.error":"","chat.tag.modified":"","chat.tag.not_secure":"","chat.tag.system":"","chat.tag.system_single_player":"","container.crafting":"","container.inventory":"","effect.minecraft.haste":"Attack Speed","effect.minecraft.mining_fatigue":"Attack Speed","effect.none":"","enchantment.level.1":"","enchantment.level.2":"","enchantment.level.3":"","enchantment.level.4":"","enchantment.level.5":"","enchantment.level.6":"","enchantment.level.7":"","enchantment.level.8":"","enchantment.level.9":"","enchantment.level.10":"","enchantment.minecraft.unbreaking":"","gui.advancements":"Territory Map","item.modifiers.mainhand":"","item.modifiers.offhand":"","item.unbreakable":"","menu.game":"","menu.returnToGame":"Return to Wynncraft","menu.returnToMenu":"Disconnect","menu.disconnect":"Disconnect","menu.shareToLan":"§aWynncraft.com","mount.onboard":"","soundCategory.music":"§cMinecraft Music","soundCategory.record":"§aWynncraft Music"} {"advancements.empty":"Territory Map refreshed. Reopen to view.","advancements.sad_label":"","advancements.toast.challenge":"§bGuild Notification","advancements.toast.goal":"§aFriend Notification","advancements.toast.task":"Notification","attribute.name.generic.attack_damage":"","attribute.name.generic.attack_knockback":"","attribute.name.generic.attack_speed":"","block.minecraft.infested_chiseled_stone_bricks":"Dark Chiseled Stone Bricks","block.minecraft.infested_cobblestone":"Dark Cobblestone","block.minecraft.infested_cracked_stone_bricks":"Dark Cracked Stone Bricks","block.minecraft.infested_mossy_stone_bricks":"Dark Mossy Stone Bricks","block.minecraft.infested_stone":"Dark Stone","block.minecraft.infested_stone_bricks":"Dark Stone Bricks","block.minecraft.purpur_block":"Sky Wood","block.minecraft.purpur_pillar":"Sky Log","block.minecraft.purpur_slab":"Sky Slab","block.minecraft.purpur_stairs":"Sky Stairs","container.crafting":"","container.inventory":"","effect.minecraft.haste":"Attack Speed","effect.minecraft.mining_fatigue":"Attack Speed","effect.none":"","enchantment.level.1":"","enchantment.level.2":"","enchantment.level.3":"","enchantment.level.4":"","enchantment.level.5":"","enchantment.level.6":"","enchantment.level.7":"","enchantment.level.8":"","enchantment.level.9":"","enchantment.level.10":"","enchantment.minecraft.unbreaking":"","gui.advancements":"Territory Map","item.modifiers.mainhand":"","item.modifiers.offhand":"","item.unbreakable":"","menu.game":"","menu.returnToGame":"Return to Wynncraft","menu.returnToMenu":"Disconnect","menu.disconnect":"Disconnect","menu.shareToLan":"§aWynncraft.com","mount.onboard":"","soundCategory.music":"§cMinecraft Music","soundCategory.record":"§aWynncraft Music"}

View file

@ -0,0 +1 @@
{"layers":{"humanoid":[{"texture":"chainmail"}],"humanoid_leggings":[{"texture":"chainmail"}]}}

View file

@ -0,0 +1 @@
{"layers":{"horse_body":[{"texture":"diamond"}],"humanoid":[{"texture":"diamond"}],"humanoid_leggings":[{"texture":"diamond"}]}}

View file

@ -0,0 +1 @@
{"layers":{"horse_body":[{"texture":"gold"}],"humanoid":[{"texture":"gold"}],"humanoid_leggings":[{"texture":"gold"}]}}

View file

@ -0,0 +1 @@
{"layers":{"horse_body":[{"texture":"iron"}],"humanoid":[{"texture":"iron"}],"humanoid_leggings":[{"texture":"iron"}]}}

View file

@ -0,0 +1 @@
{"layers":{"horse_body":[{"dyeable":{"color_when_undyed":-6265536},"texture":"leather"}],"humanoid":[{"dyeable":{"color_when_undyed":-6265536},"texture":"leather"}],"humanoid_leggings":[{"dyeable":{"color_when_undyed":-6265536},"texture":"leather"}]}}

View file

@ -1 +1 @@
{"textures":{"layer0":"wynn/gui/tutorial","layer1":"item/compass_16"},"elements":[{"from":[-16,-16,7],"to":[32,32,7],"faces":{"north":{"uv":[0,0,16,16],"texture":"#layer0","tintindex":0}}},{"from":[6,1,7],"to":[11,15,8],"faces":{"north":{"uv":[10,1,5,15],"texture":"#layer1"},"east":{"uv":[9,1,10,15],"texture":"#layer1"},"south":{"uv":[5,1,10,15],"texture":"#layer1"},"west":{"uv":[5,1,6,15],"texture":"#layer1"},"up":{"uv":[5,1,10,2],"texture":"#layer1"},"down":{"uv":[5,14,10,15],"texture":"#layer1"}}},{"from":[4,2,7],"to":[6,14,8],"faces":{"north":{"uv":[5,2,3,14],"texture":"#layer1"},"east":{"uv":[4,2,5,14],"texture":"#layer1"},"south":{"uv":[3,2,5,14],"texture":"#layer1"},"west":{"uv":[3,2,4,14],"texture":"#layer1"},"up":{"uv":[3,2,5,3],"texture":"#layer1"},"down":{"uv":[3,13,5,14],"texture":"#layer1"}}},{"from":[11,2,7],"to":[13,14,8],"faces":{"north":{"uv":[12,2,10,14],"texture":"#layer1"},"east":{"uv":[11,2,12,14],"texture":"#layer1"},"south":{"uv":[10,2,12,14],"texture":"#layer1"},"west":{"uv":[10,2,11,14],"texture":"#layer1"},"up":{"uv":[10,2,12,3],"texture":"#layer1"},"down":{"uv":[10,13,12,14],"texture":"#layer1"}}},{"from":[3,3,7],"to":[4,13,8],"faces":{"north":{"uv":[3,3,2,13],"texture":"#layer1"},"east":{"uv":[2,3,3,13],"texture":"#layer1"},"south":{"uv":[2,3,3,13],"texture":"#layer1"},"west":{"uv":[2,3,3,13],"texture":"#layer1"},"up":{"uv":[2,3,3,4],"texture":"#layer1"},"down":{"uv":[2,12,3,13],"texture":"#layer1"}}},{"from":[13,3,7],"to":[14,13,8],"faces":{"north":{"uv":[13,3,12,13],"texture":"#layer1"},"east":{"uv":[12,3,13,13],"texture":"#layer1"},"south":{"uv":[12,3,13,13],"texture":"#layer1"},"west":{"uv":[12,3,13,13],"texture":"#layer1"},"up":{"uv":[12,3,13,4],"texture":"#layer1"},"down":{"uv":[12,12,13,13],"texture":"#layer1"}}},{"from":[2,4,7],"to":[3,12,8],"faces":{"north":{"uv":[2,4,1,12],"texture":"#layer1"},"east":{"uv":[1,4,2,12],"texture":"#layer1"},"south":{"uv":[1,4,2,12],"texture":"#layer1"},"west":{"uv":[1,4,2,12],"texture":"#layer1"},"up":{"uv":[1,4,2,5],"texture":"#layer1"},"down":{"uv":[1,11,2,12],"texture":"#layer1"}}},{"from":[14,4,7],"to":[15,12,8],"faces":{"north":{"uv":[14,4,13,12],"texture":"#layer1"},"east":{"uv":[13,4,14,12],"texture":"#layer1"},"south":{"uv":[13,4,14,12],"texture":"#layer1"},"west":{"uv":[13,4,14,12],"texture":"#layer1"},"up":{"uv":[13,4,14,5],"texture":"#layer1"},"down":{"uv":[13,11,14,12],"texture":"#layer1"}}},{"from":[1,5,7],"to":[2,11,8],"faces":{"north":{"uv":[1,5,0,11],"texture":"#layer1"},"east":{"uv":[0,5,1,11],"texture":"#layer1"},"south":{"uv":[0,5,1,11],"texture":"#layer1"},"west":{"uv":[0,5,1,11],"texture":"#layer1"},"up":{"uv":[0,5,1,6],"texture":"#layer1"},"down":{"uv":[0,10,1,11],"texture":"#layer1"}}},{"from":[15,5,7],"to":[16,11,8],"faces":{"north":{"uv":[15,5,14,11],"texture":"#layer1"},"east":{"uv":[14,5,15,11],"texture":"#layer1"},"south":{"uv":[14,5,15,11],"texture":"#layer1"},"west":{"uv":[14,5,15,11],"texture":"#layer1"},"up":{"uv":[14,5,15,6],"texture":"#layer1"},"down":{"uv":[14,10,15,11],"texture":"#layer1"}}}],"gui_light":"front","display":{"thirdperson_righthand":{"translation":[0,3,1],"scale":[0.55,0.55,0.55]},"thirdperson_lefthand":{"translation":[0,3,1],"scale":[0.55,0.55,0.55]},"firstperson_righthand":{"rotation":[0,-90,25],"translation":[1.13,3.2,1.13],"scale":[0.68,0.68,0.68]},"firstperson_lefthand":{"rotation":[0,-90,25],"translation":[1.13,3.2,1.13],"scale":[0.68,0.68,0.68]},"ground":{"translation":[0,2,0],"scale":[0.5,0.5,0.5]},"gui":{"rotation":[0,180,0]},"head":{"rotation":[0,180,0],"translation":[0,13,7]},"fixed":{"rotation":[0,180,0]}}} {"textures":{"layer0":"wynn/gui/tutorial","layer1":"item/compass_16","particle":"item/compass_16"},"elements":[{"from":[-16,-16,7],"to":[32,32,7],"faces":{"north":{"uv":[0,0,16,16],"texture":"#layer0","tintindex":0}}},{"name":"compass_16_0","from":[4,2,7],"to":[11,14,8],"rotation":{"angle":0,"axis":"y","origin":[0,0,7]},"faces":{"north":{"uv":[11,2,4,14],"texture":"#layer1"},"east":{"uv":[10,2,11,14],"texture":"#layer1"},"south":{"uv":[4,2,11,14],"texture":"#layer1"},"west":{"uv":[4,2,5,14],"texture":"#layer1"},"up":{"uv":[4,2,11,3],"texture":"#layer1"},"down":{"uv":[4,13,11,14],"texture":"#layer1"}}},{"name":"compass_16_1","from":[2,3,7],"to":[4,13,8],"rotation":{"angle":0,"axis":"y","origin":[0,0,7]},"faces":{"north":{"uv":[4,3,2,13],"texture":"#layer1"},"east":{"uv":[3,3,4,13],"texture":"#layer1"},"south":{"uv":[2,3,4,13],"texture":"#layer1"},"west":{"uv":[2,3,3,13],"texture":"#layer1"},"up":{"uv":[2,3,4,4],"texture":"#layer1"},"down":{"uv":[2,12,4,13],"texture":"#layer1"}}},{"name":"compass_16_2","from":[11,3,7],"to":[13,13,8],"rotation":{"angle":0,"axis":"y","origin":[0,0,7]},"faces":{"north":{"uv":[13,3,11,13],"texture":"#layer1"},"east":{"uv":[12,3,13,13],"texture":"#layer1"},"south":{"uv":[11,3,13,13],"texture":"#layer1"},"west":{"uv":[11,3,12,13],"texture":"#layer1"},"up":{"uv":[11,3,13,4],"texture":"#layer1"},"down":{"uv":[11,12,13,13],"texture":"#layer1"}}},{"name":"compass_16_3","from":[1,4,7],"to":[2,12,8],"rotation":{"angle":0,"axis":"y","origin":[0,0,7]},"faces":{"north":{"uv":[2,4,1,12],"texture":"#layer1"},"east":{"uv":[1,4,2,12],"texture":"#layer1"},"south":{"uv":[1,4,2,12],"texture":"#layer1"},"west":{"uv":[1,4,2,12],"texture":"#layer1"},"up":{"uv":[1,4,2,5],"texture":"#layer1"},"down":{"uv":[1,11,2,12],"texture":"#layer1"}}},{"name":"compass_16_4","from":[13,4,7],"to":[14,12,8],"rotation":{"angle":0,"axis":"y","origin":[0,0,7]},"faces":{"north":{"uv":[14,4,13,12],"texture":"#layer1"},"east":{"uv":[13,4,14,12],"texture":"#layer1"},"south":{"uv":[13,4,14,12],"texture":"#layer1"},"west":{"uv":[13,4,14,12],"texture":"#layer1"},"up":{"uv":[13,4,14,5],"texture":"#layer1"},"down":{"uv":[13,11,14,12],"texture":"#layer1"}}},{"name":"compass_16_5","from":[0,5,7],"to":[1,11,8],"rotation":{"angle":0,"axis":"y","origin":[0,0,7]},"faces":{"north":{"uv":[1,5,0,11],"texture":"#layer1"},"east":{"uv":[0,5,1,11],"texture":"#layer1"},"south":{"uv":[0,5,1,11],"texture":"#layer1"},"west":{"uv":[0,5,1,11],"texture":"#layer1"},"up":{"uv":[0,5,1,6],"texture":"#layer1"},"down":{"uv":[0,10,1,11],"texture":"#layer1"}}},{"name":"compass_16_6","from":[14,5,7],"to":[15,11,8],"rotation":{"angle":0,"axis":"y","origin":[0,0,7]},"faces":{"north":{"uv":[15,5,14,11],"texture":"#layer1"},"east":{"uv":[14,5,15,11],"texture":"#layer1"},"south":{"uv":[14,5,15,11],"texture":"#layer1"},"west":{"uv":[14,5,15,11],"texture":"#layer1"},"up":{"uv":[14,5,15,6],"texture":"#layer1"},"down":{"uv":[14,10,15,11],"texture":"#layer1"}}}],"gui_light":"front","display":{"thirdperson_righthand":{"translation":[0,3,1],"scale":[0.55,0.55,0.55]},"thirdperson_lefthand":{"translation":[0,3,1],"scale":[0.55,0.55,0.55]},"firstperson_righthand":{"rotation":[0,-90,25],"translation":[1.13,3.2,1.13],"scale":[0.68,0.68,0.68]},"firstperson_lefthand":{"rotation":[0,-90,25],"translation":[1.13,3.2,1.13],"scale":[0.68,0.68,0.68]},"ground":{"translation":[0,2,0],"scale":[0.5,0.5,0.5]},"gui":{"rotation":[0,180,0]},"head":{"rotation":[0,180,0],"translation":[0,13,7]},"fixed":{"rotation":[0,180,0]}}}

View file

@ -36,7 +36,11 @@ void main() {
transform.depth = depth; transform.depth = depth;
emissiveModel(); emissiveModel();
perspectiveModel(253.0, 252.0); #if defined(MC_1_21_2)
perspectiveModel(253.0, 252.0, -800.0);
#else
perspectiveModel(253.0, 252.0, 2.0);
#endif
if(transform.color.a < 0.1) if(transform.color.a < 0.1)
discard; discard;

View file

@ -38,7 +38,7 @@ void main() {
transform.color = Color; transform.color = Color;
transform.position = Position; transform.position = Position;
#if defined(MC_1_20_5) #if defined(MC_1_20_5) || defined(MC_1_21_2)
anchorZ(551, 2201); anchorZ(551, 2201);
#endif #endif

View file

@ -31,6 +31,10 @@ void main() {
disableShadow(0); disableShadow(0);
#elif defined(MC_1_20_5) #elif defined(MC_1_20_5)
disableShadow(2200); disableShadow(2200);
#elif defined(MC_1_21_2)
disableShadow(2200);
disableShadow(1200);
disableShadow(-1000);
#endif #endif
fragColor = linear_fog(transform.color, vertexDistance, FogStart, FogEnd, FogColor); fragColor = linear_fog(transform.color, vertexDistance, FogStart, FogEnd, FogColor);

View file

@ -40,9 +40,9 @@ void main() {
#if defined(MC_1_20_2) #if defined(MC_1_20_2)
hideScoreboardNumbers(vec3(0.94, -0.35, 0), vec3(255, 85, 85), 4); hideScoreboardNumbers(vec3(0.94, -0.35, 0), vec3(255, 85, 85), 4);
anchorZ(1.0, 0.03, -1); anchorZ(1.0, 0.03, -1);
#elif defined(MC_1_20_5) #elif defined(MC_1_20_5) || defined(MC_1_21_2)
hideScoreboardNumbers(vec3(0.94, -0.35, 2000), vec3(255, 85, 85), 4); hideScoreboardNumbers(vec3(0.94, -0.35, 2000), vec3(255, 85, 85), 4);
anchorZ(1.0, 2200.03, -1); anchorZ(1.0, 2200.03, -2200.03);
#endif #endif
verticalSlide(2, Color.a); verticalSlide(2, Color.a);

View file

@ -1,6 +1,7 @@
#version 150 #version 150
#define FRAGMENT_SHADER #define FRAGMENT_SHADER
#define POSITION_TEX #define POSITION_TEX
#define POSITION_TEX_COLOR
#moj_import <util.glsl> #moj_import <util.glsl>
#moj_import <texture.glsl> #moj_import <texture.glsl>
@ -11,13 +12,18 @@ uniform sampler2D Sampler0;
uniform vec4 ColorModulator; uniform vec4 ColorModulator;
in vec2 texCoord0; in vec2 texCoord0;
in vec4 vertexColor;
out vec4 fragColor; out vec4 fragColor;
void main() { void main() {
transform.textureUV = texCoord0; transform.textureUV = texCoord0;
transform.color = texture(Sampler0, texCoord0);
transform.colorMod = ColorModulator; transform.colorMod = ColorModulator;
#if defined(MC_1_21_2)
transform.color = texture(Sampler0, texCoord0) * vertexColor;
#else
transform.color = texture(Sampler0, texCoord0);
#endif
removePixel(Sampler0, ivec2(0, 0), ivec4(255, 0, 0, 255)); removePixel(Sampler0, ivec2(0, 0), ivec4(255, 0, 0, 255));
removePixel(Sampler0, ivec2(0, 1), ivec4(255, 0, 0, 255)); removePixel(Sampler0, ivec2(0, 1), ivec4(255, 0, 0, 255));

View file

@ -1,6 +1,7 @@
#version 150 #version 150
#define VERTEX_SHADER #define VERTEX_SHADER
#define POSITION_TEX #define POSITION_TEX
#define POSITION_TEX_COLOR
#moj_import <util.glsl> #moj_import <util.glsl>
#moj_import <texture.glsl> #moj_import <texture.glsl>
@ -8,6 +9,7 @@
in vec3 Position; in vec3 Position;
in vec2 UV0; in vec2 UV0;
in vec4 Color;
uniform sampler2D Sampler0; uniform sampler2D Sampler0;
uniform vec2 ScreenSize; uniform vec2 ScreenSize;
@ -16,11 +18,13 @@ uniform mat4 ModelViewMat;
uniform mat4 ProjMat; uniform mat4 ProjMat;
out vec2 texCoord0; out vec2 texCoord0;
out vec4 vertexColor;
void main() { void main() {
texCoord0 = UV0; texCoord0 = UV0;
transform.position = Position; transform.position = Position;
transform.vertexColor = Color;
transform.textureUV = UV0; transform.textureUV = UV0;
transform.gameTime = GameTime; transform.gameTime = GameTime;
transform.guiScale = getGuiScale(ProjMat, ScreenSize); transform.guiScale = getGuiScale(ProjMat, ScreenSize);
@ -36,4 +40,8 @@ void main() {
gl_Position = ProjMat * ModelViewMat * vec4(transform.position, 1.0); gl_Position = ProjMat * ModelViewMat * vec4(transform.position, 1.0);
texCoord0 = transform.textureUV; texCoord0 = transform.textureUV;
#if defined(MC_1_21_2)
vertexColor = transform.vertexColor;
#endif
} }

View file

@ -41,14 +41,14 @@ void emissiveModel() {
transform.color *= mix(vec4(1), transform.lightColor, transform.emissive); transform.color *= mix(vec4(1), transform.lightColor, transform.emissive);
} }
void perspectiveModel(float worldAlpha, float interfaceAlpha) { void perspectiveModel(float worldAlpha, float interfaceAlpha, float depth) {
if(alpha(transform.alpha, worldAlpha) && transform.vertexDistance < 800) if(alpha(transform.alpha, worldAlpha) && transform.vertexDistance < 800)
discard; discard;
if(transform.vertexDistance >= 800) { if(transform.vertexDistance >= 800) {
if(alpha(transform.alpha, worldAlpha) && transform.depth < 2.0) if(alpha(transform.alpha, worldAlpha) && transform.depth < depth)
discard; discard;
else if(alpha(transform.alpha, interfaceAlpha) && transform.depth >= 2.0) else if(alpha(transform.alpha, interfaceAlpha) && transform.depth >= depth)
discard; discard;
} }
} }

View file

@ -1,10 +1,11 @@
#version 150 #version 150
#if defined(POSITION_TEX) #if defined(POSITION_TEX) || defined(POSITION_TEX_COLOR)
#ifdef VERTEX_SHADER #ifdef VERTEX_SHADER
struct Transform { struct Transform {
vec4 color; vec4 color;
vec4 vertexColor;
float guiScale; float guiScale;
float gameTime; float gameTime;
float elementDepth; float elementDepth;

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 527 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 267 B

After

Width:  |  Height:  |  Size: 328 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 267 B

After

Width:  |  Height:  |  Size: 328 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 267 B

After

Width:  |  Height:  |  Size: 328 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 B

View file

@ -0,0 +1 @@
{"gui":{"scaling":{"type":"nine_slice","width":100,"height":100,"border":9}}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 B

View file

@ -0,0 +1 @@
{"gui":{"scaling":{"type":"nine_slice","width":100,"height":100,"border":10,"stretch_inner":true}}}

View file

@ -1 +1 @@
{"pack":{"pack_format":34,"supported_formats":{"min_inclusive":18,"max_inclusive":34},"description":[{"text":"Wynncraft Resource Pack","color":"#bbd65a"},{"text":" "},{"text":"2.1","color":"gray"},{"text":"\n"},{"text":"1.21.1","color":"gray"},{"text":" "},{"text":"Oct. 10, 2024","color":"dark_gray"}]},"overlays":{"entries":[{"formats":[32,34],"directory":"1_20_5"}]}} {"pack":{"pack_format":42,"supported_formats":{"min_inclusive":18,"max_inclusive":42},"description":[{"text":"Wynncraft Resource Pack","color":"#bbd65a"},{"text":" "},{"text":"2.1","color":"gray"},{"text":"\n"},{"text":"1.21.2","color":"gray"},{"text":" "},{"text":"Oct. 21, 2024","color":"dark_gray"}]},"overlays":{"entries":[{"formats":{"min_inclusive":32,"max_inclusive":99},"directory":"1_20_5"},{"formats":{"min_inclusive":42,"max_inclusive":99},"directory":"1_21_2"}]}}