mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[unity] Fixed SkeletonGraphic shader texcoord precision issue. Closes #2892.
This commit is contained in:
parent
f5d728d49d
commit
75e58c70ce
@ -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
|
||||
};
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user