Closed fewizz closed 1 year ago
... globally, at the Minecraft class constructor tail. Fixes cubemap texture linear filter. Change glFramebufferTextureLayer call to glFramebufferTexture2D for cubemaps.
Minecraft
glFramebufferTextureLayer
glFramebufferTexture2D
I've used this quite a bit for Forget-me-not, especially for cube-mip-maps. It works as intended for me.
Under the standard filtering rules for cubemaps, filtering does not work across faces of the cubemap. This results in a seam across the faces of a cubemap. This was a hardware limitation in the past, but modern hardware is capable of interpolating across a cube face boundary.
... globally, at the
Minecraft
class constructor tail. Fixes cubemap texture linear filter. ChangeglFramebufferTextureLayer
call toglFramebufferTexture2D
for cubemaps.