Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 600 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 600 Bytes

shaderc_webservice

Web service that compiles GLSL code to SPIR-V bytecode.

💪 Webservice is powered by Dart with shelf_plus.

Usage

  • Make sure Dart is installed.
  • Make shaderc locally available.
  • Set desired environment variables
  • Start server with dart run

Environment variables

GLSLC_PATH: Path to your local glslc executable. Defaults to shaderc/bin/glslc.

Also see https://pub.dev/packages/shelf_plus#custom-configuration.