dimforge / dimforge/nalgebra

Projection: implement reversed-Z and infinite zFar

Open
#573 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4.8k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

Reversed-Z and infinite zFar are two techniques that improves depth precision, mitigating issues like Z-fighting. The implementation is described [here](http://dev.theomader.com/depth-precision/).

These approaches are gradually gaining popularity as default configuration in game engines. Especially, infinite zFar makes things simpler and should be the go-to configuration to be used.

Reversed-Z has a different Z representation: thus it's backward incompatible and needs a different API. Infinite zFar should be implemented as an addition to the API.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.