In FMaterialInstanceEditor::RefreshOnScreenMessages, there is a check for sRGB on Normal and Mask samplers.
The issue is the check uses a TextureCompressionSettings enum cast to EMaterialSamplerType rather than EMaterialSamplerType directly. The TextureCompressionSettings enum does not share indices with EMaterialSamplerType, so the TC_NormalMap becomes SAMPLERTYPE_Grayscale.
Seemingly, the correct check would be
if (Expression && ((Expression->SamplerType == SAMPLERTYPE_Normal || Expression->SamplerType == SAMPLERTYPE_Masks) && Texture->SRGB)).
Notably, this does not check virtual samplers, though.
error message when install in U.E 5.3 - IS-IN-FCO2-82
I am not able to find world outliner how to enable it?
How can i modify the param name in EQS node
Delay nodes occasionally don't fire the "Completed" output in a nativized build
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
I'm working on a VR Project and I cannot add Nav Mesh to the stairs??
What method is used to fill polygonal regions when drawing spline mesh at run time?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-225272 in the post.
0 |
Component | UE - Rendering Architecture - Materials |
---|---|
Affects Versions | 5.5, 5.4.4 |
Created | Sep 24, 2024 |
---|---|
Updated | Oct 3, 2024 |