{"_id":"@blooooork/three-lighting","name":"@blooooork/three-lighting","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@blooooork/three-lighting","version":"1.0.0","description":"Professional lighting system for Three.js with advanced spotlights, debug visualization, and shadow optimization","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"vite build","prepublishOnly":"npm run build"},"keywords":["three.js","webgl","lighting","shadows","spotlights","debug","visualization"],"author":{"name":"blooooork"},"license":"MIT","peerDependencies":{"three":"^0.160.0"},"publishConfig":{"access":"public"},"devDependencies":{"vite":"^5.0.8","three":"^0.160.0"},"_id":"@blooooork/three-lighting@1.0.0","gitHead":"2eac8868bd395b89f78c7c6e1f1bca6df56266f1","_nodeVersion":"23.5.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-3DmSWx3N20A4T4Xip60naZaJsoY5XEqTkzMKeOMerNQP8xipKAF5eB6HDRozlFgpHqsn+IGAOJhSvl/cSpRTmw==","shasum":"57331d141a542ddac2cc68aad35bd925560cd24c","tarball":"https://registry.npmjs.org/@blooooork/three-lighting/-/three-lighting-1.0.0.tgz","fileCount":4,"unpackedSize":10527,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDqYoJmnE4vHPLnZtGNVtCG2O8tLmEcMO+Wz03GacOu4AiAPd+llQzzqr0ugnfAoYao3B6seGRQVXcWtngj4iXxAZw=="}]},"_npmUser":{"name":"blooooork","email":"steven.meier77@gmail.com"},"directories":{},"maintainers":[{"name":"blooooork","email":"steven.meier77@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/three-lighting_1.0.0_1740689899450_0.038546203348736485"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-27T20:58:19.368Z","1.0.0":"2025-02-27T20:58:19.601Z","modified":"2025-02-27T20:58:19.868Z"},"maintainers":[{"name":"blooooork","email":"steven.meier77@gmail.com"}],"description":"Professional lighting system for Three.js with advanced spotlights, debug visualization, and shadow optimization","keywords":["three.js","webgl","lighting","shadows","spotlights","debug","visualization"],"author":{"name":"blooooork"},"license":"MIT","readme":"# @blooooork/three-lighting\n\nProfessional lighting system for Three.js applications. This package provides advanced spotlight management, debug visualization, and shadow optimization.\n\n## Features\n\n### 🔦 Advanced Spotlight System\nCreate and manage spotlights with precise control:\n```javascript\nimport { LightingSystem } from '@blooooork/three-lighting';\n\nconst lighting = new LightingSystem(scene, {\n    debug: true,              // Enable debug visualization\n    shadowMapSize: 2048       // High-quality shadows\n});\n\nconst spotlight = lighting.createSpotlight({\n    position: new THREE.Vector3(0, 50, 0),\n    target: new THREE.Vector3(0, 0, 0),\n    color: 0xffffff,\n    intensity: 1,\n    angle: Math.PI / 6,\n    penumbra: 0.1,\n    castShadow: true\n});\n\n// Dynamic control\nspotlight.setPosition(new THREE.Vector3(10, 50, 10));\nspotlight.setTarget(new THREE.Vector3(0, 0, 0));\nspotlight.setIntensity(1.5);\nspotlight.setAngle(Math.PI / 4);\n```\n\n### 🎯 Debug Visualization\nProfessional debug tools for light setup:\n```javascript\n// Toggle debug visualization at runtime\nlighting.setDebug(true);  // Show debug helpers\nlighting.setDebug(false); // Hide debug helpers\n\n// Debug features include:\n// - Spotlight direction indicators\n// - Light cone visualization\n// - Shadow camera frustum\n// - Interactive adjustments\n```\n\n### ⚡ Optimized Performance\nBuilt with performance in mind:\n- Shared materials for debug visualization\n- Efficient memory management\n- Automatic resource cleanup\n- Smart shadow map configuration\n\n## Benefits\n\n- **Professional Lighting**: Create cinematic lighting setups\n- **Visual Debugging**: Intuitive tools for light positioning\n- **Memory Efficient**: Automatic resource management\n- **Shadow Optimization**: High-quality shadows with performance\n- **Easy to Use**: Simple API with powerful features\n\n## Installation\n\n```bash\nnpm install @blooooork/three-lighting\n```\n\n## Requirements\n- three.js ^0.160.0\n\n## License\nMIT ","readmeFilename":"README.md"}