header
logo

Iris & Oculus Flywheel Compat

Install

What's this?

 

  • Flywheel will disable its optimizations when you are using shaderpacks.
  • This mod forces Flywheel’s optimizations to be enabled.
  • For those using shaderpacks and mods that depend on Flywheel, this mod can significantly improve fps.
  • If you don’t use shaderpacks, this mod has no effect because Flywheel’s optimizations are enabled by default.

 

Compatibility

 

The shaders that have been tested are:

 

  • BSL
  • Complementary
  • Complementary Reimagined 
  • SEUS renewed
  • Sildurs Vibrant Shaders
  • AstraLex
 
New supported shaderpacks after 0.2.0:

 

  • Kapa 5.1
  • Nostalgia
  • Rethinking Voxels
  • SEUS PTGI HRR

 

There are some shaderpacks that are also supported, but not listed above, so you can test them yourself.

 

This mod only supports some specific versions of Iris !!!

 

IrisFlwCompat    Iris

0.2.5                   >=1.7

0.2.0                   >=1.6.2

0.1.9                   >=1.5 and <= 1.6.1

0.1.7~0.1.8         >=1.4 and < 1.5

0.1.6 below         <1.4

 

CHANGELOG

 

2024/7/28

  1. Fix lighting issues of the moving contraption.
  • The vertex light strength was incorrectly set to a fixed value, causing the moving contraption won't be affected by the light source.
  1. Use architecture to reorganize the project.
  • Forge and Fabric forge are now merged into a single project, which is more convenient for future development.
  1. New version number format.
  • Now the version number starts from 1.0.0. The first number represents the major version and will be increased when the mod has a significant update. The second number represents the Iris/Oculus compatibility and will be increased when the mod is no longer compatible with older versions of iris.

 

Principle

Flywheel uses a method called GPU Instancing to render entities. It is very efficient when rendering a large number of repeating entities (e.g., cogwheels in the Create mod).

However, when you use Iris and enable shaderpack, this optimization is disabled because Flywheel needs to use its own shaders to render these entities, and Flywheel’s shaders will no longer work when you enable shaderpack.

This mod will automatically merge Flywheel’s shaders with the shaders in the shaderpack when shaderpack is enabled, allowing entities to be rendered using Instancing.

When there is a large number of entities to render, there is a significant CPU bottleneck with the original rendering method. This means that the better your GPU is, the more substantial the FPS improvement from Flywheel will be. For example, on my RTX 4070ti at 4K resolution, the scene in the screenshot improved from 26fps to 65fps.

 

Comparison

 
Before

 

before

 

After

After

 

Before

before2

 

After

after2

 

Before

before3

After

after3

 

How to use it?

 

1. Install Flywheel(Create has embedded flywheel so you don't need to install it separately now) and Iris (Oculus if you use forge).

2. Install this mod.