Skip to content

Commit

Permalink
Fix issue #168: Add compatibility for iris 1.7.5 in 1.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-o committed Oct 6, 2024
1 parent a2cdf44 commit ba4f035
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ TL;DR:
- Support **Seus PTGI HRR 3**, **Shrimple**, and **UShader**, etc.
- Includes Flywheel in the jar file, so you don't need to install it separately.

### 1.1.4
- Fix issue [#168](https://github.com/leon-o/iris-flw-compat/issues/168)
- Add compatibility for iris 1.7.5 in 1.20.1.

### 1.1.3
- Fix issue [#146](https://github.com/leon-o/iris-flw-compat/issues/146).
- Fix issues in PBR. Normals and tangents of moving contraptions now are correct.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public abstract class ProgramSetMixin implements ProgramSetAccessor {
@Inject(method = "<init>",remap = false,at = @At(value="RETURN"))
private void initGBufferFlw(AbsolutePackPath directory, Function<AbsolutePackPath, String> sourceProvider,
ShaderProperties shaderProperties, ShaderPack pack, CallbackInfo ci){
boolean readTesselation = pack.hasFeature(FeatureFlags.TESSELATION_SHADERS);
boolean readTesselation = pack.hasFeature(FeatureFlags.getValue("TESSELATION_SHADERS"));
gbuffersFlw = callReadProgramSource(directory, sourceProvider, "gbuffers_flw", (ProgramSet) (Object)this, shaderProperties, readTesselation);
shadowFlw = callReadProgramSource(directory, sourceProvider, "shadow_flw", (ProgramSet) (Object)this,shaderProperties, BlendModeOverride.OFF, readTesselation);
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx2G
org.gradle.parallel=true

# Mod properties
mod_version = 1.1.3b
mod_version = 1.1.4
maven_group = top.leonx.irisflw
fabric_archives_name = iris-flywheel-compat
forge_archives_name = oculus-flywheel-compat
Expand Down

0 comments on commit ba4f035

Please sign in to comment.