4.24 moves distortion calculations to the file DistortionCommon.ush and its`ComputeBufferUVDistortion` function. The code in the INSTANCED_STEREO define no longer works as `Interpolants` isn't passed to `ComputeBufferUVDistortion

Steps to Reproduce
  1. Open a new blank Blueprint project in Unreal 4.24 Preview 2.
  2. Enable Instanced Stereo by Navigating to Project Settings-> Engine-Rendering- VR- Instanced Stereo.
  3. Create a new Material with a Translucent Blend Mode.
  4. Create a Constant node with any value, Apply & Save.


Regression: This behavior does not occur in 4.23.1

Result: Error:  [SM5] /Engine/Private/DistortionCommon.Ush(38,45,-56): error X3004: undeclared identifier 'interpolants'

Expected: No Error.

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-84346 in the post.

Login to Vote

ComponentRendering - Features Teams
Affects Versions4.24
Target Fix4.24
Fix Commit10191525
Main Commit10192014
Release Commit10191525
CreatedNov 13, 2019
ResolvedNov 14, 2019
UpdatedMar 2, 2020