mirror of
https://github.com/BlackMATov/unity-flash-tools.git
synced 2025-12-13 11:39:54 +07:00
upgrade to 5.6.6f2
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 240dc5fd769aa4f798ec49a8275a1644
|
||||
folderAsset: yes
|
||||
timeCreated: 1528465475
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -105,7 +105,7 @@ struct swf_mask_v2f_t {
|
||||
|
||||
inline swf_v2f_t swf_vert(swf_appdata_t IN) {
|
||||
swf_v2f_t OUT;
|
||||
OUT.vertex = mul(UNITY_MATRIX_MVP, IN.vertex);
|
||||
OUT.vertex = UnityObjectToClipPos(IN.vertex);
|
||||
OUT.uv = IN.uv;
|
||||
OUT.mulcolor = IN.mulcolor * _Tint;
|
||||
OUT.addcolor = IN.addcolor;
|
||||
@@ -114,7 +114,7 @@ inline swf_v2f_t swf_vert(swf_appdata_t IN) {
|
||||
|
||||
inline swf_grab_v2f_t swf_grab_vert(swf_grab_appdata_t IN) {
|
||||
swf_grab_v2f_t OUT;
|
||||
OUT.vertex = mul(UNITY_MATRIX_MVP, IN.vertex);
|
||||
OUT.vertex = UnityObjectToClipPos(IN.vertex);
|
||||
OUT.uv = IN.uv;
|
||||
OUT.mulcolor = IN.mulcolor * _Tint;
|
||||
OUT.addcolor = IN.addcolor;
|
||||
@@ -124,7 +124,7 @@ inline swf_grab_v2f_t swf_grab_vert(swf_grab_appdata_t IN) {
|
||||
|
||||
inline swf_mask_v2f_t swf_mask_vert(swf_mask_appdata_t IN) {
|
||||
swf_mask_v2f_t OUT;
|
||||
OUT.vertex = mul(UNITY_MATRIX_MVP, IN.vertex);
|
||||
OUT.vertex = UnityObjectToClipPos(IN.vertex);
|
||||
OUT.uv = IN.uv;
|
||||
return OUT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user