From 7e1df4fee1a1c6d812079a4355cbb609686734f2 Mon Sep 17 00:00:00 2001 From: hecomi Date: Sat, 5 Jan 2019 14:58:07 +0900 Subject: [PATCH] add unlit and transparent shaders that have flip-x/y properties. --- .../{uWC_UnlitMask.mat => uWC_Icon.mat} | Bin 5208 -> 5200 bytes ...C_UnlitMask.mat.meta => uWC_Icon.mat.meta} | 0 .../Materials/uWC_Transparent.mat | Bin 0 -> 5312 bytes .../Materials/uWC_Transparent.mat.meta | 8 +++ Assets/uWindowCapture/Materials/uWC_Unlit.mat | Bin 5204 -> 5308 bytes Assets/uWindowCapture/Shaders.meta | 8 +++ Assets/uWindowCapture/Shaders/UwcCommon.cginc | 50 ++++++++++++++++++ .../Shaders/UwcCommon.cginc.meta | 9 ++++ .../Shaders/UwcTransparent.shader | 45 ++++++++++++++++ .../Shaders/UwcTransparent.shader.meta | 9 ++++ Assets/uWindowCapture/Shaders/UwcUnlit.shader | 39 ++++++++++++++ .../Shaders/UwcUnlit.shader.meta | 9 ++++ 12 files changed, 177 insertions(+) rename Assets/uWindowCapture/Materials/{uWC_UnlitMask.mat => uWC_Icon.mat} (79%) rename Assets/uWindowCapture/Materials/{uWC_UnlitMask.mat.meta => uWC_Icon.mat.meta} (100%) create mode 100644 Assets/uWindowCapture/Materials/uWC_Transparent.mat create mode 100644 Assets/uWindowCapture/Materials/uWC_Transparent.mat.meta create mode 100644 Assets/uWindowCapture/Shaders.meta create mode 100644 Assets/uWindowCapture/Shaders/UwcCommon.cginc create mode 100644 Assets/uWindowCapture/Shaders/UwcCommon.cginc.meta create mode 100644 Assets/uWindowCapture/Shaders/UwcTransparent.shader create mode 100644 Assets/uWindowCapture/Shaders/UwcTransparent.shader.meta create mode 100644 Assets/uWindowCapture/Shaders/UwcUnlit.shader create mode 100644 Assets/uWindowCapture/Shaders/UwcUnlit.shader.meta diff --git a/Assets/uWindowCapture/Materials/uWC_UnlitMask.mat b/Assets/uWindowCapture/Materials/uWC_Icon.mat similarity index 79% rename from Assets/uWindowCapture/Materials/uWC_UnlitMask.mat rename to Assets/uWindowCapture/Materials/uWC_Icon.mat index c4f557510d6a7b931b5c940a51789f56870d3bf7..f88d2a13a4b4f44767aa7a374118d9147791b269 100644 GIT binary patch delta 119 zcmcbiaY4g@fq`=Z1A|Ba0|SE~1A_pNVqh>bFtpG!(lathGi3Pp|NnnRMxdZ5Nap|l z8@C=5?Tz4fh-i)DztObBeWJYslPk-{#`7E?y$ak4AZ1_>usN1f9Z} delta 137 zcmcbhaYMtNfq}D!fk7mKfq_Agfk6OBF)$bz7@F&u=ozLNGW`4h|34!mP)rmg@&CVr zo1p38^1uFvoi?9&d6~g^qJsnHRYrye9-u7K#Eaq^7i{F7S9SO9RWBaQ$7 diff --git a/Assets/uWindowCapture/Materials/uWC_UnlitMask.mat.meta b/Assets/uWindowCapture/Materials/uWC_Icon.mat.meta similarity index 100% rename from Assets/uWindowCapture/Materials/uWC_UnlitMask.mat.meta rename to Assets/uWindowCapture/Materials/uWC_Icon.mat.meta diff --git a/Assets/uWindowCapture/Materials/uWC_Transparent.mat b/Assets/uWindowCapture/Materials/uWC_Transparent.mat new file mode 100644 index 0000000000000000000000000000000000000000..f69f921f772e54e30daacdc686b86bb515876d08 GIT binary patch literal 5312 zcmeI0&u<$=6vxMjosbk-%8yc7poa3B652p%OWVYb<0PhWWOQWo@X8VK&&I|^CPVOE^lWTg`}OzW`{iAQ z<#%4)b?wd1r|U#dQ~vm`rXd^Lh=s_|zc2em{B1_WS%Q#KH6w=TzMK{D?R4!+ zd7t==G!9T3_WjIb8q+66Nasmv-=_OWl6XeE+b7~5sR5lF+hYz>2mUF0Q)e*c88Jip zUy~91#~hiMbuvfDA5?JooGF0!v!DBE4E!7h=h`pk$@Vp>XzxgQMv#UWqY6J!QF{Hn zgIUacbG$oKuKb*)HvHK|S6T+x8-5~_Tlu*goU7^QT`5=jTBbJQx|=Er)_Im@YVkeo z7^XM)TblDWDJYISen1>Ld#Iv7=P%-4(LMaX4=@Hd{ok8%bDi%8r-JoAKzYYHLuVgg z44&mYex&*Sl;@1~d4RZDp8+F}4}x9rY`1v$lwV#~dKQ(_Q<^9IIhfH}f??e5-twz`2_FnoN0) z<3+x*#L84r@Lt7x=8%qS3NQvY&NqER=H7}2m@Db~a~-OsJ8ge)`V`ZhaS@?Ad&MIctiMPXASxa4=_)eZfB6-m;C zyFdKqhuVdYi&O7kIWhmmdqaQpC%xO(?G@Nwf$bI8UV-fu_P$CB=DQaD$dqsinWDub!m37Qk%VC&7I9#I*n=955t>;$-*3iZv@s{qv3Y9bmS&` z_Pb^WG>5%*lf0>o-@o{VVolI#i>@fhmo?!Mm<%H(`Qi;$4;suqDGak6$*`6o$8u51+tKN}~ zu4@M~bd+{+oQ6|clhSZwJ>qfRe|0*yHyoDWJ)qkqzl~?E$hpyMPCteGylJ)|?WW4w zXl~=1ACKkz V0hH`Tb>*BT&s%E4L-l|0_`hbHn=b$W literal 0 HcmV?d00001 diff --git a/Assets/uWindowCapture/Materials/uWC_Transparent.mat.meta b/Assets/uWindowCapture/Materials/uWC_Transparent.mat.meta new file mode 100644 index 0000000..75edecc --- /dev/null +++ b/Assets/uWindowCapture/Materials/uWC_Transparent.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2a939a96427023b4ba408f4d29630749 +timeCreated: 1483419084 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/uWindowCapture/Materials/uWC_Unlit.mat b/Assets/uWindowCapture/Materials/uWC_Unlit.mat index be02e1c93bf5c430c83c9f90b449135e191666dc..32215ece31979d23639718eeafff71a9534cd737 100644 GIT binary patch delta 274 zcmcbju}9N^fq}D_fk9*s0|SE~1A_pNVqh>bFtpG!(lathGi3Pp|NnnRMxdZ5Nap|l z8@C=5?Tz4fh-i)DztObBeWJYslPk-{#`7G8KzRjj1&}f@*uw&2F))A(U`P{-&YBaQ z@3)li`v