DirectX shader bytecode cross compiler (by Unity-Technologies)

HLSLcc Alternatives

Similar projects and alternatives to HLSLcc

  • GitHub repo UtinyRipper

    GUI and API library to work with Engine assets, serialized and bundle files

  • GitHub repo DXDecompiler

  • GitHub repo GraphicsAdder

    A program that converts the Direct3D shaders of Outer Wilds to OpenGL as a first step to port it to other platforms. May be generalized to all Direct3D-exclusive games in the future.

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better HLSLcc alternative or higher similarity.


Posts where HLSLcc has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-07-22.
  • Ripper for shaders or how fix them
    reddit.com/r/Unity3D | 2021-07-22
    No documentation, I got no clue if this one is working. Unity has a crosscompiler https://github.com/Unity-Technologies/HLSLcc, or you can also read this write-up and try out SlimShader (http://timjones.io/blog/archive/2015/09/02/parsing-direct3d-shader-bytecode).
  • So I got Outer Wilds working with OpenGL... kind of (disorientation warning, more details in comments)
    Using the libraries AssetsTools.NET and uTinyRipper to deal with Unity asset bundles and HLSLcc and its wrapper HLSLccWrapper to convert the shaders themselves, I created a working prototype called GraphicsAdder that takes a Windows Steam installation of Outer Wilds and produces copies of its files that work with both Direct3D and OpenGL. By adding some flags to Launch Options in Properties, you can switch between the two at launch!


Basic HLSLcc repo stats
10 months ago

Unity-Technologies/HLSLcc is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.