Steps to Reproduce
- Create a new material.
- Set Blend Mode to Masked
- [optional] enable use Material attributes
- Set something up to output to opacity mask & base colour. I.e a texture with an alpha channel
- important: Tick ‘used with nanite’
- important: place a ‘Vertex interpolator’ node in the material graph, it doesn’t need to be connected to anything.
Apply the material to a mesh
- copy the basic sphere mesh to content folder (/Engine/BasicShapes/Sphere.Sphere) or source some other static mesh
- Set the Material on the mesh
- observe that if the mesh is set to use nanite, the mask will not function.
- observer that if the vertex interpolator node is removed, it works.
5.8 preview, repro project attached
[Attachment Removed]
Kev.EG
(Kev the Dev)
3
Hi! This should be fixed in CL 54931849. It didn’t make it for 5.8 but we’re looking into having it in 5.8.1
https://github.com/EpicGames/UnrealEngine/commit/89dcc1cc6ed3accb53e116a4668fe3158793e582
[Attachment Removed]