Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Spoon on February 12, 2013, 06:04:44 pm
-
So from my limited understanding, clamping is suppose to help with skybox seams.
(http://imageshack.us/a/img62/444/screen0234.png)
(http://imageshack.us/a/img837/6031/screen0235.png)
One of these was shot with force clamp on in FRED. But uh, I don't see any difference here.
Does the flag even work at all?
-
It may not. I added the feature but the sum of my knowledge on the subject was simply "Someone suggested exposing these flags would be a good thing"
-
Axem pointed out that this might actually not be a problem with the clamp but with the skybox used. Lo and behold, he was right.
(http://imageshack.us/a/img248/3862/noclamp.png)
without
(http://imageshack.us/a/img12/6375/clampv.png)
with
So force clamp does actually work. It's just impossible to see the difference when not using the right box for the job.
Thread's over, move along people. Nothing to see here.
-
It does indeed work, does wonders for the skybox seams. It wouldn't fix misaligned textures (that's what you shown in the first pic), but what it does is get rid of those ugly black seams which can't really be fixed any other war (AFAIK).
-
i take it you used a skybox that used ht's workaround?
clamp works by not tiling the texture. no interpolation is done across edges (one side of the texture would be interpolated into the other). you get a hard edge instead of a smooth one, which is preferable for a skybox. ht's workaround was created because we couldnt do clamp at the time.
-
yes