header effectheader

Iris & Oculus Flywheel Compat

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 shaderpack and mods depend on Flywheel, this mod can significantly improve fps.

If you don't use shaderpack, 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.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

 

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. gears in Create mod). But when you use iris and enable shaderpack, this optimization is disabled. Because flywheel needs to use its own shader to render these entities and flywheel's shader will no longer work when you enable shaderpack.

 

This mod will automatically merge flywheel's shader with the shader in shaderpack when shaderpack is enabled to be able to render entities using Instancing.

 

When you have a large number of entities to render, there is a huge CPU bottleneck with the original rendering method. This means that the better your GPU is, the bigger the FPS improvement from Flywheel. On my RTX 4070ti and 4K resolution, the scene in the screenshot was able to improve 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.