Clickteam shader coding help?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • For a while now, I've been really wanting to code shaders of my own, but I can't seem to find any good guides for it!
    I tried following along with Clickteam's own guides, but even then, the shader I compiled didn't work. It requires some sort of FXC file, which is never mentioned in their documentation.
    Does anyone have a more in depth documentation for how Clickteam's shaders work?

  • I don't know much about shaders, but it sounds like you were following a guide for dx9 shaders, while you tried to run it in dx11. I believe fxc files are the dx11 versions.

    So try running your shader in dx9. And after, if you want to convert it to dx11, Yves posted a guide for converting from dx9 to dx11 somewhere.

    Please login to see this link.
    My Fusion Tools: Please login to see this link. | Please login to see this link. | Please login to see this link.

  • When talking DX11, FXC is the compiled version of the shader, HLSL is the source code for it.
    You need the compiler, you can find here: Please login to see this link.
    Just drag and drop your HLSL to it, or better yet, make the hlsl format to be opened by it, so you just have to double click the shader to compile.
    I've added a run button to my Notepad++ so I can just save and press run to compile.

    As for learning, I've just started making copies and modifying existing Fusion shaders, and a googled anything I didn't understood, but I do know a little bit of code structure so that helped...

    Edited once, last by NaitorStudios (October 10, 2022 at 3:44 PM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!