leo60228 / VanillAA-Shaders

Vanilla, but with TAA
Mozilla Public License 2.0
28 stars 7 forks source link

Blindness fog doesn't work #2

Closed leo60228 closed 1 year ago

leo60228 commented 1 year ago

I'm not sure how to implement this, might investigate more later.

Michael1297 commented 1 year ago

I think the problem is in this formula: https://github.com/leo60228/VanillAA-Shaders/blob/541845be6d5dc5051d9480c4f67d6d714e9da71a/shaders/gbuffers_textured.fsh#L26

my fix: vec3 light = texture2D(lightmap,coord1).rgb;

leo60228 commented 1 year ago

I'm not at my computer, does that still render the fog like vanilla does or does it just disable blindness entirely? If it still has the fog then that's definitely the right fix.

On Mon, Jan 2, 2023, 12:34 PM Michael1297 @.***> wrote:

I think the problem is in this formula: https://github.com/leo60228/VanillAA-Shaders/blob/541845be6d5dc5051d9480c4f67d6d714e9da71a/shaders/gbuffers_textured.fsh#L26

my fix: vec3 light = texture2D(lightmap,coord1).rgb;

— Reply to this email directly, view it on GitHub https://github.com/leo60228/VanillAA-Shaders/issues/2#issuecomment-1369112067, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7X32PG74V426RSU3FFZZDWQMGTHANCNFSM6AAAAAATO7CKEU . You are receiving this because you authored the thread.Message ID: @.***>

leo60228 commented 1 year ago

Fixed in 1.2.