IrisShaders / Iris

A modern shaders mod for Minecraft compatible with existing OptiFine shader packs
https://irisshaders.dev
GNU Lesser General Public License v3.0
3.22k stars 610 forks source link

shadowtexXMipmap and shadowcolorXMipmap cannot work #2383

Open GeForceLegend opened 1 week ago

GeForceLegend commented 1 week ago

What happened?

After using below code, mipmap for those shadowtex and shadowcolor is still unable to use, making some shadow related stuff using mipmap become much more expensive. IMS should have a copy of my shader so he can test these thing.

const bool shadowtex0Mipmap = true;
const bool shadowcolor0Mipmap = true;
const bool shadowcolor1Mipmap = true;

Screenshots

Shadowcolor0 and shadowcolor0 only have 1 mip (or their mipmap is not generated) shadowcolor0 shadowcolor1

Shadowtex0 has mipmap generated, but looks like it's mipmap cannot get used shadowtex

Log output

latest.log

Minecraft Version

1.20.6

Iris Version

iris-1.7.1+mc1.20.6.jar

Operating System

Windows10 Home 22H2 19045.4529

What is your GPU?

NVIDIA GeForce RTX 4070

Additional context

No response