horde3d / Horde3D

Horde3D is a small 3D rendering and animation engine. It is written in an effort to create an engine being as lightweight and conceptually clean as possible.
http://horde3d.org/
1.52k stars 306 forks source link

Binary shader support #208

Closed algts closed 2 years ago

algts commented 2 years ago

This pull request adds binary shader support to Horde3D which is a major requirement for future Vulkan backend. A new binary format was developed that is fully documented. Chicago is currently the only sample that uses binary shaders. On the first run, it loads all the shaders then generates the binary shader versions. On the next run binary shaders are loaded.

Tested on Windows with nvidia card, on Linux with mesa and intel card (gl and gles). Android and ios support not tested yet. Comments and suggestions are welcome.

P.S. Next is FBX support in converter.