Skip to content
Discussion options

You must be logged in to vote

I was able to get the following basic shader working:

float2 TextureSize;
float PxRange;
float Thickness;

sampler SpriteTextureSampler;

float4 SamplePS(
	float4 Position : SV_Position,
	float4 Color : COLOR0,
	float2 TexCoord : TEXCOORD0) : COLOR0
{
	return Color;
}

technique SmoothText
{
	pass
	{
		PixelShader = compile ps_3_0 SamplePS();
	}
};

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dtaylorus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant