Why aren't there constantly more shading languages popping up all the time like other languages?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/GraphicsProgramming

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Sonar - Free webinar: The Power of Clean C++
  • Zigi - Delete the most useless function ever: context switching.
  • Scout APM - Truly a developer’s best friend
  • filament

    Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2

    There are a handful of other examples out there of high-level shading languages - Cg (long deprecated), whatever Filament Material system uses (example), and various GLSL preprocessors (example).

  • glsl-preprocessor

    A GLSL Preprocessor

    There are a handful of other examples out there of high-level shading languages - Cg (long deprecated), whatever Filament Material system uses (example), and various GLSL preprocessors (example).

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • slang

    Making it easier to work with shaders

  • SDL_shader_tools

    Shader compiler and tools for SDLSL (Simple Directmedia Layer Shader Language)

  • glassful

    Rust-like syntax for OpenGL Shading Language

  • xshade

    "cross shade" meta shading language and compiler

  • rust-gpu

    🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧

  • Sonar

    Free webinar: The Power of Clean C++. Are you ready to take your C++ code to the next level? Join Sonar on December 7th for our live webinar as we discuss how to get your code clean - and stay clean - with minimal effort and without being overloaded with warnings. Register now!

  • cg2c

  • shady

    Research shading language IR (by Hugobros3)

  • SPIRV-Cross

    SPIRV-Cross is a practical tool and library for performing reflection on SPIR-V and disassembling SPIR-V back to high level languages.

    There also exists something like SPIRV-Cross which promises to be able to generate code from the SPIRV intermediate representation into Metal and all versions of GLSL and HLSL. I am not sure really how good it is at this point, but going forward we might start to see more high-level shader languages, that compile to SPRIV and then from there to the myriad of different shader formats different platforms expect.

  • ssgl

    single source shaders for opengl

    Include is probably your best bet there. Personally I use this system that I made, which borrows the single source programming model from CUDA so that shaders are just reinterpreted C++ code that can sit within the rest of the program. This means I can call the same functions from C++ and the shaders, and includes work just like any other includes.

  • DirectXShaderCompiler

    This repo hosts the source for the DirectX Shader Compiler which is based on LLVM/Clang.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts