Skip to content

Instantly share code, notes, and snippets.

View josephsheedy's full-sized avatar

Joseph Sheedy josephsheedy

View GitHub Profile
@josephsheedy
josephsheedy / turbo_colormap.glsl
Created October 17, 2023 21:58 — forked from mikhailov-work/turbo_colormap.glsl
Turbo Colormap Polynomial Approximation in GLSL
// Copyright 2019 Google LLC.
// SPDX-License-Identifier: Apache-2.0
// Polynomial approximation in GLSL for the Turbo colormap
// Original LUT: https://gist.github.com/mikhailov-work/ee72ba4191942acecc03fe6da94fc73f
// Authors:
// Colormap Design: Anton Mikhailov (mikhailov@google.com)
// GLSL Approximation: Ruofei Du (ruofei@google.com)