Skip to content

Commit

Permalink
Merge branch 'refs/heads/1.20.3' into 1.20.1-new
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Apr 23, 2024
2 parents 4cf87c8 + bd6b56c commit 85206ad
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
31 changes: 31 additions & 0 deletions docs/changelogs/1.7.0/full.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Iris 1.7.0 Changelog

## New Features

- Added Tessellation shaders. These new shader types allow you to subdivide and add more detail to geometry.
- These take the form of `.tcs` and `.tes` shaders respectively for control and evaluation. See the Khronos wiki for
details.
- Added an attribute that allows you to see the emission value of a block. It is stored in `at_midBlock.w` and ranges
from 0-15.
- Added `cameraPositionInt` and `cameraPositionFract` for better precision, along with their respective previous
uniforms. *These values are unshifted, unlike the normal ones.*
- Added `occlusion.culling` option.
- Added support for Distant Horizons 2.0.3. This version is not officially released yet.
- Added debug groups. This groups together information in RenderDoc for easy viewing.
- Added support for Indirect Compute shaders. This allows you to dispatch a compute shader with the work group amount
specified from a SSBO.
- To use this, you must use `indirect.pass = bufferObjectNumber offsetInBuffer` in shaders.properties, and the
object at offset in the
SSBO must be an `uvec3`.
- ***If you do not do this, your PC will most likely crash trying to dispatch 2147483647^3 work groups. Don't do
that.***
- Added a keybind to see a wireframe view of the world. This is only usable in singleplayer.
- Added some uniforms, mostly `isRightHanded`.

## Technical Changes

- Relocated Iris from `net.coderbot` to `net.irisshaders`
- This will break any mods depending on Iris 1.6.17 and below.
- Added whitespace detection code to property files.
- This fixes SEUS PTGI GFME.
- Redesigned the pipeline layout.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public class MixinClientPacketListener {
if (Iris.loadedIncompatiblePack()) {
Minecraft.getInstance().gui.setTimes(10, 70, 140);
Iris.logger.warn("Incompatible pack for DH!");
Minecraft.getInstance().gui.setTitle(Component.literal("This pack doesn't have DH support").withStyle(ChatFormatting.BOLD, ChatFormatting.RED));
Minecraft.getInstance().gui.setSubtitle(Component.literal("Distant Horizons (DH) chunks won't show up. This isn't a bug, get another shader.").withStyle(ChatFormatting.RED));
Minecraft.getInstance().player.displayClientMessage(Component.literal("This pack doesn't have DH support.").withStyle(ChatFormatting.BOLD, ChatFormatting.RED), false);
Minecraft.getInstance().player.displayClientMessage(Component.literal("Distant Horizons (DH) chunks won't show up. This isn't a bug, get another shader.").withStyle(ChatFormatting.RED), false);
}
}
}

0 comments on commit 85206ad

Please sign in to comment.