https://github.com/mcgode/three-js-fix-rgba-depth
https://github.com/mcgode/three-js-fix-rgba-depth
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mcgode/three-js-fix-rgba-depth
- Owner: Mcgode
- License: mit
- Created: 2020-09-21T09:07:11.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-24T09:48:16.000Z (about 5 years ago)
- Last Synced: 2025-03-14T12:13:34.425Z (8 months ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# three-js-fix-rgba-depth
A script for fixing the RGBA depth packing, which had some precision issues, for revision 101 of three.js.
## Usage
Simply import this script after three.js, the script will replace THREE.ShaderLib.depth values.