From 381c5b877770690f78d941277a116edd272316cc Mon Sep 17 00:00:00 2001 From: WhyFenceCode <120431739+WhyFenceCode@users.noreply.github.com> Date: Sun, 14 Jan 2024 20:15:25 -0800 Subject: [PATCH 01/11] Rename properties.md to shader.properties.md --- directives/{properties.md => shader.properties.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename directives/{properties.md => shader.properties.md} (100%) diff --git a/directives/properties.md b/directives/shader.properties.md similarity index 100% rename from directives/properties.md rename to directives/shader.properties.md From 46a0cb3d0bf54f4a7a13f53e945bda04de8ae727 Mon Sep 17 00:00:00 2001 From: WhyFenceCode <120431739+WhyFenceCode@users.noreply.github.com> Date: Sun, 14 Jan 2024 20:15:57 -0800 Subject: [PATCH 02/11] Create block.properties.md --- directives/block.properties.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 directives/block.properties.md diff --git a/directives/block.properties.md b/directives/block.properties.md new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/directives/block.properties.md @@ -0,0 +1 @@ + From 37457f16784225c35d0a8c11624b521e49153afa Mon Sep 17 00:00:00 2001 From: WhyFenceCode <120431739+WhyFenceCode@users.noreply.github.com> Date: Sun, 14 Jan 2024 20:17:57 -0800 Subject: [PATCH 03/11] Update block.properties.md --- directives/block.properties.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/directives/block.properties.md b/directives/block.properties.md index 8b13789..e227853 100644 --- a/directives/block.properties.md +++ b/directives/block.properties.md @@ -1 +1,13 @@ +# `block.properties` +## Implementation Support + +* ❌ ShadersMod +* ✔️ OptiFine +* ✔️ Iris + +## Block Rendering Options + +### MC_Entity + +### Layer Changes From 342b3d8dbc5a986deedc1ddafe353ccc641b8d80 Mon Sep 17 00:00:00 2001 From: WhyFenceCode <120431739+WhyFenceCode@users.noreply.github.com> Date: Sun, 14 Jan 2024 20:19:37 -0800 Subject: [PATCH 04/11] Update block.properties.md --- directives/block.properties.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/directives/block.properties.md b/directives/block.properties.md index e227853..8f44094 100644 --- a/directives/block.properties.md +++ b/directives/block.properties.md @@ -11,3 +11,10 @@ ### MC_Entity ### Layer Changes +#### Implementation Support + +* ❌ ShadersMod +* ✔️ OptiFine +* ✔️ Iris + +Note: Optifine Only Has Partial Support From 69aa10558226c101d6949d0ea5c68c03ed4068bc Mon Sep 17 00:00:00 2001 From: WhyFenceCode <120431739+WhyFenceCode@users.noreply.github.com> Date: Sun, 14 Jan 2024 20:20:39 -0800 Subject: [PATCH 05/11] Update block.properties.md --- directives/block.properties.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/directives/block.properties.md b/directives/block.properties.md index 8f44094..fed4a03 100644 --- a/directives/block.properties.md +++ b/directives/block.properties.md @@ -11,6 +11,9 @@ ### MC_Entity ### Layer Changes + +Layer Changes allow you to change what layer a block renders on. + #### Implementation Support * ❌ ShadersMod From 444f8e690ea73386c3913006962421575e8eb708 Mon Sep 17 00:00:00 2001 From: WhyFenceCode <120431739+WhyFenceCode@users.noreply.github.com> Date: Sun, 14 Jan 2024 20:21:15 -0800 Subject: [PATCH 06/11] Update block.properties.md --- directives/block.properties.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/directives/block.properties.md b/directives/block.properties.md index fed4a03..8a0175b 100644 --- a/directives/block.properties.md +++ b/directives/block.properties.md @@ -14,6 +14,15 @@ Layer Changes allow you to change what layer a block renders on. +#### Representation + +```java +layer.solid= +layer.cutout= +layer.cutout_mipped= +layer.translucent= +``` + #### Implementation Support * ❌ ShadersMod From 4851c9293cee97f5c44fe6705528689dd193d056 Mon Sep 17 00:00:00 2001 From: WhyFenceCode <120431739+WhyFenceCode@users.noreply.github.com> Date: Sun, 14 Jan 2024 20:21:56 -0800 Subject: [PATCH 07/11] Update block.properties.md --- directives/block.properties.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/directives/block.properties.md b/directives/block.properties.md index 8a0175b..760d6de 100644 --- a/directives/block.properties.md +++ b/directives/block.properties.md @@ -23,6 +23,17 @@ layer.cutout_mipped= layer.translucent= ``` +#### Example + +``` +# Disable clouds with this shader pack +clouds=fancy +``` + +#### Default + +No change. If this option is not present then the clouds render in the way that the user has chosen. + #### Implementation Support * ❌ ShadersMod From 042b4d11807857f58b896605bea6fa47e738ba30 Mon Sep 17 00:00:00 2001 From: WhyFenceCode <120431739+WhyFenceCode@users.noreply.github.com> Date: Mon, 15 Jan 2024 08:41:40 -0800 Subject: [PATCH 08/11] Update block.properties.md --- directives/block.properties.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/directives/block.properties.md b/directives/block.properties.md index 760d6de..67d1750 100644 --- a/directives/block.properties.md +++ b/directives/block.properties.md @@ -26,13 +26,13 @@ layer.translucent= #### Example ``` -# Disable clouds with this shader pack -clouds=fancy +# Change Stone To A Translucent Block +layer.translucent=stone ``` #### Default -No change. If this option is not present then the clouds render in the way that the user has chosen. +No change. If this option is not present then the blocks render in the way that mojang has chosen. #### Implementation Support From 210937bbb1ddd31f6a0e3c3715f83e89f58c6381 Mon Sep 17 00:00:00 2001 From: WhyFenceCode <120431739+WhyFenceCode@users.noreply.github.com> Date: Mon, 15 Jan 2024 08:42:05 -0800 Subject: [PATCH 09/11] Update block.properties.md --- directives/block.properties.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/directives/block.properties.md b/directives/block.properties.md index 67d1750..1ed81d6 100644 --- a/directives/block.properties.md +++ b/directives/block.properties.md @@ -8,8 +8,6 @@ ## Block Rendering Options -### MC_Entity - ### Layer Changes Layer Changes allow you to change what layer a block renders on. From 1a3fe4ad57bef7d4b26390467e447e9640ff3e14 Mon Sep 17 00:00:00 2001 From: WhyFenceCode <120431739+WhyFenceCode@users.noreply.github.com> Date: Mon, 15 Jan 2024 08:46:34 -0800 Subject: [PATCH 10/11] Update block.properties.md --- directives/block.properties.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/directives/block.properties.md b/directives/block.properties.md index 1ed81d6..6978b6b 100644 --- a/directives/block.properties.md +++ b/directives/block.properties.md @@ -8,7 +8,7 @@ ## Block Rendering Options -### Layer Changes +### Render Layer Changes Layer Changes allow you to change what layer a block renders on. From e35d4f97e006216265dc7f61a4f4868f00b9aabf Mon Sep 17 00:00:00 2001 From: WhyFenceCode <120431739+WhyFenceCode@users.noreply.github.com> Date: Mon, 15 Jan 2024 09:00:18 -0800 Subject: [PATCH 11/11] Update shader.properties.md --- directives/shader.properties.md | 43 +++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/directives/shader.properties.md b/directives/shader.properties.md index f51d621..22f94b1 100644 --- a/directives/shader.properties.md +++ b/directives/shader.properties.md @@ -6,6 +6,49 @@ * ✔️ OptiFine * ✔️ Iris +## Custom Textures + +### Registering + +Custom Textures allow you to create a custom texture2D sampler, allowing you to use them. + +#### Representation + +```java +customTexture. = +``` + +Paths use the root folder of shaders + +#### Example + +``` +# Addded A LUT for Sunlight with the texture in shaders/textures +customTexture.sunlightLUT = textures/sunlightLUT.png +``` + +#### Usage + +``` +#In an fsh file, using the example above +uniform sampler2D sunlightLUT; // The Sunlight LUT + +#Gets the color at 0.5, 0 +vec4 color = vec4(texture(sunlightLUT, vec2(0.5, 0)), 1.0) +``` + +#### Default + +No change. If this option is not present, then no custom samplers are present. + +#### Implementation Support + +* ❌ ShadersMod +* ✔️ OptiFine +* ✔️ Iris + +Note: Optifine has diffrent syntax. + ## Rendering detail toggles ### Clouds mode