Commit 74ce25e
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#24121 parent da28977 commit 74ce25e
5 files changed
Lines changed: 118 additions & 74 deletions
File tree
- build
- examples/js
- postprocessing
- src
- materials
- renderers
0 commit comments