I will explain my setup then the issue.
I have a normal basic hud setup in my hud wrapper
and also in the hud wrapper during the event PostRender()
i call the hudtick
now generally what im doing in tickhud works great.
One of my functions called every time the tickhud is called is this
and it simply sets the text to some labels on the hud.
What i'm finding is this. when i idle for about 5 minutes, i start to see lines on my hud.
before
after
I havn't moved or anything and theirs nothing special about my code here, its just constantly calling SetText.
Originally I did a check before i set the text to make sure the value had actually changed, but i found that only slowed the problem, and if i had a fast firing weapon i would get this banding issue still.
Its happening on all text based flash elements we use and i wondered if anyone else was experiencing this or had resolved these issues. is my tickhud ticking too quickly or something???
Anyway really hope you can help me on this issue guys.
I have a normal basic hud setup in my hud wrapper
Code:
/** * Create and initialize the HUDMovie. */ function CreateHUDMovie() { if( HUDClass != none) { HudMovie=new HUDClass; HudMovie.SetTimingMode(TM_Real); HudMovie.Init(class'Engine'.static.GetEngine().GamePlayers[HudMovie.LocalPlayerOwnerIndex]); } }
i call the hudtick
Code:
if (HudMovie!=none) HudMovie.TickHud(0);
One of my functions called every time the tickhud is called is this
Code:
function GetClipAndAmmoValues(CPWeapon CPWeap) { if(CPWeap == none) return; if(ammoAmount != none) ammoAmount.SetText(CPWeap.GetAmmoCount()); if(clipAmount != none) clipAmount.SetText(CPWeap.GetClipCount()); }
What i'm finding is this. when i idle for about 5 minutes, i start to see lines on my hud.
before
after
I havn't moved or anything and theirs nothing special about my code here, its just constantly calling SetText.
Originally I did a check before i set the text to make sure the value had actually changed, but i found that only slowed the problem, and if i had a fast firing weapon i would get this banding issue still.
Its happening on all text based flash elements we use and i wondered if anyone else was experiencing this or had resolved these issues. is my tickhud ticking too quickly or something???
Anyway really hope you can help me on this issue guys.
Comment