Efficient Bicubic filtering code in GLSL?

前端 未结 8 1821
感动是毒
感动是毒 2021-01-30 06:11

I\'m wondering if anyone has complete, working, and efficient code to do bicubic texture filtering in glsl. There is this:

http://www.codeproject.com/Articles/236394/Bi-

8条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-30 06:13

    For anybody interested in GLSL code to do tri-cubic interpolation, ray-casting code using cubic interpolation can be found in the examples/glCubicRayCast folder in: http://www.dannyruijters.nl/cubicinterpolation/CI.zip

    edit: The cubic interpolation code is now available on github: CUDA version and WebGL version, and GLSL sample.

提交回复
热议问题