Opened 7 years ago

Closed 7 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:


+ text is drawn slightly off center for some bars

Change History (7)

comment:1 by Bluestone, 7 years ago

Summary: healthbars shader inferferes with lupshealthbars shader interferes with lups

comment:2 by Bluestone, 7 years ago

AddGlow is responsible

comment:3 by Floris, 7 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.

Last edited 7 years ago by Floris (previous) (diff)

comment:4 by anonymous, 7 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 Floris, 7 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.

Version 1, edited 7 years ago by Floris (previous) (next) (diff)

comment:6 by Bluestone, 7 years ago

Milestone: BAR Beta release

n2s, addGlow is default on.

comment:7 by Bluestone, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.