Opened 8 years ago
Closed 8 years ago
#859 closed defect (fixed)
healthbars shader interferes with lups
Reported by: | Bluestone | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | BAR Beta release |
Component: | BAR | Version: | |
Keywords: | Cc: |
Description
+ text is drawn slightly off center for some bars
Change History (7)
comment:1 by , 8 years ago
Summary: | healthbars shader inferferes with lups → healthbars shader interferes with lups |
---|
comment:2 by , 8 years ago
comment:3 by , 8 years ago
addglow is default off, because when turned on there was some overlap interference indeed.
didnt want to strip it out yet, but hope its fixable. I wasn't sure what causes this behavior or that its only because of glow.
comment:4 by , 8 years ago
Solution: in drawworld: glDepthTest(true) must be removed
-- enabling this will make healthbars opague to other healthbars or mapmarks and lups?, will remain transparant to world. will be serious issue if glow is enabled
comment:5 by , 8 years ago
... but if glDepthTest(true) is removed, as a consequence the healthbars behind a hill will still be drawn.
also i noticed (before removal) that not all healthbars would obstruct eachother from rendering... some depth/draworder issue at play.. but i dont exactly know whats going on.
this could be a compromised solution:
if not addGlow then
glDepthTest(true) -- enabling this will make healthbars opague to other healthbars or mapmarks and lups?, will remain transparant to world. will be serious issue if glow is enabled
end
comment:7 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
AddGlow is responsible