Skip to content

Commit

Permalink
Enable iridescence map in MRDL backplate material (BabylonJS#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 authored and alvov-evo committed Jun 16, 2022
1 parent 27592ba commit 3032583
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 3032583

Please sign in to comment.