PAIR-code/megaplot

Refactor GLSL code into .glsl files

Open

#51 opened on Sep 19, 2022

View on GitHub
 (1 comment) (0 reactions) (0 assignees)TypeScript (3 forks)auto 404
help wanted

Repository metrics

Stars
 (21 stars)
PR merge metrics
 (PR metrics pending)

Description

Currently, the GLSL code for Megaplot is in large template strings in files under src/lib/shaders. As such, code support tooling such as syntax highlighting rarely works.

Instead, it would be better to have GLSL source code live in files with a .glsl extension. These could be loaded directly in TypeScript via the webpack-glsl-loader plugin, or by some other method.

Contributor guide