mirror of https://git.suyu.dev/suyu/suyu
MaxwellToGL: Added a TODO and partial implementation of maxwell wrap mode 4 (Clamp, GL_CLAMP).
This clamp mode was removed from OpenGL as of 3.1, we can emulate it by using GL_CLAMP_TO_BORDER to get the border color of the texture, and then manually sampling the edge to mix them in the fragment shader.merge-requests/60/head
parent
44e09ba807
commit
7fc516cc1a
Loading…
Reference in New Issue