mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[unity] Fixed SkeletonGraphic shader texcoord precision issue. Closes #2892.
This commit is contained in:
parent
18f9bf8d71
commit
a0c9d6a6aa
@ -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