There seems to be a bug in the "DrawText_Digit" function from DrawText.fxh.
#include "ReShadeUI.fxh"
uniform float testfloat < __UNIFORM_SLIDER_FLOAT1
ui_min = 0; ui_max = 1000;
ui_step = 1;
> = 100;
#include "ReShade.fxh"
#include "DrawText.fxh"
float4 PS_DrawDigitTest(float4 pos : SV_Position, float2 texcoord : TEXCOORD) : SV_Target
{
float res = 0;
DrawText_Digit(float2(500.0 , 500.0), 32, 1, texcoord, 0, testfloat , res);
return res;
}
technique DrawDigitTest
{
pass {
VertexShader = PostProcessVS;
PixelShader = PS_DrawDigitTest;
}
}