Fix texture wrapping artifacts in sphere shader
parent
e5eebeb613
commit
e68f0848c2
|
@ -123,6 +123,9 @@ M: spheres-gadget distance-step ( gadget -- dz )
|
||||||
GL_TEXTURE_CUBE_MAP swap glBindTexture
|
GL_TEXTURE_CUBE_MAP swap glBindTexture
|
||||||
GL_TEXTURE_CUBE_MAP GL_TEXTURE_MAG_FILTER GL_LINEAR glTexParameteri
|
GL_TEXTURE_CUBE_MAP GL_TEXTURE_MAG_FILTER GL_LINEAR glTexParameteri
|
||||||
GL_TEXTURE_CUBE_MAP GL_TEXTURE_MIN_FILTER GL_LINEAR glTexParameteri
|
GL_TEXTURE_CUBE_MAP GL_TEXTURE_MIN_FILTER GL_LINEAR glTexParameteri
|
||||||
|
GL_TEXTURE_CUBE_MAP GL_TEXTURE_WRAP_S GL_CLAMP glTexParameteri
|
||||||
|
GL_TEXTURE_CUBE_MAP GL_TEXTURE_WRAP_T GL_CLAMP glTexParameteri
|
||||||
|
GL_TEXTURE_CUBE_MAP GL_TEXTURE_WRAP_R GL_CLAMP glTexParameteri
|
||||||
GL_TEXTURE_CUBE_MAP_POSITIVE_X
|
GL_TEXTURE_CUBE_MAP_POSITIVE_X
|
||||||
GL_TEXTURE_CUBE_MAP_POSITIVE_Y
|
GL_TEXTURE_CUBE_MAP_POSITIVE_Y
|
||||||
GL_TEXTURE_CUBE_MAP_POSITIVE_Z
|
GL_TEXTURE_CUBE_MAP_POSITIVE_Z
|
||||||
|
|
Loading…
Reference in New Issue