leo60228 / VanillAA-Shaders

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

loses text color in 1.8.9 / 1.12.2 mc #3

Closed Michael1297 closed 1 year ago

Michael1297 commented 1 year ago

2023-01-02_21 08 19

I am new to glsl programming. I think the problem is in this formula: https://github.com/leo60228/VanillAA-Shaders/blob/541845be6d5dc5051d9480c4f67d6d714e9da71a/shaders/gbuffers_textured.vsh#L38

my fix: vec3 normal = normalize(gl_NormalMatrix * gl_Normal);

leo60228 commented 1 year ago

(Sorry for taking so long to get to this issue! I saw it a while ago, but I thought I'd already responded...) This shaderpack primarily targets modern Iris, but that fix looks reasonable. I'll include it in the next update assuming it doesn't cause issues on modern versions.

leo60228 commented 1 year ago

Will be fixed in 1.3.