2d-pixel-perfect
2d-pixel-perfect copied to clipboard
Texture upscaling is not compatible with PostProcessingStack v2
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

Normal

Settings

Extra info
Using
-
latest Post Processing Stack (2.0.10)
-
latest Pixel Perfect component (1.0.1)
-
Unity 2018.2.1f1
Update for anyone following this issue: a developer replied on the forums and it seems the issue will be looked at!
Dear god this bug is awful, do you know if it was ever addressed?