mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-24 04:15:11 +00:00
88cc142afb
End goal of this is to be an anisotropic filtering purely on the GPU without any actual mipmaps in the graphics subsystem. The basic idea behind it is that we can create all possible mipmaps in a twice as big texture as the original and then can efficiently render it no matter the GPU features as it will only consume one sampler. The texture that it outputs will have both horizontal, vertical and full mipmaps in it. Horizontal mipmaps reduce Width, Vertical mipmaps reduce Height and full mipmaps reduce both. This means that LoD levels are both possible in the X and Y direction, allowing for much greater precision mipmapping on all GPUs. This is a temporary solution until we can directly copy updated textures to a mipmap level. |
||
---|---|---|
.. | ||
filter-blur.cpp | ||
filter-blur.h | ||
filter-displacement.cpp | ||
filter-displacement.h | ||
filter-shape.cpp | ||
filter-shape.h | ||
filter-transform.cpp | ||
filter-transform.h | ||
gs-effect.cpp | ||
gs-effect.h | ||
gs-helper.cpp | ||
gs-helper.h | ||
gs-indexbuffer.cpp | ||
gs-indexbuffer.h | ||
gs-mipmapper.cpp | ||
gs-mipmapper.h | ||
gs-rendertarget.cpp | ||
gs-rendertarget.h | ||
gs-texture.cpp | ||
gs-texture.h | ||
gs-vertex.cpp | ||
gs-vertex.h | ||
gs-vertexbuffer.cpp | ||
gs-vertexbuffer.h | ||
plugin.cpp | ||
plugin.h | ||
strings.h | ||
version.h.in |