StrataSource / Engine

Issue tracker for Strata Source
47 stars 2 forks source link

Bug: non-128 fizzler texture have a visible seam #542

Open QuadrupleAndy opened 2 years ago

QuadrupleAndy commented 2 years ago

Describe the bug

Apparently, if you standing close enough (happens in original portal 2 as well) you can see a seam on the left or right side where fizzler_l or fizzler_r texture ends.
image

To Reproduce

  1. open sp_a2_fizzler_intro
  2. stand on the right or the left side of the fizzler and zoom
  3. behold, the seam

Issue Map

sp_a2_fizzler_intro or any map with non-128 fizzler

Expected Behavior

The transition should be smooth.

Operating System

Windows

TeamSpen210 commented 2 years ago

This is because the texture filtering wraps around, so it reads the other edge of the left/right texture which is brighter. It could be fixed by tweaking the 4 pixels on the sides.