Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Bryan See on June 27, 2016, 11:53:43 am
-
Despite the introduction of the HUD gauges and Yarn's HUD scaling and resolution fix, there are shortcomings - one that prevents us from changing the HUD visuals to be completely different from FreeSpace, and what modern computer and video games (this year) did.
What is needed is several additions and fixes, and that means opening up new possibilities for HUD designers, while getting rid of the hard-coded limitations that hobbed modders for years.
The answer is pretty obvious: the HUD targeting brackets. Corners of the targeting brackets have been unchanged since 1998. Under my suggestion, targeting bracket corners can be changed and/or have vertex/geometry/fragment shaders applied to not only them, but also other HUD gauges as well. The numbers of the targeting bracket corners can be changed arbitrarily, for example, 5 to 8, or 2 to 3, instead of only 4.
-
You can do it already.
-
Can you do an overwatch style red outline? http://eriktwicereviews.com/wp-content/uploads/2016/05/Overwatch.4.GraphicalEffects.jpg
-
Can you do an overwatch style red outline? http://eriktwicereviews.com/wp-content/uploads/2016/05/Overwatch.4.GraphicalEffects.jpg
I'm afraid not. :( Outlines aren't really something you could script.
-
That seems like exactly the sort of thing you'd do with shaders
-
I'm pretty sure you generally can't do outlines in shaders only. It more or less needs the engine to do most of the work.
-
I recall there was a CEL shader (http://www.hard-light.net/forums/index.php?topic=85390.0) that did outlines. I think that was pre-deferred rendering though so the shaders probably won't work with the current version of FSO.
-
That's good.
However, the description (http://www.hard-light.net/wiki/index.php/Hud_gauges.tbl#.2BTarget_Brackets:) on target brackets shows only two valid sub-entries: Font and Dot Filename. There's no Filename nor Shader sub-entries.