How do I get shaders from Shadertoy to Reshade?

  • MATA_CSGO
  • Topic Author
More
2 years 1 week 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
1 year 11 months ago - 1 year 11 months 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: 1 year 11 months ago by Cyberfishofant. Reason: Bad line wrapping

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

  • zoidbun
More
1 year 8 months 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.