Opened 6 years ago
Closed 6 years ago
#1098 closed enhancement (fixed)
sInfo darkens the build pic too much
Reported by: | beherith | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | BAR Beta release |
Component: | BAR | Version: | |
Keywords: | Cc: |
Description
It makes some units hard to see, especially when it only shows image for a single unit.
Change History (8)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
I think a more important issue here is making the core buildpics as good as the arm ones.
comment:4 by , 6 years ago
I dont think blending teamcolor onto the unitPicture is a good idea, especially since I feel it fucks with the diffuse color of the unit. So I propose just blending straight up {0.5,0.5,0.5,1.0} on the unitpicture, and correspondingly blending teamColor * {0.5,0.5,0.5,1.0} onto the overlay. See [5416]
Also, multi-unit selections didnt receive teamcolor, fixed in [5416].
comment:5 by , 6 years ago
Looks good to me - you could remove the comment on line 142 which no longer applies and the commented out code.
There is the question of how to handle a spectator selecting multiple team(colour)s.
comment:7 by , 6 years ago
Looks good.
The reason is was originally so desaturated was because at that point I hadn't worked out how to shadow/outline well enough to make the unit properties visible.
comment:8 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Here's the function http://imolarpg.dyndns.org/trac/balatest/browser/branches/BAR/luaui/widgets/bgu_sInfo.lua#L278
I suggest you modify it - note that it only affects the colour of the dds overlay (the image underneath is the engines buildpic texture, rather than a direct load of the buildpic dds, because its much faster to access).