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.
-
Create material
-
Set “Blend mode” to translucent.
-
Set “Lighting mode” to “Volumetric PerVertex NonDirectional”, or “Volumetric PerVertex Directional”.
-
Set tesselation mode to “PN Triangles”, or “Flat Tesselation”.
-
Result
UE 4.16.2 from Launcher.