Anisotropic filtering is a common technique used to improve texture quality in 3D rendering. Conveniently, THREE.js exposes an anisotropy property on textures.
Progress
[ ] Cap anisotropy level at the max allowed by GPU
This is exposed by THREE on the renderer object.
[ ] Add a config UI widget with options for anisotropy level
Choices should be limited to max level allowed by GPU.
[ ] Pass anisotropy level to materials (ADT material, M2 material, WMO material)
This might be a good use for an event emitter, a la what we have in mind for passing light values around.
Before / After
By way of example, here's a before and after screenshot pair for anisotropy level 8. In particular, look at the cobblestone terrain texture toward the top of the screenshot.
Anisotropic filtering is a common technique used to improve texture quality in 3D rendering. Conveniently,
THREE.js
exposes an anisotropy property on textures.Progress
Before / After
By way of example, here's a before and after screenshot pair for anisotropy level 8. In particular, look at the cobblestone terrain texture toward the top of the screenshot.
Before
After