• alteredq's avatar
    Changed lights to use global positions. · e207f5e8
    alteredq authored
    This should allow attaching of lights to objects. As a side effect, directional lights positions don't need to be normalized explicitly anymore.
    
    Also changed viewport dimensions passed to render plugins to work with render targets with different dimensions than the screen framebuffer.
    
    And fixed new dependencies in build script.
    e207f5e8
ThreeDOM.js 40.4 KB