Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
removed temporary function
Browse files Browse the repository at this point in the history
  • Loading branch information
Elysia-simp authored Jan 9, 2023
1 parent 968e2fc commit ac00291
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions Sub/functions.fxh
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,12 @@ float2 scaleUV(float2 uv, float scale) //for eyestar
return offset + center;
}

float2 face_UV(float2 uv)
{
float2 center = 0.5f;
uv *= 0.25f;
#ifdef eye_right
uv.x *= -1;
uv.x += center.x;
#endif
return uv;
}

float3 Saturate_Col(float3 color, float saturation)
{
float3 gray = dot(color, float4(0.299, 0.587, 0.114, 0));
return lerp(gray, color, saturation);
}


//honkai starrail functions
float3 outlineWidthAdjustZs = float3(0.01, 150., 200.);
float3 outlineWidthAdjustScales = float3(0.105, 0.2, .3);
Expand Down

0 comments on commit ac00291

Please sign in to comment.