Modcraft - The community dedicated to quality WoW modding!

Content creation => Level Design => Topic started by: Harky on December 20, 2016, 10:23:03 pm

Title: [QUESTION] Texture bug.
Post by: Harky on December 20, 2016, 10:23:03 pm
Hi
We're trying to make our custom village "darker" (photo included). LightIntBand.dbc seems to be working fine but light is refracting on the edges of ADT. Other words - it's just "cut" in sharp ends. Is it possible to fix it?

[attachment=0:20ckjxyc]WoWScrnShot_122016_214030.jpg[/attachment:20ckjxyc]

Thank you in advance!
Title: Re: [QUESTION] Texture bug.
Post by: Makpptfox on December 21, 2016, 11:03:13 am
I have the same issue and tried several times to understand why and how this bug was occuring, but I found nothing really useful.

Everything I know so far is that this "cut" of the light seem to be occuring way more frequently on custom ADT than Blizzard's ones and if you increase the Z axis of the light, the cut seem to - more on Blizzard ADT than custom one - be occuring only on the edge of your line of sight.

Still don't know why and how, I bet it's something related in the shaders, You could take a look at the flare (the hunter's spell) and look how it react, I never tried this guy on dark nights.


btw : you added light on your lampost m2 right ?

Hope it helps.
Title: Re: [QUESTION] Texture bug.
Post by: Harky on December 22, 2016, 05:56:13 pm
Thanks,
Yes, we added some lights to lamposts, cause lampost have no default light.
Title: Re: [QUESTION] Texture bug.
Post by: Amaroth on December 22, 2016, 07:52:38 pm
1. sadly, not just around ADT borders, it happens around chunk borders.
2. there is no solution for this, at least no I am aware of.
3. this is one of the main reasons why those oh-so-awesome "realistic" night patches were actually never implemented on most of projects before.