Chainable onBeforeCompile + Uniforms per Mesh

Here an example creating a RoundedBoxMesh class based on Cheap round-edged box (vertex shader)

https://codepen.io/Fyrestar/pen/XvYWXW

2 Likes