I'm trying to implement the GTA VC Trails effect into MTA:SA. I try to use the hlsl code from skygfx (a popular mod for restore ps2 effect to GTA: SA PC) and load it in MTASA which fails to compile. the official WIKI says MTA:SA use HLSL shader which is identical to the skygfx.
Anyone have idea for how to convert it into MTA-SA?
vcTrails.hlsl (From SKYGFX) :
float4 main(uniform sampler2D Diffuse : register(s0),
uniform float4 RGB1 : register(c0),
uniform float4 RGB2 : register(c1),
in float2 Tex0 : TEXCOORD0) : COLOR0