menpo / menpo3d

Tools for manipulating 3D meshes within the Menpo project.
http://www.menpo.org
Other
165 stars 55 forks source link

Fix rasterizer fragment shader layout #73

Closed patricksnape closed 3 years ago

patricksnape commented 3 years ago

Merge after #72

This fixes rendering on headless servers by specifcally setting the layout location for the fragment shader outputs. Apparently this is implementation dependent otherwise and it seems using llvmpipe (osmesa) binds the outputs in a different order which causes rendering errors. This is now fixed.