buildinginstructions.js
buildinginstructions.js copied to clipboard
Proper rendering of transparent parts
A smarter algorithm should be used to compute the order of which transparent polygons are drawn.
Follow the discussion and ideas posted here: https://forums.ldraw.org/thread-23540-lastpost.html
After having studied stencilbuffers and depthbuffers, it seems like these cannot be used for this purpose. Custom shaders, and "write to texture" seems to be a more viable approach.