Skip to main content
Up and Coming
January 21, 2014

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
    This topic has been closed for replies.

    4 replies

    Inspiring
    January 21, 2014
    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.
    Brad Davis - Developer for High Fidelity Co-author of Oculus Rift in Action
    Inspiring
    January 21, 2014
    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.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    LaneAuthor
    Up and Coming
    January 21, 2014
    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.
    Brevis / DevBlog Twitter
    LaneAuthor
    Up and Coming
    January 22, 2014
    Restack fixed it, Rift scripts have to be very last.
    Brevis / DevBlog Twitter