Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Lane's avatar
Lane
Honored Guest
12 years ago

Post Effects and Distortion

Has anyone had any troubles with the distortion of the cameras doing weird things to post effects?

I'm using Sunshine, and it seems like the distortion of the camera is not taking into account the Sunshine post effect, or sunshine isn't truly a post effect in the sense that the other effects are.

Any ideas?

https://www.dropbox.com/s/mlpcdqskmw4v0w7/Screenshot%202014-01-20%2021.57.16.png

4 Replies

Replies have been turned off for this discussion
  • At a guess I'd say it's applying the post processing out of order. The distortion shader is a post-processing effect and must be the last post-processing effect applied.
  • You can change the order by clicking the gear on the far right of the component, then choosing "move up".

    After you have it how you like, then click "apply" on the top right of the inspector.
  • Lane's avatar
    Lane
    Honored Guest
    I'm aware of how to modify the sequence stack, and had tested alternating the script sequence above/below each other to no avail but had not tried putting it in last place yet. Will test when I get home.

    I thought it could also be the camera width being halved and the script not taking that into account or something, so I can look for that next if that doesnt work.
  • Lane's avatar
    Lane
    Honored Guest
    Restack fixed it, Rift scripts have to be very last.