sp614x / optifine

1.81k stars 418 forks source link

[Shaders] different behaviour of glowing entities in 1.14.4 and 1.16.4 #5164

Open fayer3 opened 3 years ago

fayer3 commented 3 years ago

Description of Issue

in 1.14.4 glowing entities are rendered with gbuffers_entities and gbuffers_entities_glowing. in 1.16.4 glowing entities are only rendered with gbuffers_entities_glowing.

in 1.14.4 gbuffers_entities_glowing writes on top of everything, does no depth testing. in 1.16.4 gbuffers_entities_glowing is rendered like normal entities with depth testing.

Steps to Reproduce

  1. use attached shader
  2. shoot a cow with a spectral error
  3. in 1.14.4 the feet of the cow will have white outlines, which show through blocks, and the cow is visible
  4. in 1.16.4 only the outlines are visible and they are not rendered through blocks

OptiFine Version

1.16.4 G6 pre5 1.14.4 G5 pre1

Installation Method

standalone installer

F3 Debug Screenshot

1.14.4 screenshot: 2020-12-31_02 44 20

1.16.4 screenshot: 2020-12-31_02 22 46

Additional Information

shader pack used for screenshot: test glowing.zip

fayer3 commented 3 years ago

probably connected to #4315 and #3662