problem with video render config

Discussions about UT99
User avatar
UTPe
Masterful
Posts: 529
Joined: Sun Jul 12, 2009 7:10 pm
Personal rank: Dude
Location: Trieste, Italy

problem with video render config

Post by UTPe » Thu Oct 13, 2022 8:55 pm

Hello,
recently I've noticed a rendering problem with some maps containing trees (see image attached, taken from DM-Manorfarm). You can see well that tree texture backgrounds are not transparent.
In the past, I edited the D3D v9 render config to obtain a smoother gameplay on very large and complex maps (I played mostly sniper camping and I have an old video card) but now, after years, I really don't remember which render param controls this effect.
Have you any ideas ? thanks in advance...
You do not have the required permissions to view the files attached to this post.
Personal map database: http://www.ut99maps.net

"These are the days that we will return to one day in the future only in memories." (The Midnight)

User avatar
OjitroC
Godlike
Posts: 3086
Joined: Sat Sep 12, 2015 8:46 pm

Re: problem with video render config

Post by OjitroC » Thu Oct 13, 2022 10:45 pm

I use D3D9 in 469c RC-4 and I've just played ManorFarm - the trees render correctly for me.

Here are the settings I use - which work OK for me (they may not suit everyone). Possibly you should check your settings related to MaskedTextures?
Spoiler
Show
[D3D9Drv.D3D9RenderDevice]
ZRangeHack=True
NoAATiles=True
NumAASamples=4
UseAA=False
UseSoftwareVertexProcessing=False
UsePureDevice=True
UseTripleBuffering=False
MaskedTextureHack=True
SmoothMaskedTextures=False
SceneNodeHack=True
FrameRateLimit=0
SwapInterval=-1
UseFragmentProgram=False
TexDXT1ToDXT3=False
DynamicTexIdRecycleLevel=100
CacheStaticMaps=False
UseTexPool=True
UseTexIdPool=True
UseSSE2=True
UseSSE=True
SinglePassDetail=False
SinglePassFog=True
ColorizeDetailTextures=False
DetailClipping=False
DetailMax=0
RefreshRate=0
MaxTMUnits=0
NoFiltering=False
MaxAnisotropy=0
Use565Textures=False
Use16BitTextures=False
UseS3TC=True
UseTrilinear=False
UsePrecache=False
UseMultiTexture=True
MaxLogTextureSize=8
MinLogTextureSize=0
OneXBlending=True
GammaCorrectScreenshots=False
GammaOffsetBlue=0.000000
GammaOffsetGreen=0.000000
GammaOffsetRed=0.000000
GammaOffset=0.000000
LODBias=0.000000
DetailTextures=True
DescFlags=0
Description=
HighDetailActors=False
Coronas=False
ShinySurfaces=False
VolumetricLighting=True

User avatar
UTPe
Masterful
Posts: 529
Joined: Sun Jul 12, 2009 7:10 pm
Personal rank: Dude
Location: Trieste, Italy

Re: problem with video render config

Post by UTPe » Sat Oct 15, 2022 3:47 pm

thanks for the infos mate, we have similar D3D v9 configurations.
I tried to edit many params but nothing changed. Then I took a look elsewhere in UT.ini and I found the problem :facepalm:
The tree rendering problem is not related to the config of the D3D v9 video render, it's related to the value of the param TextureDetail in [WinDrv.WindowsClient]: the param was set to "Low", it should be set to "High" to avoid that annoying black blackground.

[WinDrv.WindowsClient]
...
TextureDetail=High
...

I don't remember when I changed it in the past (maybe for NBK Cup 2011) but the scope, I think, was pretty obvious: rendering pawns better over background (war config) :mrgreen:

cheers,
Pietro
Personal map database: http://www.ut99maps.net

"These are the days that we will return to one day in the future only in memories." (The Midnight)