diff options
| author | yum <yum.food.vr@gmail.com> | 2024-12-01 18:00:57 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-12-01 18:00:57 -0800 |
| commit | a116fda8c034ab13bf8b1cf1b4cbdc4ba9eba6b0 (patch) | |
| tree | 7e6bcd3a9ea57694ce607ad702077ee254b1a50d /globals.cginc | |
| parent | 3089bd2ea6a3952e3ea0f31d8fc5eca1864cefab (diff) | |
Add smoothness control to msdf font renderer
Also rescale atlas so we can use texture sizes that are not a perfect
multiple of the grid size.
Diffstat (limited to 'globals.cginc')
| -rw-r--r-- | globals.cginc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc index 8432b8e..09bb36b 100644 --- a/globals.cginc +++ b/globals.cginc @@ -741,6 +741,7 @@ float _Gimmick_Letter_Grid_Rim_Lighting_Mask_Invert; #if defined(_GIMMICK_LETTER_GRID_2) texture2D _Gimmick_Letter_Grid_2_Texture; +float4 _Gimmick_Letter_Grid_2_Texture_TexelSize; float _Gimmick_Letter_Grid_2_Res_X; float _Gimmick_Letter_Grid_2_Res_Y; float4 _Gimmick_Letter_Grid_2_Data_Row_0; @@ -757,6 +758,9 @@ float _Gimmick_Letter_Grid_2_Roughness; float _Gimmick_Letter_Grid_2_Emission; texture2D _Gimmick_Letter_Grid_2_Mask; float _Gimmick_Letter_Grid_2_Global_Offset; +float _Gimmick_Letter_Grid_2_Screen_Px_Range; +float _Gimmick_Letter_Grid_2_Min_Screen_Px_Range; +float _Gimmick_Letter_Grid_2_Blurriness; #endif #if defined(_GIMMICK_AL_CHROMA_00) |
