NeotokyoRebuild / neo

NEOTOKYO Rebuild - Source SDK 2013 mod of NEOTOKYO
Other
11 stars 9 forks source link

Round-end graphics have a drop shadow #472

Closed blaberry closed 1 day ago

blaberry commented 1 week ago

This would make then universally legible against brighter areas that occur on some maps.

Round end graphics being the "JINRAI WINS" text and "X captured the ghost" text for example.

AdamTadeusz commented 1 week ago

Might be impossible ngl

nullsystem commented 5 days ago

I think it just render it twice, one black slight offset then one white

AdamTadeusz commented 4 days ago

I think it just render it twice, one black slight offset then one white

The ISurface functions DrawPrintText and DrawTexturedRect add the rgb values of whatever is being drawn to the screen, so an rgb value of 0, 0, 0 has no effect.

nullsystem commented 4 days ago

The ISurface functions DrawPrintText and DrawTexturedRect add the rgb values of whatever is being drawn to the screen, so an rgb value of 0, 0, 0 has no effect.

@AdamTadeusz

backdropfonthting

EDIT: I'll explain, it's because they're marked as "additive" then 0,0,0 end up being invisible. Remove that additive flags from both the font and texture, then the color worked as normal and 0,0,0 is black on screen as expected.

AdamTadeusz commented 3 days ago

The ISurface functions DrawPrintText and DrawTexturedRect add the rgb values of whatever is being drawn to the screen, so an rgb value of 0, 0, 0 has no effect.

@AdamTadeusz

backdropfonthting

EDIT: I'll explain, it's because they're marked as "additive" then 0,0,0 end up being invisible. Remove that additive flags from both the font and texture, then the color worked as normal and 0,0,0 is black on screen as expected.

Kneelgeta