Dark spots on terrain
by Hadoken · in Torque Game Engine · 11/16/2003 (2:41 pm) · 3 replies
I have some small dark spots on the terrain in my map. No matter what texture i draw there, or if i change terrain height, they are always much darker than other grid squares.
Is anybody else experiencing this problem or is it just me?
I believe this is a problem in how the lightmaps are calculated, and relighting the mission will only make things worse (for some reason those areas get even darker after relighting).
I would look into this, if only i could understand where the relighting is done. TerrainBlock::relight() is completely commented out, where should i start looking?
Is anybody else experiencing this problem or is it just me?
I believe this is a problem in how the lightmaps are calculated, and relighting the mission will only make things worse (for some reason those areas get even darker after relighting).
I would look into this, if only i could understand where the relighting is done. TerrainBlock::relight() is completely commented out, where should i start looking?
About the author
#2
11/17/2003 (3:04 pm)
Yes, i'm pretty sure, i tried the hard brush many times there, but nothing... And since my textures are all 256x256, i even tried switching back to the asm blender. No good results so far, but i'll keep trying
#3
From what I understand, the terrain is ONE block that repeats infinitely.
If you have buildings in your mission area, their shadows on the terrain will be generated when the mission is lit (i.e when the game starts, or when you relight).
Those buildings will not repeat with the terrain, but since their shadows are baked in(part of the terrain's rendering), these little dark spots will show over every repeating instance of that terrain block.
Does that make sense?
12/12/2003 (11:45 am)
Here's my theory. It might be completely wrong, so tell me if you think I missed something. We're all here to learn, right?From what I understand, the terrain is ONE block that repeats infinitely.
If you have buildings in your mission area, their shadows on the terrain will be generated when the mission is lit (i.e when the game starts, or when you relight).
Those buildings will not repeat with the terrain, but since their shadows are baked in(part of the terrain's rendering), these little dark spots will show over every repeating instance of that terrain block.
Does that make sense?
Associate Kyle Carter