yeah i like the shader but is only in glsl format
can be converted to slang ?
zfast_crt_geo_svideo.glsl
yeah i like the shader but is only in glsl format
can be converted to slang ?
zfast_crt_geo_svideo.glsl
There is already a shader with that name as Slang: shaders/shaders_slang/crt/shaders/zfast_crt/zfast_crt_geo.slang
, at least without the “_svideo” part. It’s description says following:
Dogway: I modified zfast_crt.glsl shader to include screen curvature, vignetting, round corners and phosphor*temperature. Horizontal pixel is left out > from the Quilez’ algo (read above) to provide a more S-Video like horizontal blur. The scanlines and mask are also now performed in the recommended linear light. For this to run smoothly on GPU deprived platforms like the Chromecast and older consoles, I had to remove several parameters and hardcode them into the shader. Another POV is to run the shader on handhelds like the Switch or SteamDeck so they consume less battery.
The look is probably not exactly the same, so you would need to test it yourself. I assume you could just use this Slang version and add a “svideo” effect (maybe shaders/shaders_slang/ntsc/ntsc-256px-svideo.slangp
) on top of it, then save it as a new shader. I don’t know if this is necessary.