From b8c97ca36a489c9b222b54986e7b4030a9592e43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Sat, 22 Jun 2019 02:00:14 +0000 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a0900fb..beed287 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,9 @@ TODO - No dependencies (uses only stdint standard library), extremely portable. - Single header, KISS. - Pure C99, tested to run as C++ as well. -- Still flexible -- pixels are left for you to draw in any way you want with a custom fragment-shader like function. +- Still flexible -- pixels are left for you to draw in any way you want with a custom fragment-shader like function. +- Perspective correction, 3 modes: none (linear only), full (per-pixel), approximation (per-N-pixels). +- Different drawing strategies to choose from: none, z-buffer (none, full, reduced), triangle sorting (back-to-front, fron-to-back with stencil buffer). - Triangles provide barycentric coordinates, thanks to which practically anything that can be achieved with OpenGL can be achieved (texturing, shading, normal-mapping, transparency, PBR, shadow mapping, ...). - Tested on multiple platforms (PC, Arduboy, Pokitto, Gamebuino META). - Many compile-time options to tune the performance vs quality. @@ -36,6 +38,6 @@ TODO TODO -## tips +## tips/troubleshooting - Seeing buggy triangles flashing in front of the camera? With the limited 32bit arithmetic far-away things may be overflowing. Try to scale down the scene. If you also don't mind it, set `S3L_STRICT_NEAR_CULLING` to `1` -- this should probably solve it. \ No newline at end of file