LUX-Shaders-Team / LUX-Shaders-Issues

public repo for issues with lux shaders
0 stars 0 forks source link

$SelfIllum has Stock Materials glowing too bright #7

Open WhiteRedDragons opened 1 month ago

WhiteRedDragons commented 1 month ago

Some affected Materials :

  1. Grenade Sheet
  2. HEV Suit
  3. AR2 ( Irifle ) Core Materials

The reason this happens is currently unknown. There is some Code on the Stock Shaders ( Also on LUX ), that disables SelfIllum when the Textures have no Alpha. However the issue here is.. apparently not the code! All of the affected Materials share one thing in common, they only have a $BaseTexture and $SelfIllum. Their $BaseTextures DO have an Alpha Channel. The only scenario I see where SelfIllum would be disabled is if they didn't. Either Valves Code magically doesn't work, or there is some unexpected hidden behaviour somewhere.

How its supposed to look like How it currently looks like

WhiteRedDragons commented 4 days ago

Update on this one.. Turns out, they are actually supposed to Glow.. I attempted a fix, but it caused all of the viewmodels (that glow) not to glow So checking back and forth it turns out these materials do are supposed to glow, but are glowing too brightly I renamed the issue due reflect this