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 Bluestone, 6 years ago

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).

comment:2 by Bluestone, 6 years ago

I think a more important issue here is making the core buildpics as good as the arm ones.

comment:3 by Bluestone, 6 years ago

[5415], hows that?

comment:4 by beherith, 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 Bluestone, 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:6 by beherith, 6 years ago

like [5418] ?

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

Last edited 6 years ago by Bluestone (previous) (diff)

comment:8 by beherith, 6 years ago

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