You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fade-in progress of the geometry. This value is a `float` automatically declared in all gbuffers programs which represents the progress of the chunk fade animation introduced in Minecraft version 1.21.11.
21
+
22
+
In `gbuffers_terrain.vsh`, the value will be a float in the range 0-1. In all other gbuffers programs, it will be declared as `const float mc_chunkFade = -1.0;`.
23
+
24
+
The variable will only be declared if the `FADE_VARIABLE`[feature flag](/current/reference/shadersproperties/flags/) is available and enabled.
Copy file name to clipboardExpand all lines: src/content/docs/current/Reference/Shaders.Properties/flags.mdx
+15-13Lines changed: 15 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,16 +31,18 @@ Then you could check for this with
31
31
32
32
The following is an index of all supported feature flags. Any feature flag marked as "**Required For Use**" must be set in `iris.features.required` or `iris.features.optional` in order to use the feature, otherwise Iris will throw an error.
|`TEXTURE_FILTERING`| ✔️ | Reports to Iris that the shader supports texture filtering, and enables the [`textureFilteringMode`](/current/reference/uniforms/rendering#texturefilteringmode) uniform|
Copy file name to clipboardExpand all lines: src/content/docs/current/Reference/Uniforms/overview.mdx
+18-17Lines changed: 18 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,23 +124,24 @@ Below is an index of all uniforms available in Iris. Uniforms marked as <Badge t
124
124
|[logicalHeightLimit](/current/reference/uniforms/biome/#logicalheightlimit)| int || Logical height of the current dimension | <Badgetext="Iris Exclusive"variant="tip"/> |
125
125
126
126
## Rendering
127
-
| Uniform | Type | Value range | Description | Tag |
This uniform reports the texture filtering mode selected by the user in the Sodium quality settings. It will have one of the following values.
215
+
-`0`: Disabled/Nearest Filtering
216
+
-`1`: RGSS (Rotated-Grid Supersampling)
217
+
-`2`: Anisotropic Filtering
218
+
219
+
**The `TEXTURE_FILTERING`[feature flag](/current/reference/shadersproperties/flags/) must be enabled for this uniform to be defined.** If this feature is not enabled, the user will not be able to select texture filtering options in the Sodium settings.
0 commit comments