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] Shadows  (Read 2303 times)

Corvus

  • Registred Member
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
[Solved] Shadows
« on: June 10, 2013, 08:42:36 am »
Hi everyone!

I m actually editing a blizzard ADT. The problem is that the shadows of deleted objetcs (m2 or wmo) are still on the ground. I would like to remove them. I learnt that Noggit doesnt handle shadows and that they have to be removed manually. So i tried different things :
- Tallis (Open ADT > Edit > Remove All Shadows), but it doesnt work at all. I cant even save the modified ADT... I finally learnt that Taliis is outdated.
- The Raise/Flatten Brush, it should delete those shadows when i use it on them (with hardness at 0), but it didnt work again.

I dont know what to do. Btw, Im using Noggit SDL 1.2.
But, someone, who 's using Noggit 1.2 too, told me that he dont have this problem and that shadows are changing automatically in his case. That's very strange...

Someone can help me?   :(
« Last Edit: June 10, 2013, 06:16:28 pm by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Shadows
« Reply #1 on: June 10, 2013, 09:10:21 am »
Quote
- The Raise/Flatten Brush, it should delete those shadows when i use it on them (with hardness at 0), but it didnt work again.
Quote
and that shadows are changing automatically in his case.
That's about other shadows: The problem there was bad terrain normals, which resulted in hills having shadow on the sunny side etc. Your shadows are not fixable by noggit.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Corvus

  • Registred Member
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
Re: Shadows
« Reply #2 on: June 10, 2013, 11:16:45 am »
Thanks for the quick answer Schlumpf.
Okay, that's sad, but i wont touch blizzard ADT anymore :D. But i already tried to do my own maps, and there again, i got a problem with shadows.
When i spawn a m2 or a wmo on my map, his shadow is not generated. I dont think this is normal, because when i look to others creations, there is always shadows associated to their stuff (m2 and wmo). By exemple, on my map, i spawed a tree, but he has no shadows. And therefore, my character only have a tiny shadow (little circle) under his feet, it seems that the sun is always on top of the sky, like at 12:00 (difficult to explain, but im not allowed to post screens already). His shadow doesnt change when the position of the sun is different.

Any idea? I m probably doing something wrong...

EDIT : Here's the screenshot
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

fearless_wind

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 349
    • View Profile
    • http://modcraft-rus.ucoz.ru
Re: Shadows
« Reply #3 on: June 10, 2013, 12:01:09 pm »
When you add an entry to light.dbc with your map, shadows will appear.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Shadows
« Reply #4 on: June 10, 2013, 12:53:19 pm »
Shadows only appear if you set a heighet shadow value under rendering settings. Becaus lower use the shadow map that dont exist in custom ADTs. Heigher settings render shadows in realtime.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Shadows
« Reply #5 on: June 10, 2013, 02:06:36 pm »
I guess the reason for missing shadows is pretty easy to grasp: Noggit did not fix / remove existing shadows, just because it does not touch shadows at all, thus is also unable to add new shadows for new objects.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Corvus

  • Registred Member
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
Re: Shadows
« Reply #6 on: June 10, 2013, 03:20:41 pm »
Thank you.
I understand what you guys mean, but i m quite new and i dont find how i can change those settings. Are they related with Noggit.conf, or not at all?
I m actually trying to add an entry for Light.dbc. Can i copy another entry and just change the actual "irefID_Map" (Column 2) with my custom map ID? Would that work?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Shadows
« Reply #7 on: June 10, 2013, 05:56:50 pm »
Adding an entry in light.dbc will not change anything.
You need to turn up shadow rendering settings in the wow client itself. 3.* added dynamic shadows at highest level. All other levels depend on the shadows given from Noggit, which are not there.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Corvus

  • Registred Member
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
Re: Shadows
« Reply #8 on: June 10, 2013, 06:15:57 pm »
Thank you! Problem fixed! Even on blizzard ADTs! :D
« Last Edit: January 01, 1970, 01:00:00 am by Admin »