There are three wrapping modes available in three.js:
THREE.RepeatWrapping
THREE.ClampToEdgeWrapping
THREE.MirroredRepeatWrapping
Interestingly, in OpenGL, there are four modes to choose from.
Take a look at this image for reference
I am looking to implement a new repeat mode in Three.js that replicates the functionality of the OpenGL mode called GL_CLAMP_TO_BORDER
. How can I go about adding this feature to Three.js?
PS. Though I am aware that consts value ranges from 1000 to 1003, it's interesting to note that the last one is not 1004