mapbox / mapbox-scenekit

Other
231 stars 51 forks source link

use linear color space in polyline shader #55

Closed jim-martin closed 5 years ago

jim-martin commented 5 years ago

Addresses #54

The unlit-line shader incorrectly output in gamma color space. This fix updates the output color space to linear with the formula outlined in https://developer.apple.com/metal/Metal-Shading-Language-Specification.pdf (7.7.7).