
Draw modes are now enabled/disabled by bitmask and can be combined. Combining silhouette mode and color mask mode will be useful for color-touching-color, for example. Effect converters are now one field in a larger EFFECT_INFO map, which also contains bitmask values for each effect. Drawable no longer makes any assumptions regarding how ShaderManager will unpack the effect bits. The shader cache is now an array of arrays, where the outer index is the mask of active draw modes and the inner index is the mask of active effects (as it was before). Effects which cannot impact the shape of a Drawable are masked out in silhouette mode in order to avoid compiling redundant shaders.
Description
Languages
JavaScript
91.9%
GLSL
4.6%
HTML
3.5%