• A
    Added defines parameter for adding preprocessor definitions to ShaderMaterial. · 74ce25ee
    alteredq 提交于
    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 #2412
    74ce25ee
WebGLRenderer.js 163.4 KB