Shadows and BuildingGroundDecal
Moderator: Moderators
Shadows and BuildingGroundDecal
Turning shadows on changes their blending mode. Please fix that, it makes them "glow" when shadows are on, but look correct when shadows are off.
Re: Shadows and BuildingGroundDecal
...and while I'm at it... please fix the clamping on those objects. It's not quite clamping correctly. I'll put up a screen here in a bit.
Re: Shadows and BuildingGroundDecal
With shadows ON:

With shadows OFF:

It's pretty obvious what's wrong, if you look at the roads. The shadows OFF is using the correct blending method.
To see the problem with clamping, look closely at the join areas for these corner sections:

You may need to click and zoom in to see it, but when zoomed you can clearly see that the texture is not being correctly clamped, and is one pixel off of where it should be. That one-pixel area is being shown on the opposite side of the decal area, and against lighter surfaces, it's totally obvious that it's wrong
Setting up the clamping by defining max texture coordinate as 0.999999 and min as 0.000001 should do the trick, I've used that in Lua, where this problem also creeps up.

With shadows OFF:

It's pretty obvious what's wrong, if you look at the roads. The shadows OFF is using the correct blending method.
To see the problem with clamping, look closely at the join areas for these corner sections:

You may need to click and zoom in to see it, but when zoomed you can clearly see that the texture is not being correctly clamped, and is one pixel off of where it should be. That one-pixel area is being shown on the opposite side of the decal area, and against lighter surfaces, it's totally obvious that it's wrong

Setting up the clamping by defining max texture coordinate as 0.999999 and min as 0.000001 should do the trick, I've used that in Lua, where this problem also creeps up.
Re: Shadows and BuildingGroundDecal
It looks like the roads are printed on shaped paper thats been folded up and theres a seem where they join
Re: Shadows and BuildingGroundDecal
Just a clearer image
- Attachments
-
- arghZoomed.jpg
- (127.29 KiB) Downloaded 129 times