aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-04-17 10:08:10 -0500
committerSubv <subv2112@gmail.com>2018-04-17 10:16:50 -0500
commitb5fdd197b2b0a81eeffe13240c3fbdb2900d20f5 (patch)
tree5b3986b8db0c481f6e73e4b2ace16f1645d8d770 /src/core/core.cpp
parent03ee087c5e4d14c54d8f4b241c5d75e3ff8490ea (diff)
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.
Diffstat (limited to 'src/core/core.cpp')
0 files changed, 0 insertions, 0 deletions