How to Rotate a Vertex by a Quaternion in GLSL
0 Members and 1 Guest are viewing this topic.
Avoiding Texture Seams by Discarding Filter TapsMapping textures to complex objects is a non-trivial task. It is often desirable or even necessary to map separate textures to different parts of an object, but it may be difficult to obtain high-quality texture filtering across the seams where textures meet. Existing real-time methods either require significant amounts of memory, prohibit use of wide texture filters, or have a high complexity. In this paper, we present a new method for sampling textures which is surprisingly simple, does not require padding, and results in high image quality. The method discards filter taps that extend beyond the texture boundary and relies on multisample antialiasing in order to produce good image quality. Our method is suitable for real-time implementations of rectangular-chart-based assets, such as per-patch texturing(e.g. Ptex).