Skip to content

Commit 0b588fd

Browse files
committed
Also flag buildNormalShader
1 parent 8d8c0b6 commit 0b588fd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/webgl/material.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1795,6 +1795,7 @@ function material(p5, fn) {
17951795
fn.buildNormalShader = function (cb, scope) {
17961796
return this.baseNormalShader().modify(cb, scope);
17971797
};
1798+
p5.registerDecorator('p5.prototype.buildNormalShader', markExperimental('p5.strands', p5));
17981799

17991800
/**
18001801
* Loads a new shader from a file that can change how fills are drawn, based on the material used

0 commit comments

Comments
 (0)