Nutritious Potato Munchies

    three-reflector

    1.0.2 • Public • Published

    three-reflector

    @Slayvin THREE.Reflector repackaged as a node module

    install

    npm i --save three-reflector

    usage

     
     
     
    var THREE = require('three')
    var STLLoader = require('three-reflector')(THREE)
     
    var mirror = new Reflector( geometry, {
     
                    //Config example
     
                    clipBias: 0.003,
                    textureWidth: window.innerWidth * window.devicePixelRatio,
                    textureHeight: window.innerHeight * window.devicePixelRatio,
                    color: 0x777777,
                    recursion: 1
     
    } );
     
    scene.add( mirror );
     

    Install

    npm i three-reflector

    DownloadsWeekly Downloads

    14

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    10.6 kB

    Total Files

    4

    Last publish

    Collaborators

    • luizgustavompinto