Description

ExportMaterialUVDensities() gets the incorrect value where the alpha channel is referenced (e.g. RegisterIndex of the texture is [3] or [7]) because FMeshRenderer::RenderMaterialTexCoordScales() uses a black clear value with an alpha value of 1.0

 

See the linked UDN for additional details.

Steps to Reproduce
  1. Create a Material that uses a WorldPositionOffset of 0,0,100
  2. Assign the Material to a mesh in the scene
  3.  Set the viewport view mode to Optimization Viewmodes>Material Texture Scales.

Expected
ExportMaterialUVDensities() gets the correct values where the alpha channel is referenced (e.g. RegisterIndex of the texture is [3] or [7]).

Actual

ExportMaterialUVDensities() gets the incorrect value where the alpha channel is referenced (e.g. RegisterIndex of the texture is [3] or [7]).

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-212531 in the post.

0
Login to Vote

Fixed
ComponentUE - Rendering Architecture - Materials
Affects Versions5.45.3.2
Target Fix5.5
Fix Commit33689794
CreatedApr 16, 2024
ResolvedMay 18, 2024
UpdatedJul 31, 2024
View Jira Issue