Skip to content

Instantly share code, notes, and snippets.

View jeffersonfr's full-sized avatar
💭
... reading

Jeff Ferr jeffersonfr

💭
... reading
  • Joao Pessoa - PB
View GitHub Profile
@knee-cola
knee-cola / ProgressiveImgLoader.js
Last active June 25, 2025 04:48
simple progressive texture image loader for Three.js
/**
* @author knee-cola / https://github.com/knee-cola
* Original file URL: https://gist.github.com/knee-cola/37875bc4359609b96c9f329cd2a68fa1
*/
// This is a simple progressive image loader for Three.js
// It enables the smaller image files to be loaded first,
// before the big texture image is fully loaded.
//
// The images are loaded in the order they are passed