public Vector4 FS(FragmentInput input) { Vector4 color = ShaderBuiltins.Sample(SourceTex, SourceSampler, input.TexCoords); color.W = 1; return(color); }
public Vector4 FS(FragmentInput input) { Vector4 color = ShaderBuiltins.Sample(SourceTex, SourceSampler, input.TexCoords); return(new Vector4(ToSrgb(color.XYZ()), 1f)); }