Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix geometry clipping problem for GL ES.
NoN - no near clipping. GL ES does not support z-clipping disabling, so harmless hack used here. Harmlessness condition: z value is not used by pixel pipeline. gDP.otherMode.depthCompare == 0 && gDP.otherMode.depthUpdate == 0 - z not used for depth compare/update. Thus we can set vertex z to any value, which will ensure that z/w is in range [-1, 1], e.g. to zero. Fixed issue #588
- Loading branch information