문제

As you may know, in three.js there are 3 wrapping modes

THREE.RepeatWrapping
THREE.ClampToEdgeWrapping
THREE.MirroredRepeatWrapping

But in OpenGL, there are 4 modes.

Link to image

I need the repeat mode from OpenGL called GL_CLAMP_TO_BORDER to be available in Three.js. How do I implement a new repeat mode in three.js to provide this functionality?

PS. I know about consts value its 1000 - 1003 but the last one it not 1004

도움이 되었습니까?

해결책

"CLAMP_TO_BORDER is not supported on OGL ES (WebGL)." Source.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top