瀏覽代碼

Merge pull request #1460 from marauder2k9-torque/FIX-Channel-buttons-feeding-createComposite-not-working

Fix the channel selection for the create composite texture
Brian Roberts 4 月之前
父節點
當前提交
e2faa8c49c
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Engine/source/materials/materialDefinition.h

+ 3 - 3
Engine/source/materials/materialDefinition.h

@@ -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.