VOGONS


First post, by Mplode

User metadata
Rank Newbie
Rank
Newbie

I posted about this issue a few years ago here: Re: Regressive bugs - report them here

Unfortunately it's still an issue with the latest version of the game, the latest version of dgVoodoo2, a new OS (Windows 11), and new hardware (GeForce RTX 4070). It seems to be a bug introduced with the "specialized FF vertex shaders" in dgVoodoo 2.76.

To confirm this, I used dgVoodoo 2.78.2 and set [DirectXExt] EnableSpecializedShaders to false and the game looks fine, and when set to true, the bug is visible.

I have identified the pixel shaders being used to render the terrain, but no amount of tinkering fixes it, even with AI helping. The best workaround I have found is tweaking the "num tiles" setting on the terrain textures being blended, which specifies how the textures are tiled/scaled. If all the tiled textures have a similar "num tiles" value, the bug is avoided, but if there is a large difference between any two textures, the latter can get rendered as a blurry/foggy mess.

For example, here's a snippet from one patch of a zone I have been testing:

base texture filename      num tiles,tileable

mud 256, 1
h_leafy_mixed 350, 1
browndirt2 256, 1

h_ground_scrub 456, 1
h_tinyPebbles 356, 1
EmainMacha_color 1, 0

h_cliff_rock2 100, 1
h_leafy_round_alt 256, 1
CamelotHills_forest_floor05 300, 1

So this patch has 9 textures, typically 512x512 or 1024x1024 dds files, and each set of 3 is combined with a 64x64 dds file (what AI calls a "splat map") where the RGB channels represent different textures.

With the default values shown above, the bug manifests and h_cliff_rock2 is rendered as a blur/fog. I don't know exactly what is happening, but I call it fog.

If I change h_ground_scrub and h_tinyPebbles to 256, the bug is avoided and everything looks good, although those two textures are scaled slightly wrong.

If I change everything to 500, the bug is avoided, but of course all the scaling looks wrong.

Sometimes CamelotHills_forest_floor05 will be the texture that gets rendered as fog.

Hope this is enough info to help you find and squash this bug, Dege. If not I can provide more info. dgVoodoo2 is absolutely magical in how it makes this old game feel more modern. Appreciate all your work.

Reply 1 of 4, by Dege

User metadata
Rank l33t
Rank
l33t

I remember I had a look at it back then. But I don't know what Atlantis terrain is. I looked at various places but the terrain looked just fine for me.

Here is what I get ingame:

Dark-Age-of-Camelot-2001-2024-Electronic-Arts-Inc-All-Rights-Reserved-2026-12-01-22-59-20.png

Reply 2 of 4, by Mplode

User metadata
Rank Newbie
Rank
Newbie

Hey Dege, thanks for taking the time to look. The terrain does indeed look fine in most places in the game, it is only in very specific places where it glitches. To ensure the terrain setting is correct, log your character out, and from the character selection screen, click Options, then there is a "Use Atlantis Terrain" check box. Make sure it is checked so the game uses its more advanced terrain rendering.

I ran around the starter/tutorial zone as shown in your screenshot and couldn't see the terrain bug anywhere, so you'll need to go to the frontier to observe it. To make this easier and safer, I would recommend making a character on the PvE server Gaheris. To do so: after running "camelot.exe" to run the patcher, log on to your account (without quickloading a character), then select "Alternate Rulesets" from the dropdown, then click on Gaheris (Co-op), then Play.

Select Hibernia as your realm, create a new character (doesn't matter what class/etc), then Play.
From the starter/tutorial zone...
Run SW/west to NPC Channeler Avalloc, right-click -> ready
then run south and step into the glowing green portal
then run to nearby NPC Surril, right-click -> Frontier Regions -> Emain Macha
then run north towards the bridge and look at the river banks (both sides) and you'll see the blurry terrain.

It may depend on time of day in game and lighting/etc how easily you can see what is happening with the rendering glitch. Let me know if you need any more details.

Reply 3 of 4, by Mplode

User metadata
Rank Newbie
Rank
Newbie

DX9 (correct)

The attachment terrain_dx9.jpg is no longer available

dgVoodoo2 (bug)

The attachment terrain_voodoo.jpg is no longer available

Reply 4 of 4, by Mplode

User metadata
Rank Newbie
Rank
Newbie

Options -> Graphics Options -> Use Atlantis Terrain

The attachment daoc_options.jpg is no longer available