Translucent materials with tessellation don't compile

Translucent materials with tessellation don’t compile when I set lighting mode to:

  • Volumetric PerVertex NonDirectional
  • Volumetric PerVertex Directional

with the rest works fine.

Gives error:

Error [SM5]
BasePassTessellationShaders.usf(32,3-25):
error X3018: invalid subscript
‘AmbientLightingVector’

How to reproduce this bug.

  1. Create material

  2. Set “Blend mode” to translucent.

  3. Set “Lighting mode” to “Volumetric PerVertex NonDirectional”, or “Volumetric PerVertex Directional”.

  4. Set tesselation mode to “PN Triangles”, or “Flat Tesselation”.

  5. Result

UE 4.16.2 from Launcher.

Hello Damianno19,

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here

You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

Thank you,

[SM5] /Engine/Private/BasePassTessellationShaders.usf(32,3-25): error X3018: invalid subscript ‘AmbientLightingVector’
Still getting this on Per Vertex Directional in 4.22

Still getting this on Per Vertex Directional in 4.26.1

4.27.2 and still…