This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [SOLVED] [BUG] Textures of a custom map are rendered black i  (Read 3647 times)

Roarl

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 46
    • View Profile
Hi Modcraft,

I followed the Worldbuilding Basics tutorial of Eluo (awesome tut' by the way! ) til the end and got my custom map working on a local TrinityCore (0ebc15e6f48b, doubt my trinity rev matters though  :D ) and using the last rev of Noggit of course (Noggit SDL 1.4 (beta)).

The only problem is that every single texture I used on the map renders reallly dark in-game, almost completely black. I can still distinguish sand from grass or dirt, but the colors are all dark.



Anyway I saw that sometimes textures rendered darker in-game... but THAT dark? :D

I tried using the flatten/blur tool with a large brush radius and tiny speed, because I read somewhere it could fix it in previous versions of Noggit.
I also tried reloading/resaving the map several times.
Eventually I tried resetting the texture on every adt and repainting them again...

As expected, these first attempts did not yield any result and the problem remains.

Would someone know how to fix this?


Thanks for your patience and consideration!! :)

Oh... dunno if it matters here but :
 log.txt :[Pastie]10089556
noggit.conf : [Pastie]10089558
(Sorry guys, can't insert links yet :/ )
« Last Edit: April 19, 2015, 09:59:26 pm by Admin »

Elinora

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 187
    • View Profile
Re: [BUG] Textures of a custom map are rendered black in-gam
« Reply #1 on: April 13, 2015, 01:52:15 pm »
Textures are never rendered dark unless there's a shadow over them, or if you put a black vertex shader on them. to remove shadows you simply just raise/lower the terrain (but seeing that you already did that in the cpiture, this is probably not the case) - It looks like vertex shading, I guess you've been fooling around with noggit? :P


Although this has never happened to me, so i'm just giving you my assumpsions
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Currently studying Game Design at Copenhagen University. I also have a big project going on, sadly I have no portfolio of it (yet).

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: [BUG] Textures of a custom map are rendered black in-gam
« Reply #2 on: April 13, 2015, 01:57:56 pm »
Assist - clear vertex shader.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Roarl

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 46
    • View Profile
Re: [BUG] Textures of a custom map are rendered black in-gam
« Reply #3 on: April 13, 2015, 02:57:57 pm »
Thanks for the swift replies both of you. :)

@Elinora :
Quote
I guess you've been fooling around with noggit
Haha I most certainly did else I would not be asking this. :D I have no damn luck, each time I try something new it fails. x)
Even if I do not recall touching anything else than the three first tools (raise, flatten and texture) and WMOs.

@Skarn :
Quote
Assist - clear vertex shader.
Well, that sucks I have no "clear vertex shader" function in the "Assist" tab... :O
"noggit_3.0.15.exe" is the one, right?
I do have a "clear standard shader" though. I did try the "clear standard shader" just now but it didn't change anything.



Oh, and I just noticed... All the maptiles are black on the Noggit maptile selection screen. If that means anything. ^^
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [BUG] Textures of a custom map are rendered black in-gam
« Reply #4 on: April 13, 2015, 03:12:13 pm »
You have pretty outdated release of noggit. Use this one:
https://drive.google.com/folderview?id= ... aring#list
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Roarl

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 46
    • View Profile
Re: [BUG] Textures of a custom map are rendered black in-gam
« Reply #5 on: April 13, 2015, 03:36:35 pm »
Oh, I see thank you! :)

Opened my map with the exe you gave me then used the raise/lower tool with max brush & no speed and saved it.

However the problem survived and I still don't have the  "clear vertex shader" function in the Assist tab. :(
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: [BUG] Textures of a custom map are rendered black in-gam
« Reply #6 on: April 14, 2015, 08:15:14 am »
The problem is that you used a very outdated tutorial with very outdated and buggy software. Use Steff's tutorials instead.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Alastor

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1105
    • View Profile
Re: [BUG] Textures of a custom map are rendered black in-gam
« Reply #7 on: April 14, 2015, 09:07:31 am »
may reconvert texture png<>blp ? check if you have specular texture in patch
« Last Edit: April 15, 2015, 01:19:11 am by Admin »
No matter how fast light travels it finds the darkness has always got there first and is waiting for it
Star Citizen Referral Code : STAR-XNFS-HVL9

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: [BUG] Textures of a custom map are rendered black in-gam
« Reply #8 on: April 14, 2015, 10:14:09 am »
That's most likely adt related, I remember this black bug with taliis made adts.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Roarl

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 46
    • View Profile
Re: [BUG] Textures of a custom map are rendered black in-gam
« Reply #9 on: April 14, 2015, 10:03:20 pm »
Hell yeah! FIXED!
I just stopped generating the adt files with Taliis as you mentioned and rather used the template adt contained in the mod pack of Steff's tut. :3

Thank you very much for your support, all of you!!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [SOLVED] [BUG] Textures of a custom map are rendered bla
« Reply #10 on: April 14, 2015, 11:06:55 pm »
I actually never used ADTs made by Taliis, I always make copies of blizzard-made functional ADTs, to be more accrate, I always copy ADT from original QA_DVD map. Someone might say, that it is not good idea because _reason_, but I have been using this method for 2 and a half of year and I never had any problems. These ADTs have no textures, they are completely flat and without any models. I am not sure how such things like some flags look like there, but once again, I am not aware of any "bug" I had caused by this. Well, schlumpf or someone like him might disagree, I just wanted to share my experience.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: [SOLVED] [BUG] Textures of a custom map are rendered bla
« Reply #11 on: April 15, 2015, 07:03:01 am »
It is no problem to use qa_dvd map adts but it is better if you fill all the chunks with 4 textures. That is how noggit works.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [SOLVED] [BUG] Textures of a custom map are rendered bla
« Reply #12 on: April 15, 2015, 11:21:07 am »
Thats what I always do before (or immediately after) applying ground effects.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Roarl

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 46
    • View Profile
Re: [SOLVED] [BUG] Textures of a custom map are rendered bla
« Reply #13 on: April 15, 2015, 12:42:19 pm »
Yeah it's so annoying when you get twin textures on a chunk... --'

Oh and by the way...
Taliis seems to suck, am I right? (said SEEM because I don't know much about it yet but I encountered a lot of errors while using it). Well 'suck', it has a high level of functionality and I could not possibly have written such a tool (and so am grateful for it) but it's still very buggy. Then why is it that everyone keeps using it?
Or maybe it is the only piece of software able to do that?
I mean, is there no risk it could once create a buggy .wdt file like it does for .adt's?
And if so... is there no other way to generate .wdt files?

(Haha sorry that's a lot of questions at the same time)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: [SOLVED] [BUG] Textures of a custom map are rendered bla
« Reply #14 on: April 15, 2015, 12:57:12 pm »
All the functions Taliis has are now replicated in various applications. For creating .wdt there are tools GruulMe, WDT editor, Rius Zone Masher. I use zone masher for managing files as it allows you to move the map visually and WDT editor for changing flags and other crap. For .adt you can use a template + adt adder. And also not everyone is using Taliis. I don't even have that tool on my PC anymore.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »