Update materialDefinition.h

the values holding the channel selection were set to floats when they were expecting integer values.
This commit is contained in:
marauder2k7 2025-05-16 16:16:41 +01:00
parent 3fd333d3a2
commit f64c7ce7aa

View file

@ -223,10 +223,10 @@ public:
bool mDiffuseMapSRGB[MAX_STAGES]; // SRGB diffuse
bool mIsSRGb[MAX_STAGES]; // SRGB ORM
F32 mAOChan[MAX_STAGES];
U32 mAOChan[MAX_STAGES];
bool mInvertRoughness[MAX_STAGES];
F32 mRoughnessChan[MAX_STAGES];
F32 mMetalChan[MAX_STAGES];
U32 mRoughnessChan[MAX_STAGES];
U32 mMetalChan[MAX_STAGES];
F32 mGlowMul[MAX_STAGES];
/// The strength scalar for the detail normal map.