{"_id":"pixi-lights","_rev":"9-2fd0c0f346de47d1c4d4fee17cc04047","name":"pixi-lights","dist-tags":{"latest":"3.0.0"},"versions":{"2.0.0":{"name":"pixi-lights","version":"2.0.0","description":"A plugin that adds deferred lighting to Pixi.js","license":"MIT","main":"./lib/pixi-lights.js","types":"./pixi-lights.d.ts","module":"./lib/pixi-lights.es.js","author":{"name":"Chad Engler","email":"chad@pantherdev.com"},"contributors":[{"name":"Matt Karl","email":"matt@mattkarl.com"},{"name":"Ivan Popelyshev","email":"ivanpopelyshev@gmail.com"}],"homepage":"https://github.com/pixijs/pixi-lights","repository":{"type":"git","url":"git+https://github.com/pixijs/pixi-lights.git"},"bugs":{"url":"https://github.com/pixijs/pixi-lights/issues"},"scripts":{"postinstall":"npm run copy","clean":"rimraf lib/* docs/*","test":"npm run build","prebuild":"npm run clean","build":"cross-env NODE_ENV=\"production\" rollup -c","watch":"cross-env NODE_ENV=\"development\" rollup -cw","lint":"eslint --fix src","docs":"jsdoc -c ./jsdoc.conf.json -R README.md","dev":"http-server . -o","postversion":"npm run build","postpublish":"npm run deploy","predeploy":"npm run docs","copy":"copyfiles -f \"node_modules/{pixi.js,pixi-layers}/dist/*.{js,map}\" demo/lib","deploy":"gh-pages -d . -s \"{demo,docs,lib}/**\"","start":"parallelshell \"npm run watch\" \"npm run dev\""},"engines":{"node":">=6"},"keywords":["2d","pixi"],"files":["lib/","pixi-lights.d.ts"],"peerDependencies":{"pixi.js":"^4.5.0","pixi-layers":"^0.1.6"},"devDependencies":{"@pixi/jsdoc-template":"^2.4.0","copyfiles":"^2.0.0","cross-env":"^5.1.4","eslint":"^4.19.1","gh-pages":"^1.1.0","http-server":"^0.11.1","jsdoc":"^3.5.5","parallelshell":"^3.0.2","pixi-layers":"^0.1.7","pixi.js":"^4.7.1","rimraf":"^2.6.2","rollup":"^0.57.1","rollup-plugin-buble":"^0.19.2","rollup-plugin-conditional":"^1.1.1","rollup-plugin-eslint":"^4.0.0","rollup-plugin-string":"^2.0.2","rollup-plugin-uglify":"^3.0.0","uglify-es":"^3.3.9"},"gitHead":"991e4428d2bfa37bb7a96303f76fb3bbbc6ac0de","_id":"pixi-lights@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"bigtimebuddy","email":"matt@mattkarl.com"},"dist":{"integrity":"sha512-miR7M7BG5NEf4PMNgdxBZyEx7SQeKZLf4xAd9VJ2UKaIIkJt9vC70pF+GVbN1Wk0+H23GUTPE1ZQWrdR/YoHnA==","shasum":"a452b79e7c102129a3863fc0125c1b6d0d2a2d06","tarball":"https://registry.npmjs.org/pixi-lights/-/pixi-lights-2.0.0.tgz","fileCount":8,"unpackedSize":95223,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMrcvp1NawsFPPl8bOnPMcn+9YSBuaeyVc3oUi7fDI9AIhAPkBSfv3qp8K7XrrdhQ+39JZC7++/m5AzzU1qcEUEdl8"}]},"maintainers":[{"name":"bigtimebuddy","email":"matt@mattkarl.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pixi-lights_2.0.0_1521943139418_0.31911452075932023"},"_hasShrinkwrap":false},"2.0.1":{"name":"pixi-lights","version":"2.0.1","description":"A plugin that adds deferred lighting to Pixi.js","license":"MIT","main":"./lib/pixi-lights.js","types":"./pixi-lights.d.ts","module":"./lib/pixi-lights.es.js","author":{"name":"Chad Engler","email":"chad@pantherdev.com"},"contributors":[{"name":"Matt Karl","email":"matt@mattkarl.com"},{"name":"Ivan Popelyshev","email":"ivanpopelyshev@gmail.com"}],"homepage":"https://github.com/pixijs/pixi-lights","repository":{"type":"git","url":"git+https://github.com/pixijs/pixi-lights.git"},"bugs":{"url":"https://github.com/pixijs/pixi-lights/issues"},"scripts":{"clean":"rimraf lib/* docs/*","test":"npm run build","prebuild":"npm run clean","build":"cross-env NODE_ENV=\"production\" rollup -c","watch":"cross-env NODE_ENV=\"development\" rollup -cw","lint":"eslint --fix src","docs":"jsdoc -c ./jsdoc.conf.json -R README.md","dev":"http-server . -o","postversion":"npm run build","postpublish":"npm run deploy","predeploy":"npm run copy","copy":"copyfiles -f \"node_modules/{pixi.js,pixi-layers}/dist/*.{js,map}\" demo/lib","deploy":"gh-pages -d . -s \"{demo,docs,lib}/**\"","start":"parallelshell \"npm run watch\" \"npm run dev\""},"engines":{"node":">=6"},"keywords":["2d","pixi"],"files":["lib/","pixi-lights.d.ts"],"peerDependencies":{"pixi.js":"^4.5.0","pixi-layers":"^0.1.6"},"devDependencies":{"@pixi/jsdoc-template":"^2.4.0","copyfiles":"^2.0.0","cross-env":"^5.1.4","eslint":"^4.19.1","gh-pages":"^1.1.0","http-server":"^0.11.1","jsdoc":"^3.5.5","parallelshell":"^3.0.2","pixi-layers":"^0.1.7","pixi.js":"^4.7.1","rimraf":"^2.6.2","rollup":"^0.57.1","rollup-plugin-buble":"^0.19.2","rollup-plugin-conditional":"^1.1.1","rollup-plugin-eslint":"^4.0.0","rollup-plugin-string":"^2.0.2","rollup-plugin-uglify":"^3.0.0","uglify-es":"^3.3.9"},"gitHead":"7727684f34cc24a5cb3dd72d51fe703e416283ff","_id":"pixi-lights@2.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"bigtimebuddy","email":"matt@mattkarl.com"},"dist":{"integrity":"sha512-fSt2mgQL6h+3aXMNZ0puE0rzmWz7W0xiOf40I+/NAdt5/vwuiPQ4uXz9et4WyNFnzkXbZRXnquBKGNkHJlFpmg==","shasum":"fddc606bf4e4b6027a1e040d46280269651dc1b1","tarball":"https://registry.npmjs.org/pixi-lights/-/pixi-lights-2.0.1.tgz","fileCount":8,"unpackedSize":95188,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+uBXCRA9TVsSAnZWagAAU0YP+wQSpWto6XKJdiQmiX6h\nIfeHSYWKoNtWYvxtVxklj/VDB/+IJ04q/2Xxxt8o3EWNqhMRJfwLirxorWsU\nAs8G4QYVI+R9+RBVKQZCENPmGM9SZwLGrq/G1SKap2KqdBpcWkKCAVyNKT85\nYZcTMvFUGnDNZRnoWiFuTkl1G8zon0UI+4qZqRAI4VWlRa/75vOiRAMmG+xh\ndqhigcLP6nzXSSNkhy9sSqYlL4zFvJvUqjrjrVPgzeGLsB5mU9WwkFY/N6qz\nktEc/Ri8875WNNOyuMoSa5DPLGiWtvyhL3R74epLQAL+8Tbi5YjMvYR1QRaZ\n5/PAQvpBVwGcPvB6Yg6SSyytJARytnlQ+Ugl5GuCc5NOAY5nUlHmjGZHLA/d\n/LEgGfdxkkryS3amnqhUozfFdA4qwM16h7eWaWqAfrKFHvuO+ftnovoPGvhJ\nCyftFWB2GOr2Dvx7yXYx5aHK//WwwNVUT68FLYKHlRpz6erxQnwxwIc8nGGb\n6e1mNWz2z8LV/eViRqNxj8xkNOzugchlqum4+MlOjC8LVntKEiKcvtZbNBlL\nlx5A893qzoi8V2mFmZoRWp9kdrDAFzDC5RHSykc75tgy1m5cTK67xTMzIpem\nr+VX2jXT/KA6CKboI+yFb1dFZYMkVq85kmyNO/gmAbyBg2pA8Rk2HOZTs2VY\n+h4C\r\n=be9I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+v9cRSeQBDbidSLDdazapRQ/G1mRiUlS8b4rUnvAphwIgF3cnsAVHPqz/OpH2VkJOA3LkdvlP4Xs8+Xil4rcWRec="}]},"maintainers":[{"name":"bigtimebuddy","email":"matt@mattkarl.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pixi-lights_2.0.1_1526390870175_0.44129120016112977"},"_hasShrinkwrap":false},"2.0.2":{"name":"pixi-lights","version":"2.0.2","description":"A plugin that adds deferred lighting to Pixi.js","license":"MIT","main":"./lib/pixi-lights.js","types":"./pixi-lights.d.ts","module":"./lib/pixi-lights.es.js","author":{"name":"Chad Engler","email":"chad@pantherdev.com"},"contributors":[{"name":"Matt Karl","email":"matt@mattkarl.com"},{"name":"Ivan Popelyshev","email":"ivanpopelyshev@gmail.com"}],"homepage":"https://github.com/pixijs/pixi-lights","repository":{"type":"git","url":"git+https://github.com/pixijs/pixi-lights.git"},"bugs":{"url":"https://github.com/pixijs/pixi-lights/issues"},"scripts":{"clean":"rimraf lib/* docs/*","test":"npm run build","prebuild":"npm run clean","build":"cross-env NODE_ENV=\"production\" rollup -c","watch":"cross-env NODE_ENV=\"development\" rollup -cw","lint":"eslint --fix src","docs":"jsdoc -c ./jsdoc.conf.json -R README.md","dev":"http-server . -o","postversion":"npm run build","postpublish":"npm run deploy","predeploy":"npm run copy","copy":"copyfiles -f \"node_modules/{pixi.js,pixi-layers}/dist/*.{js,map}\" demo/lib","deploy":"gh-pages -d . -s \"{demo,docs,lib}/**\"","start":"parallelshell \"npm run watch\" \"npm run dev\""},"engines":{"node":">=6"},"keywords":["2d","pixi"],"peerDependencies":{"pixi.js":"^4.5.0","pixi-layers":"^0.1.6"},"devDependencies":{"@pixi/jsdoc-template":"^2.4.0","copyfiles":"^2.0.0","cross-env":"^5.1.4","eslint":"^4.19.1","gh-pages":"^1.1.0","http-server":"^0.11.1","jsdoc":"^3.5.5","parallelshell":"^3.0.2","pixi-layers":"^0.1.7","pixi.js":"^4.7.1","rimraf":"^2.6.2","rollup":"^0.57.1","rollup-plugin-buble":"^0.19.2","rollup-plugin-conditional":"^1.1.1","rollup-plugin-eslint":"^4.0.0","rollup-plugin-string":"^2.0.2","rollup-plugin-uglify":"^3.0.0","uglify-es":"^3.3.9"},"gitHead":"6856ebc52b5d9d94727232c0eac7b9871e15aa62","_id":"pixi-lights@2.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"bigtimebuddy","email":"matt@mattkarl.com"},"dist":{"integrity":"sha512-p/5733tmZPJ0sfzBceHdGiD8OWMRhjaC3rAZHB/6mTXInO2Tq/AT9Po6qDkNhe7ZvrzBwawyv8Iy5uLdGeZe/g==","shasum":"63ba418bb7ee6db82aabea5e5a252e2de791ec62","tarball":"https://registry.npmjs.org/pixi-lights/-/pixi-lights-2.0.2.tgz","fileCount":8,"unpackedSize":96090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxgT/CRA9TVsSAnZWagAAImsQAI8qfpMAAD+pX+5i2YO5\npXe7aNJffmN886lMtN8V3jJRflidwlFTuSSskqqg7P3N5K7W6lDr5+y0k2wI\nXrqbXtUeykRUvojVqmnYwshCzKPPYuI1w3bziGjN1WKAo7831p85CdTUhqd0\n/Lqz0Izoku2uPoNuz8D/Dx9RlMjHTtEPpGExgoVdouQL0leHBr3ssGtH4KrK\nfRN2+96ozuDWqH1YgHy9JzBlGIogerkr/oWJePNLv5r84VxFvJk9YuorFN4H\nfvWk7vEXGRJZT6bFsogQjirrYcWO3KL47M1xoLdfv7o6J9z25Kdh0dE4Q8Pf\nkn9rB2UwGkVVncCIb8dxYPIpuqMy6VN66G48S4wTgkeOqz2sEGg+lD6zfEgw\nzhGjAkVf67uvSUwOMni0qjxbZemZRzs1XpvcZA7D6jiIVZ0XCGte8QiPwOqA\nDgg3l/JIyHaxHszZ9FaslXQOn3wbGGsnB4GtO9Fkry8UWpzM1FJeTsyeM1mK\ny8Xv/E/wzj+B8QFsDrdJIEPg5rn+z0Te/XNxalDb3bD29E5o2/nnrk62h7zX\nxnRFoSyenLLFtXm/qbEJdRYIOlERKEkKFLvyBj/lJdYM5BIkVZaEJwiC/CmZ\nZJQq3ZpclYpfSGLLtVXT5ldZEb6JIHJzRk03Z6g2INoVUM6DSS6T12UKFKla\nR9Ih\r\n=5Sqc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF1KqGhwAQIbjhhnj6R4N+X7x6Dkcx8GQrAjlkR0hpvwAiEA9psWesCqRmkqlN0AFOGS+siY7ydv6bD6xhhbB6rE8q4="}]},"maintainers":[{"name":"bigtimebuddy","email":"matt@mattkarl.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pixi-lights_2.0.2_1539704062905_0.33056592378335425"},"_hasShrinkwrap":false},"2.0.3":{"name":"pixi-lights","version":"2.0.3","description":"A plugin that adds deferred lighting to Pixi.js","license":"MIT","main":"./lib/pixi-lights.js","types":"./pixi-lights.d.ts","module":"./lib/pixi-lights.es.js","author":{"name":"Chad Engler","email":"chad@pantherdev.com"},"contributors":[{"name":"Matt Karl","email":"matt@mattkarl.com"},{"name":"Ivan Popelyshev","email":"ivanpopelyshev@gmail.com"}],"homepage":"https://github.com/pixijs/pixi-lights","repository":{"type":"git","url":"git+https://github.com/pixijs/pixi-lights.git"},"bugs":{"url":"https://github.com/pixijs/pixi-lights/issues"},"scripts":{"clean":"rimraf lib/* docs/*","test":"npm run build","prebuild":"npm run clean","build":"cross-env NODE_ENV=\"production\" rollup -c","watch":"cross-env NODE_ENV=\"development\" rollup -cw","lint":"eslint --fix src","docs":"jsdoc -c ./jsdoc.conf.json -R README.md","dev":"http-server . -o","postversion":"npm run build","postpublish":"npm run deploy","predeploy":"npm run copy && npm run docs","copy":"copyfiles -f \"node_modules/{pixi.js,pixi-layers}/dist/*.{js,map}\" demo/lib","deploy":"gh-pages -d . -s \"{demo,docs,lib}/**\"","start":"parallelshell \"npm run watch\" \"npm run dev\""},"engines":{"node":">=6"},"keywords":["2d","pixi"],"peerDependencies":{"pixi.js":"^4.5.0","pixi-layers":"^0.1.6"},"devDependencies":{"@pixi/jsdoc-template":"^2.4.0","copyfiles":"^2.0.0","cross-env":"^5.1.4","eslint":"^4.19.1","gh-pages":"^1.1.0","http-server":"^0.11.1","jsdoc":"^3.5.5","parallelshell":"^3.0.2","pixi-layers":"^0.1.7","pixi.js":"^4.7.1","rimraf":"^2.6.2","rollup":"^0.57.1","rollup-plugin-buble":"^0.19.2","rollup-plugin-conditional":"^1.1.1","rollup-plugin-eslint":"^4.0.0","rollup-plugin-string":"^2.0.2","rollup-plugin-uglify":"^3.0.0","uglify-es":"^3.3.9"},"gitHead":"6e38c66b4beb75b251e0fa1e80ba812f91716f0c","_id":"pixi-lights@2.0.3","_npmVersion":"6.5.0","_nodeVersion":"10.15.0","_npmUser":{"name":"bigtimebuddy","email":"matt@mattkarl.com"},"dist":{"integrity":"sha512-bKHv7X95R+zWiyHyFT5d1C/1XcNaViRlJ4mNYALyVQZsLVKiGZ73jYVKU9kcj4SzA1lPC8/jrWUNL0kSROny5Q==","shasum":"e0a8ab346bc78927f338bc2876ec183600846e6f","tarball":"https://registry.npmjs.org/pixi-lights/-/pixi-lights-2.0.3.tgz","fileCount":8,"unpackedSize":97342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJceWMkCRA9TVsSAnZWagAA3JIP/A5rIqdHn9t9Na2bshBz\nurHoPJy07EIA1dEjIV/GjQSuy7YVMbO/4CcIjfnMmfuVCSlpX7kISsuF8P2j\ng/V/+MI0IfyvxMFzqPbNUKW8OpfAOCh+qd2XjubNdiXac5ha6ZW3M84UW0bY\nBaJWoS/mO8pv3WbspKPNcu3CPYziYKrlqJsjCqmnbQoi05SLl10I1qp2lupT\niT80zAvQ6wwasZYh4foUcUU+5M9IGfVOS20juF3UBTMkXAmRulcWofT9EKLQ\nhG2ft8MpMPGNDf5pIGtypNg18jcR37XSwWr339PDWndFoehaI6raQ2sa5Njy\nwl73bNJRVAqdMltpiMly20XtsvL0FY6EFYEDvgGrVObd5dJWfEOBI2qxcOng\npoN62fCZRQWzEY8Nj+KST1vlpV9xXM7Uk/zqLOHYpdLqRUaWiFXCJl10idqz\ncd+flCIQFKsKw/R08rKzLWk1obA30gRqJ4JSggGkVs1Z3vIVqHqOqVRa1Z+k\nw91hHqoKb29JfRyeRzGmMej68YQzzq5IrVKx027tFdtLH7SENdTSY+zodLY0\nHYrp/jITnoVNk4S+4XJJMu/vD4cHG9K4xKIVyIo7J2ku1OkhaYH30IqpFBgj\nw54dgYoK2LhRM7T3p6HiWAbioVKH+sTQ4vun7gSSy36jpT1WGWuPyDg50FuL\nONwa\r\n=hXlH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHD3E3a/SfU1Zw1YS8ZGj0NnWfjLuQEqhEZB44n3pN21AiBEGkhdzc/VCNcMBsDT+xzwvRGN01wcNRYETokgWMYUyw=="}]},"maintainers":[{"name":"bigtimebuddy","email":"matt@mattkarl.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pixi-lights_2.0.3_1551459107621_0.5872203985575437"},"_hasShrinkwrap":false},"3.0.0":{"name":"pixi-lights","version":"3.0.0","description":"A plugin that adds deferred lighting to PixiJS v6","author":{"name":"Ivan Popelyshev"},"contributors":[{"name":"Ivan Popelyshev","email":"ivan.popelyshev@gmail.com"}],"main":"./dist/pixi-lights.js","module":"./lib/pixi-lights.es.js","bundle":"./dist/pixi-lights.umd.js","namespace":"PIXI.lights","types":"./index.d.ts","homepage":"http://www.pixijs.com/","bugs":{"url":"https://github.com/pixijs/pixi-lights/issues"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/pixijs/pixi-lights.git"},"scripts":{"clean":"rimraf dist/* lib/* compile","start":"run-s watch","watch":"rollup -cw","prebuild":"run-s clean lint types","build":"rollup -c","postbuild":"run-s build:types","build:prod":"cross-env NODE_ENV=production run-s build","prebuild:types":"rimraf compile","build:types":"tsc --outDir compile && api-extractor run","lint":"eslint ./src","types":"tsc -noEmit","release:patch":"npm version patch && npm publish","release:minor":"npm version minor && npm publish","release:major":"npm version major && npm publish","postversion":"run-s build:prod","postpublish":"git push && git push --tags","prepack":"clean-package","postpack":"clean-package restore"},"publishConfig":{"access":"public"},"engines":{"node":">=14","npm":">=7"},"clean-package":{"indent":2,"remove":["clean-package","scripts","engines","devDependencies","eslintConfig"]},"eslintConfig":{"extends":["@pixi/eslint-config"]},"peerDependencies":{"@pixi/constants":"^6.0.4","@pixi/core":"^6.0.4","@pixi/display":"^6.0.4","@pixi/math":"^6.0.4","@pixi/mesh":"^6.0.4","@pixi/utils":"^6.0.4"},"devDependencies":{"@microsoft/api-extractor":"7.17.1","@pixi-build-tools/rollup-configurator":"~1.0.11","@pixi/constants":"^6.0.4","@pixi/core":"^6.0.4","@pixi/display":"^6.0.4","@pixi/eslint-config":"^2.0.1","@pixi/math":"^6.0.4","@pixi/mesh":"^6.0.4","@pixi/utils":"^6.0.4","@pixi/layers":"^1.0.5","@typescript-eslint/eslint-plugin":"^4.16.1","@typescript-eslint/parser":"^4.16.1","clean-package":"^1.0.1","cross-env":"^7.0.3","eslint":"^7.21.0","npm-run-all":"^4.1.5","rimraf":"^2.5.3","rollup":"^2.50.5","tslib":"^2.0.1","typescript":"^4.3.2"},"gitHead":"c510acb823d7fd073f530b7444007633d1080c91","_id":"pixi-lights@3.0.0","_nodeVersion":"14.15.2","_npmVersion":"7.18.1","dist":{"integrity":"sha512-AfuwAK/yqE/XfSIZNz82diYOzevIWcmLv4WaRgkmSKe0wy4HOW2LaVX+13ZSw4V+o49N+/MKCKOHJKDbhsrSUg==","shasum":"d378b8a3b587c5be333ace1418e15279fac7fec4","tarball":"https://registry.npmjs.org/pixi-lights/-/pixi-lights-3.0.0.tgz","fileCount":10,"unpackedSize":135105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5Hk6CRA9TVsSAnZWagAAVmUP/2+rVHDmlhX7cpYP0sgL\nT3B70PlyBoLqTnZx8G6tErhXTlTF0PfrU6F80J+0IqljV5rrcFxt/TWY8n0b\nhpDUZUHBjnMaeho7U4TYgH1Ss+PRj8gCOqfowG7fviwMAXHdZGe7qYdyALly\nHf4181Uw6ZGuAvL/CNg2Bu+ywIPiIeNOIIm4Hj3Gomgz6N/4ztgA+BJDGNP2\nzM0xAY4UOoDRElAHn/IIKLZsmEbzq8XaNyQgar17wKhjwJcsscwWfOnRvVWj\n4L/N2EHprJ2tLNvBtRrijhrhfIlR49JczKcJVbnr5tihefd0Rd+HHDC0O/ir\nKVJAsxERTUK6thchxn8FQbSyKNlhEZERFbYCc1t+zbbezBADFoO8aO2BVatY\nGLM9e2nObrno3XZnj8QPDmRsS7jo5b1OqZie/yO6NOCoLZl5bGMGA8ZcmRNr\n934rb3iD54p54lhDZElW2JBjtTuTscQtUsRUZwGuOL3w3YVPP/N6yMFg7L3W\ncI28Mek4WFrl5Em/1Qp2vZNKcOoCX0H7r/ja8cvMt642tkzUpafNNcDhrAfj\n+An0NBKn5oYNHZvyczQfoDjno/OyosdMjPP957Iv8j/vM3JlYJxWdjU1yiEy\nld0e7Hzp3Hlkc+B/2rqK1XHVlCETqc2s0VaI5KfwoopLeV3bPV2hga0Gh6nb\nzgNp\r\n=P3wN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH/4HkdFf96ewDDei+Jft+6imobH67riDFWl93XBPW+8AiBYNqLwl03wn3HiMeqxgSK13S2ZlG4rVKwRIvtVB2gVZg=="}]},"_npmUser":{"name":"ivan.popelyshev","email":"ivan.popelyshev@gmail.com"},"directories":{},"maintainers":[{"name":"ivan.popelyshev","email":"ivan.popelyshev@gmail.com"},{"name":"bigtimebuddy","email":"matt@mattkarl.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pixi-lights_3.0.0_1625585978186_0.07231033821436461"},"_hasShrinkwrap":false}},"time":{"created":"2018-03-25T01:58:59.417Z","2.0.0":"2018-03-25T01:58:59.577Z","modified":"2022-12-21T20:15:27.384Z","2.0.1":"2018-05-15T13:27:50.276Z","2.0.2":"2018-10-16T15:34:23.053Z","2.0.3":"2019-03-01T16:51:47.729Z","3.0.0":"2021-07-06T15:39:38.335Z"},"maintainers":[{"email":"ivan.popelyshev@gmail.com","name":"ivan.popelyshev"},{"email":"matt@mattkarl.com","name":"bigtimebuddy"}],"description":"A plugin that adds deferred lighting to PixiJS v6","homepage":"http://www.pixijs.com/","repository":{"type":"git","url":"git+https://github.com/pixijs/pixi-lights.git"},"contributors":[{"name":"Ivan Popelyshev","email":"ivan.popelyshev@gmail.com"}],"author":{"name":"Ivan Popelyshev"},"bugs":{"url":"https://github.com/pixijs/pixi-lights/issues"},"license":"MIT","readme":"# PixiJS Lights\r\n\r\n[![Build](https://github.com/pixijs/pixi-lights/workflows/Build/badge.svg)](https://github.com/pixijs/pixi-lights/actions?query=workflow%3A%22Build%22) [![npm version](https://badge.fury.io/js/%40pixi%2Fpixi-lights.svg)](https://badge.fury.io/js/%40pixi%2Fpixi-lights)\r\n\r\nA plugin that adds deferred lighting to PixiJS.\r\n\r\n**Note**: This modules *requires* v6.0.4+ of [pixi.js](https://github.com/pixijs/pixi.js) and v1.0.0 of [@pixi/layers](https://github.com/pixijs/layers).\r\n\r\nFor pixi-v4 see `v4.x` branch.\r\n\r\n* [Demo](https://pixijs.io/examples/#/plugin-layers/normals.js)\r\n\r\n## Usage\r\n\r\nYou have to create three layers: one for sprites, one for their normals and one for lights. Sprites and normals are rendered to temporary RenderTexture, and lights have those two textures as an input.\r\n \r\n```js\r\n// Get class references\r\nimport {Application, Sprite, Container, lights} from 'pixi.js';\r\nimport {Layer, Stage} from '@pixi/layers';\r\nimport {diffuseGroup, normalGroup, lightGroup, PointLight} from 'pixi-lights';\r\n\r\n// Create new application\r\nconst app = new Application({\r\n    backgroundColor: 0x000000, // Black is required!\r\n    width: 800,\r\n    height: 600\r\n});\r\ndocument.body.appendChild(app.view);\r\n\r\n// Use the pixi-layers Stage instead of default Container\r\napp.stage = new Stage();\r\n\r\n// Add the background diffuse color\r\nconst diffuse = Sprite.fromImage('images/BGTextureTest.jpg');\r\ndiffuse.parentGroup = diffuseGroup;\r\n\r\n// Add the background normal map\r\nconst normals = Sprite.fromImage('images/BGTextureNORM.jpg');\r\nnormals.parentGroup = normalGroup;\r\n\r\n// Create the point light\r\nconst light = new PointLight(0xffffff, 1);\r\nlight.x = app.screen.width / 2;\r\nlight.y = app.screen.height / 2;\r\n\r\n// Create a background container \r\nconst background = new Container();\r\nbackground.addChild(\r\n    normals,\r\n    diffuse,\r\n    light\r\n);\r\n\r\napp.stage.addChild(\r\n    // put all layers for deferred rendering of normals\r\n    new Layer(diffuseGroup),\r\n    new Layer(normalGroup),\r\n    new Layer(lightGroup),\r\n    // Add the lights and images\r\n    background\r\n);\r\n```\r\n\r\n### Filters\r\n\r\nIf you want to use light shaders inside a filter, make sure its full-screen:\r\n\r\n```js\r\napp.stage.filters = [new BlurFilter()];\r\napp.stage.filterArea = app.screen;\r\n```\r\n\r\n## Vanilla JS, UMD build\r\n\r\nAll pixiJS v6 plugins has special `umd` build suited for vanilla.\r\nNavigate `pixi-lights` npm package, take `dist/pixi-lights.umd.js` file.\r\n\r\n```html\r\n<script src='lib/pixi.js'></script>\r\n<script src='lib/pixi-lights.umd.js'></script>\r\n```\r\n\r\nall classes can be accessed through `PIXI.lights` package.\r\n\r\n## Building\r\n\r\nYou normally don't need to build this module, you can just download a release from the releases page.\r\n\r\nHowever, if you are developing on the project or want a bleeding edge build then you\r\nwill need to have [node][node] setup on your machine.\r\n\r\nThen you can install dependencies and build:\r\n\r\n```js\r\nnpm i && npm run build\r\n```\r\n\r\nThat will output the built distributables to `./lib` and `./dist`.\r\n\r\n[node]:       http://nodejs.org/\r\n\r\n## Roadmap\r\n\r\n1. More lighting types, left are:\r\n - Spot lights\r\n - Hemisphere lights\r\n - Area lights\r\n2. Add dynamic shadows\r\n3. Write tests!\r\n","readmeFilename":"README.md"}