Skip to main content
Up and Coming
April 17, 2013

Temporary workaround for Barrel Distortion bug

There is a bug at the moment where built/cooked UDK demos/games are released, they do not display the Barrel Distortion pixel shader even when using the HMDWARP ON command.

To work around this, go to
UDK\RiftCoaster\UDKGame\Config\UDKSystemSettings.ini

set

DepthOfField=True

Somehow when DepthOfField is false, it completely shuts down the Barrel Distortion pixel shader.
    This topic has been closed for replies.

    5 replies

    Inspiring
    April 17, 2013
    OK. I can confirm this does fix the issue.

    What appears to be happening is that if certain post-process effects are turned off (for example, DepthOfField or Bloom) then all post-processing is disabled, breaking the Oculus warp shader. For now, this fix is cool but we will need to find a better solution without having to edit ini files.

    Thanks for posting this, though.
    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
    Up and Coming
    April 18, 2013
    I recommend also going into UDKGame.ini to find DefaultPostProcessSettings and setting DOF_MaxFarBlurAmount=0.0

    This will effectively remove the DOF effect without actually disabling it. Depth of field effects should be avoided for VR.
    Up and Coming
    April 25, 2013
    I only got my devkit today and was just testing some maps I built with UDK using the "Play on PC" function but the barrel distortion is really bad and those settings seem to have no effect?
    Inspiring
    April 25, 2013
    Can you elaborate on what "really bad" means? Maybe take a screenshot and post it.

    Also, have you tried the C++ or Unity demos? How do those look?
    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
    Up and Coming
    April 26, 2013
    Turns out I'm retarded and UDK was running in 1280x720 XD