Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Comments

Fixed compatibility with 2017.x#700

Merged
Chman merged 1 commit intov2from
2017-compat
Nov 12, 2018
Merged

Fixed compatibility with 2017.x#700
Chman merged 1 commit intov2from
2017-compat

Conversation

@Chman
Copy link
Contributor

@Chman Chman commented Nov 8, 2018

SetInt and SetGlobalInt were introduced in 2018.1. Unfortunately using them breaks compatibility with previous versions of Unity and post-processing v2 needs to stay compatible with 2017.x.

I changed the int to a float, given that it's used as a depth slice it should be fine in this case but I don't have the necessary hardware to test on so I'll let you confirm that it indeed works. Feel free to ping me up on slack!

@Chman Chman requested a review from mikesfbay November 8, 2018 14:30
Copy link
Contributor

@mikesfbay mikesfbay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be fine. Passed tests on Oculus Rift with single-pass instancing.

@Chman Chman merged commit 1fc182d into v2 Nov 12, 2018
@Chman Chman deleted the 2017-compat branch November 15, 2018 13:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants