Opened 8 years ago

Closed 8 years ago

#722 closed defect (fixed)

Deferred rendering interferes with lups (-> update lups)

Reported by: Floris Owned by: beherith
Priority: minor Milestone:
Component: BAR Version:
Keywords: Cc:


Fire Dgun -> com-nametag renders black + healthbars too, and much other things.

Attachments (1)

screen00007.jpg (205.2 KB ) - added by Floris 8 years ago.

Download all attachments as: .zip

Change History (11)

by Floris, 8 years ago

Attachment: screen00007.jpg added

comment:1 by Bluestone, 8 years ago

cant reproduce, attach infolog & test with luarules/luaui/various widgets disabled (using latest engine)

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

comment:2 by Bluestone, 8 years ago

is this a duplicate of #633

-> explain why you think deferred rendering is now involved

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

comment:3 by Bluestone, 8 years ago

also, "much other things" refers to what?

comment:4 by Floris, 8 years ago

some other widgets that draw icons.

Only thing I have to do to prevent it from happening is setting the 2 deferred cfg settings to 0.

Maybe it only happens in combination with other settings, and thats why it wont happen at your setup.

I also have these cfg settings:

AdvSky = 1 CrossSize = 0 DepthBufferBits = 24 FPSScrollSpeed = 12 FSAA = 1 FSAALevel = 16 Fullscreen = 0 GrassDetail = 0 GroundDecals = 0 GroundDetail = 126 HardwareCursor = 1 InputTextGeo = 0.26 0.73 0.02 0.028 LastSelectedMap = DeltaSiegeDry LastSelectedMod = Balanced Annihilation V8.00 LastSelectedScript = Player vs. AI: NullAI 0.1 MaxNanoParticles = 20000 MaxParticles = 20000 MinimapOnLeft = 0 OverheadScrollSpeed = 12 RotOverheadScrollSpeed = 12 SM3ForceFallbackTex = 0 ScreenshotCounter = 4 ShadowMapSize = 8192 Shadows = 1 ShowFPS = 1 ShowPlayerInfo = 0 SmoothLines = 1 SmoothPoints = 1 TWScrollSpeed = 12 TreeRadius = 3000 UnitIconDist = 10000 VerboseLevel = 0 WindowState = 1 WindowedEdgeMove = 0 snd_general = 0 snd_volmaster = 0

Version 0, edited 8 years ago by Floris (next)

comment:5 by beherith, 8 years ago

Owner: set to beherith

Happens to me too, ill get around to fixing it

comment:6 by Bluestone, 8 years ago

I reproduced this & here's the results:

Key to reproducing it was
(1) AllowDeferredMapRendering on (AllowDeferredModelRendering was not involved)
(2) Lups enabled and a unit that that uses distortion drawn onscreen
I think that no other part of luaui/luarules is involved. BA/BAR lups are identical except for their configs.

It can be fixed by taking away either of the above - I bisected within lups and discovered that line 164 of distortionfbo.lua is responsible. It reads


I expected that this line was drawing the map part of the lups distortion effect, but am slightly unsure because as far as I can tell commenting it out has no effect at all (except fixing the bug) on what distortion gets drawn (Maybe we are not using the map part of lups distortion at all?).

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

comment:7 by Bluestone, 8 years ago

This is almost certainly caused by our Lups being out of date - see

comment:8 by Bluestone, 8 years ago

[3013] is the appropriate workaround, proper fix i guess is updating lups but didn't want to do that without finding out how much custom stuff we have inside lups (beyond config files).

comment:9 by Bluestone, 8 years ago

Priority: majorminor
Summary: Deferred rendering interferes with lupsDeferred rendering interferes with lups (-> update lups)

comment:10 by Bluestone, 8 years ago

Resolution: fixed
Status: newclosed

fixed by [3256]

Note: See TracTickets for help on using tickets.