Skip to content

Commit

Permalink
Update perturbNormalBlock.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rassie authored Apr 16, 2021
1 parent 18b94bc commit a27830a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Materials/Node/Blocks/Fragment/perturbNormalBlock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export class PerturbNormalBlock extends NodeMaterialBlock {
{ search: /vBumpInfos.y/g, replace: replaceForBumpInfos},
{ search: /vPositionW/g, replace: worldPosition.associatedVariableName + ".xyz"},
{ search: /varying vec2 vBumpUV;/g, replace: ""},
{ search: /uniform sampler2D bumpSampler;[\s\S]*?\}/g, replace: ""},
{ search: /uniform sampler2D bumpSampler;[\s\S]*?/g, replace: ""},
]
});

Expand Down

0 comments on commit a27830a

Please sign in to comment.