[unity] Fixed SkeletonGraphic shader texcoord precision issue. Closes #2892.

This commit is contained in:
Harald Csaszar 2025-07-18 19:13:31 +02:00
parent f5d728d49d
commit 75e58c70ce
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ struct VertexInput {
struct VertexOutput {
float4 vertex : SV_POSITION;
fixed4 color : COLOR;
half2 texcoord : TEXCOORD0;
float2 texcoord : TEXCOORD0;
float4 worldPosition : TEXCOORD1;
UNITY_VERTEX_OUTPUT_STEREO
};

View File

@ -19,7 +19,7 @@ struct VertexInput {
struct VertexOutput {
float4 vertex : SV_POSITION;
half4 color : COLOR;
half2 texcoord : TEXCOORD0;
float2 texcoord : TEXCOORD0;
float4 darkColor : TEXCOORD1;
float4 worldPosition : TEXCOORD2;
#ifdef _CANVAS_GROUP_COMPATIBLE