Announcement

Collapse
No announcement yet.

Lightmap UV generation needs to improve

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    To change the shading model of a material, cast to UMaterialInstance *.

    Code:
    ((UMaterialInstance *)MyMaterialInterface)->BasePropertyOverrides.bOverride_ShadingModel = true;
    ((UMaterialInstance *)MyMaterialInterface)->BasePropertyOverrides.ShadingModel = EMaterialShadingModel::MSM_Unlit;

    Comment

    Working...
    X