Iris Shaders

Iris Shaders

36M Downloads

Missing Fog uniforms in Deferred/Composite

null511 opened this issue ยท 0 comments

commented

What happened?

I'm working on a deferred shader that calculates lighting and fog in the deferred pass; In Optifine this works fine, but Iris does not appear to bind the fog uniforms to the deferred/composite stages.

Screenshots

2022-06-22_15 06 02

Relevant log output

[14:55:41] [Render thread/WARN]: [deferred] Unsupported uniform: float fogEnd
[14:55:41] [Render thread/WARN]: [deferred] Unsupported uniform: float fogStart

Minecraft Version

1.16.5; 1.18.2

Iris Version

iris-mc1.18.2-1.2.5-pbr-beta.6.jar

Sodium Version

sodium-fabric-mc1.18.2-0.4.1+build.15.jar

Operating System

Windows 10

What is your GPU?

Nvidia RTX 3060

Java Version

Java 17.0.1

Additional context

Discord discussion: https://discord.com/channels/774352792659820594/867896166930841631/989240487095447652