2d-pixel-perfect icon indicating copy to clipboard operation
2d-pixel-perfect copied to clipboard

Texture upscaling is not compatible with PostProcessingStack v2

Open SugoiDev opened this issue 7 years ago • 2 comments

When using a PostProcessLayer and this script in the same Camera, the resulting image will be blurry when using the upscale texture feature. Disabling either the volume or this script makes the image normal again.

Is this known? I'll create a reproduction project soon and attach it here later.


Exact steps to reproduce

  • add PostProcess layer and Pixel Perfect components to the camera
  • enable texture upscaling
  • set the GameView to an exact multiple of the reference resolution set on the Pixel Perfect component

Notes

  • there's no active effect in the PostProcess layer, just the bare component.
  • All sprites are 100 pixels per unit
  • changing the reference resolution to 2px smaller temporarily fixes the issue (at the cost of 1px borders around the game view). But, as soon as you change the pixels per meter to anything, it goes back to being blurry

Blurry

blurry

Normal

normal

Settings

screenshot 2018 08 09-07 08 14

Extra info

Using

  • latest Post Processing Stack (2.0.10)

  • latest Pixel Perfect component (1.0.1)

  • Unity 2018.2.1f1

SugoiDev avatar Aug 09 '18 10:08 SugoiDev

Update for anyone following this issue: a developer replied on the forums and it seems the issue will be looked at!

SugoiDev avatar Jun 04 '19 06:06 SugoiDev

Dear god this bug is awful, do you know if it was ever addressed?

virtushda avatar Jun 29 '23 03:06 virtushda