Skip to content

Commit 74ce25e

Browse files
committed
Added defines parameter for adding preprocessor definitions to ShaderMaterial.
For the moment tried to keep it as dumb as possible: one string for define label, another string for define value. I'm not yet fully sure of all the details but that's something I wanted to do for a long time, to be able to have user-configurable way for baked-in parameters (for use cases like the convolution filter). See mrdoob#2412
1 parent da28977 commit 74ce25e

5 files changed

Lines changed: 118 additions & 74 deletions

File tree

0 commit comments

Comments
 (0)