Game Development Community

TGEA 1.7.0 Beta 1 Bug -MegaTerrian- light around the character

by robo · in Torque Game Engine Advanced · 03/20/2008 (3:49 pm) · 14 replies

When forward moving or camera closer terrain,

What is the light around the character that is generated ?

is this detail texture?

how can I this light turn off?

www.myschoollife.co.kr/bug/d1.jpg
www.myschoollife.co.kr/bug/d2.jpg
www.myschoollife.co.kr/bug/d3.jpg
www.myschoollife.co.kr/bug/d4.jpg

#1
03/20/2008 (3:54 pm)
Adjust your sun sitting -> ambient level. Lower it down and it will fix the issue. It has something to do with the detail level and how ambient is being applied to it and not as much to areas outside of the detail range. Atleast from what I have experienced.
#2
03/20/2008 (4:12 pm)
This happens when you do not specify a detail texture. Apply a detail texture to the terrain blocks. You can also do this during creation time.
#3
03/20/2008 (5:01 pm)
This is the effect of the 'detailBrightness' TerrainBlock setting... its too high and overbrightens the terrain.
#4
03/20/2008 (5:04 pm)
Thats what it was called detailBrightness. :)
#5
03/20/2008 (5:06 pm)
An option to assume no brightness when no detail texture is specified wouldn't hurt.
#6
03/20/2008 (5:21 pm)
@Stefan - No brightness scale would be a detailBrightness of 1. This leaves you with a super bright terrain near the player. Maybe the shader could be fixed to behave differently, but i think its a complication of how the detail pass is done as a second pass.

Update: Ok i re-read your message... if no detail texture is specified it should be rendering the detail pass at all.
#7
03/20/2008 (5:57 pm)
I think that would be a good addition. If there is no detail texture then have the detailBrightness automaticly set to 0 or if possible disable the detail pass all togeather. Not sure how much work it would take to do that though.

For those that are wandering the detailBrightness uses a value from 0 to 1. 1 being the brightest possible. 0.5 is generally a good number to keep it at. Atleast that is what I have been using for my terrains.
#8
03/20/2008 (6:06 pm)
I'll be working in this area this weekend... i'll fix it then.
#9
03/20/2008 (6:32 pm)
Thanks Tom. You guys keep up the great work. Its turning out to be an amazing update and well worth the wait.
#10
03/21/2008 (12:15 am)
Thank you to everyone who answered for me
#11
03/21/2008 (12:25 pm)
Guys take a look at the picture that say Why Bright, Why Dark? See where the shadow is starting behind the feet? Is this a bug also? The shadow should begin under his feet, not behind them. I assume you're character is walking on the ground and not hovering right?
#12
03/21/2008 (1:00 pm)
The character is actualy just abit above the ground and that is due to the bounding box that is used for collision with the terrain. You will need to adjust the bounding box to get the character to fit squarely on the ground. Its a issue that has been around since.. well its been around forever in every Torque Product (minus TGB)
#13
03/31/2008 (10:45 am)
The "glow" around the character when you don't have a detail texture specified should be fixed in Beta 2. Please retest if you get a chance. Thanks!
#14
04/07/2008 (10:53 pm)
All working fine. Great!