Skip to content

Commit

Permalink
Enable iridescence map in MRDL backplate material (#12618)
Browse files Browse the repository at this point in the history
* Enable iridescence map in MRDL backplate material

* Run prettier
  • Loading branch information
rgerd committed Jun 1, 2022
1 parent 2dbaeaa commit ab7e2b8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class MRDLBackplateMaterialDefines extends MaterialDefines {
/*
"IRIDESCENCE_ENABLE", "SMOOTH_EDGES"
*/
public IRIDESCENCE_ENABLED = true;
public IRIDESCENCE_ENABLE = true;
public SMOOTH_EDGES = true;

constructor() {
Expand Down Expand Up @@ -337,7 +337,7 @@ export class MRDLBackplateMaterial extends PushMaterial {
"_Line_Gradient_Blend_",
"_Fade_Out_",
];
const samplers: string[] = [];
const samplers: string[] = ["_Iridescent_Map_"];
const uniformBuffers = new Array<string>();

MaterialHelper.PrepareUniformsAndSamplersList(<IEffectCreationOptions>{
Expand Down

0 comments on commit ab7e2b8

Please sign in to comment.