Possibly a land texture bug

Post here if you need help getting started with Daggerfall Unity or just want to clarify a potential bug. Questions about playing or modding classic Daggerfall should be posted to Community.
Post Reply
yabay
Posts: 7
Joined: Wed Aug 14, 2019 11:32 am

Possibly a land texture bug

Post by yabay » Wed Aug 14, 2019 3:36 pm

Hello!
Maybe this is a soil texture bug? Blue areas among the main white texture.
Daggerfall Unity Version 0.10.4
No extra mods
Intel Core i5-3317U processor
Integrated Intel HD 4000 Graphics
Screenshot and log attached
Sorry I'm not a native English.
Thanks!
Attachments
Saves.zip
(226.58 KiB) Downloaded 16 times
01.jpg
01.jpg (220.84 KiB) Viewed 682 times

User avatar
Jay_H
Posts: 2954
Joined: Tue Aug 25, 2015 1:54 am

Re: Possibly a land texture bug

Post by Jay_H » Wed Aug 14, 2019 3:39 pm

Welcome to the forums :) This is a problem we typically see when video hardware doesn't meet the game's requirements. Here are benchmarks for your GPU.

User avatar
King of Worms
Posts: 2537
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Possibly a land texture bug

Post by King of Worms » Wed Aug 14, 2019 3:48 pm

Jay_H wrote:
Wed Aug 14, 2019 3:39 pm
Welcome to the forums :) This is a problem we typically see when video hardware doesn't meet the game's requirements. Here are benchmarks for your GPU.
Its just 20x slower than gtx970 :D

User avatar
mikeprichard
Posts: 757
Joined: Sun Feb 19, 2017 6:49 pm

Re: Possibly a land texture bug

Post by mikeprichard » Wed Aug 14, 2019 4:13 pm

I see these questions come up quite a bit across the forums - would it be possible for extra visibility to post the recommended minimum specs (and briefly note the problems if those specs aren't met) prominently on the DFU download page here: https://www.dfworkshop.net/projects/dag ... ve-builds/? I think that would really cut down significantly on the confusion/repeat posts (no offense meant to the OP here - right now this info isn't too convenient without a detailed search!).

yabay
Posts: 7
Joined: Wed Aug 14, 2019 11:32 am

Re: Possibly a land texture bug

Post by yabay » Wed Aug 14, 2019 11:18 pm

Thanks everyone! Excuse for troubling. I do not speak English well, so I did not think to search the forum for the keywords "water blue tiles." I’ll play with additional water pools inside the region, because there are so few of them in vanilla Daggerfall :)

User avatar
Jay_H
Posts: 2954
Joined: Tue Aug 25, 2015 1:54 am

Re: Possibly a land texture bug

Post by Jay_H » Wed Aug 14, 2019 11:22 pm

Don't worry about it :lol: We'll help where we can! Hope you enjoy DFU.

User avatar
pango
Posts: 1762
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Possibly a land texture bug

Post by pango » Sun Sep 01, 2019 5:25 pm

I tested some workaround, with the help of Siva Machina on Discord, who owns a HD-3000.

Replacing

Code: Select all

uint index = tex2D(_TilemapTex, IN.uv_MainTex).a * _MaxIndex;
with

Code: Select all

uint index = tex2D(_TilemapTex, IN.uv_MainTex).a * _MaxIndex + 0.5;
line 88 of Assets/Shaders/DaggerfallTilemapTextureArray.shader seems to fix that particular bug. Not shadows issues or anything else, but still that's a noticeable improvements for people that have to run DFU on that hardware.

That looks like a very inexpensive workaround (most likely lost in the noise), and it seems to work fine on my regular hardware, so maybe it can be added directly into the standard shader?
Otherwise, say if the risk of regression is deemed too high, it could be added to a variant of the shader, so it could be enabled at runtime; But I don't know how to do such things...

I submitted it as a PR
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

Siva_Machina
Posts: 7
Joined: Thu Aug 29, 2019 11:25 pm

Re: Possibly a land texture bug

Post by Siva_Machina » Sun Sep 01, 2019 7:39 pm

If more information of my laptop is a Dell Latitude E6420 with 8 GB ram running Kubuntu 18.04

https://www.cnet.com/products/dell-lati ... 247/specs/

GethN7
Posts: 15
Joined: Sun Sep 01, 2019 6:38 pm

Re: Possibly a land texture bug

Post by GethN7 » Sun Sep 01, 2019 9:50 pm

I have an Intel HD 4400 and I've been able to play with the DREAM mod with few issues and relatively good framerates most of the time, though I occasionally see a few squared off water textures too.

Siva_Machina
Posts: 7
Joined: Thu Aug 29, 2019 11:25 pm

Re: Possibly a land texture bug

Post by Siva_Machina » Sun Sep 01, 2019 10:04 pm

GethN7 wrote:
Sun Sep 01, 2019 9:50 pm
I have an Intel HD 4400 and I've been able to play with the DREAM mod with few issues and relatively good framerates most of the time, though I occasionally see a few squared off water textures too.
As posted above I have tested it. This patch defintly works with my hardware. I hope it gets merged.

Post Reply