Skip to content

Implement tri-linear texture sampling in the texture API #213

@Dawoodoz

Description

@Dawoodoz

Tri-linear texture sampling would allow raising the sampling quality on 3D rendering using yet another template argument. It is done by sampling two mip levels when close to a transition and fading linearly between them to make surfaces look more natural. If lightmaps and diffuse maps are mixed in advance using dynamic lightmaps, it will not be too expensive on cheap laptops.

Anisotropic filtering would however be a bit pointless without dedicated hardware for anti-aliasing, so high quality rendering can just render to a higher resolution with super sampling, or use random offsets with undersampling of sharper MIP layers and motion blur as a temporal filter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions