How do I get shaders from Shadertoy to Reshade?

  • MATA_CSGO
  • Topic Author
More
7 months 3 weeks ago #1 by MATA_CSGO How do I get shaders from Shadertoy to Reshade? was created by MATA_CSGO
Hi, I was just playing some Half-life 2 and I thought that it would be cool to add a VHS effect to it so I searched on google how to get it and I found the following links:VHS Tape Noise: Vladmir Storm ( www.shadertoy.com/view/MlfSWr )
VCR Distortion: ryk ( www.shadertoy.com/view/ldjGzV )
VHS Distortion: drmelon ( www.shadertoy.com/view/4dBGzK )
Dirty old CRT: Klowner ( www.shadertoy.com/view/MsXGD4 )
NTSC Codec: UltraMoogleMan ( www.shadertoy.com/view/ldXGRf )

So how do I get them to Reshade?

Please Log in or Create an account to join the conversation.

  • Cyberfishofant
More
7 months 6 days ago - 7 months 6 days ago #2 by Cyberfishofant Replied by Cyberfishofant on topic How do I get shaders from Shadertoy to Reshade?
If i'm not mistaken, you can't. ReShade uses ReshadeFX* (similar to HLSL*), while Shadertoy uses GLSL*. That's like:
  • trying to run c code with a python interpreter
  • trying to run a MacOS application on Windows
those are just two examples.
You could, however, rewrite the shaders for the ReShade FX* language


*these are shading languages
Last edit: 7 months 6 days ago by Cyberfishofant. Reason: Bad line wrapping

Please Log in or Create an account to join the conversation.

  • zoidbun
More
3 months 4 weeks ago #3 by zoidbun Replied by zoidbun on topic How do I get shaders from Shadertoy to Reshade?
For anyone wanting to attempt a conversion from GLSL to reshade, try this approach:

phind.com, prompt:
"please rewrite this GLSL shader to HLSL:"
** paste your GLSL shader code here **

Then you should have a good starting point to get going.

Please Log in or Create an account to join the conversation.

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.