Okay here we go:
-2. All significant mods bear a
MLL 03-30-2019: tag.
-1. Currently, culling (see item 3 below)
does not work for
glassy meshes until we have a dedicated glass shader and proper dynamic back-to-front alpha sorting for all transparent meshes depending on current model orientation.
0. The sources have
no trace of Tor.
1. OR uses a 32x MSAA FBO but
no MSAA in its gP.hGL. Therefore if you switch off
Inspect->Use framebuffers, the display becomes jagged, and A2C transparencies, dithered. The switch-off should be accompanied with a matching reload of AA pixelformat but I haven't yet implemented it.
2. There are glitches with tool window popping on pressing Ctrl when a fancy mode is being rendered and a PP shader used. Ctrl doesn't know what shader to pop up the tool window for.
3. OR now implements
per-material culling and two-sided lighting. Use
#cull and
#bothsides metas directly in the newmtl definitions to cull and two-side-light selected materials. The same metas may be used globally to apply culling and two-sided lighting to the entire model.
Note that as per the OpenGL specs, two-sided lighting has
no effect on textured meshes in the
Fixed Function Pipeline mode.
4. The mods are abundant so please use these sources as the basis for merging. Add your mods (if any) to them but not vice versa.
5. Wherever found, please
do not revert my curly-braceless notation back to your funny style. I'm using these pieces of code very often, and too many curly braces make C code readability very poor.
6.
Alt+Enter now toggles full screen like in my FBSL shader demos.

Please inform me a.s.a.p. if the mods are working for you as expected. I tested them under my W10 and they worked fine for me.