Iris & Oculus Flywheel Compat

Iris & Oculus Flywheel Compat

15M Downloads

方块实体破坏贴图光污染

A2uria opened this issue · 11 comments

commented

复现需要的 mod 放在下面了,虽然这就是普通的全家桶

mods
create-fabric-0.5.1-f-build.1417+mc1.20.1.jar
fabric-api-0.92.2+1.20.1.jar
indium-1.0.34+mc1.20.1.jar
iris-1.7.2+mc1.20.1.jar
iris-flywheel-compat-fabric1.20.1+1.1.1.jar
sodium-fabric-0.5.11+mc1.20.1.jar

主要是方块实体破坏时贴图的问题。

按理说这个贴图不应该有反射?

复现

禁用 flywheel 后正常。

箱子等方块实体渲染也有同样问题。

ComplementaryUnbound 也可复现,而且比 BSL 更光污染

commented

你用了PBR材质吗?

commented

令人震撼的bug。

commented

你用了PBR材质吗?

图片里用了但是和 PBR 无关,无 PBR 材质也能复现。

感觉问题可能出在 Crumbling 相关的代码,但是不确定是 Flywheel 的问题还是兼容层的问题。

commented

Flywheel Fabric 的 Instancing 后端会渲染破环中的实体。试试在启用光影 + Instancing 后端的情况下禁用 CrumblingRenderer不确定这样做对开销的影响

https://github.com/Engine-Room/Flywheel/blob/cd873159abf4a6f8be6f505ae66ab0b320a0e86f/src/main/java/com/jozufozu/flywheel/core/crumbling/CrumblingRenderer.java#L51-L63

Flywheel Forge 也有类似的渲染问题但是不会光污染。

禁用后端渲染会导致特定视角下贴图出问题。

Forge:

Fabric:

commented

Same issue with same mods (but with latest iris-flywheel-compat-fabric1.20.1+1.1.3a) - breaking any block entity causes visual artifacts.

ComplementaryReimagined_r5.2.2:
cr-create
cr-vanilla

Shrimple_v0.11:
sh-create
sh-vanilla

Disabling shaders/removing flywheel compat/disabling flywheel instancing removes these artifacts.

commented

@pamparamm Does this issue still exist when using other shaders? Could you tell me your GPU model?

commented

Could you tell me your GPU model?

It occurs on completely different platforms on NVIDIA 40xx GPUs (4090, 4080 Super, 4070 Laptop).

Does this issue still exist when using other shaders?

Aside from ComplementaryReimagined and Shrimple, it also occurs on MakeUp Ultra Fast v.9.0a and ComplementaryUnbound.

It doesn't occur on default shaders and on Potato Shaders.

commented

I also have this issue with ComplementaryReimagined_r5.2.2 (haven't tried any other shaders) but i and friends have tested it on Nvidia 10 series aswell as 30 series.

commented

Issue occurs for me as well on ComplementaryReimagined_r5.2.2 on a Radeon 7900 GRE (MC 1.20.1 with newest iris, sodium, and compat version)

commented

image
My ponder screen also looks like this 😨

commented

The Ponder issue only occurs on the newest beta version, using version 1.1.2 doesn't have that issue, but it does have the artifacts when breaking block entities