commit
56a8899611
@ -0,0 +1,6 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"components": [
|
||||
"Microsoft.VisualStudio.Workload.ManagedGame"
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,76 +1,65 @@
|
||||
Shader "QO/Sprite Sub" {
|
||||
Properties {
|
||||
_MainTex ("Base (RGBA)", 2D) = "white" {}
|
||||
_Color ("Color", Color) = (1,1,1,1)
|
||||
_UVWH ("UVWH", Vector) = (0,0,1,1)
|
||||
}
|
||||
SubShader {
|
||||
LOD 200
|
||||
Tags { "QUEUE"="Transparent" "RenderType"="Transparent" }
|
||||
Pass {
|
||||
Tags { "QUEUE"="Transparent" "RenderType"="Transparent" }
|
||||
Blend SrcAlpha One
|
||||
BlendOp RevSub
|
||||
Program "vp" {
|
||||
SubProgram "gles " {
|
||||
"!!GLES
|
||||
// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)'
|
||||
|
||||
Shader "QO/Sprite Sub"
|
||||
{
|
||||
Properties
|
||||
{
|
||||
_MainTex("Base (RGBA)", 2D) = "white" {}
|
||||
_Color("Color", Color) = (1,1,1,1)
|
||||
_UVWH("UVWH", Vector) = (0,0,1,1)
|
||||
}
|
||||
|
||||
#ifdef VERTEX
|
||||
SubShader
|
||||
{
|
||||
LOD 200
|
||||
|
||||
varying lowp vec2 xlv_TEXCOORD0;
|
||||
uniform highp vec4 _UVWH;
|
||||
uniform highp mat4 glstate_matrix_mvp;
|
||||
attribute vec4 _glesMultiTexCoord0;
|
||||
attribute vec4 _glesVertex;
|
||||
void main ()
|
||||
{
|
||||
lowp vec2 wh_1;
|
||||
lowp vec2 uv_2;
|
||||
lowp vec2 tmpvar_3;
|
||||
highp vec2 tmpvar_4;
|
||||
tmpvar_4 = _UVWH.xy;
|
||||
uv_2 = tmpvar_4;
|
||||
highp vec2 tmpvar_5;
|
||||
tmpvar_5 = _UVWH.zw;
|
||||
wh_1 = tmpvar_5;
|
||||
highp vec2 tmpvar_6;
|
||||
tmpvar_6 = ((_glesMultiTexCoord0.xy * wh_1) + uv_2);
|
||||
tmpvar_3 = tmpvar_6;
|
||||
gl_Position = (glstate_matrix_mvp * _glesVertex);
|
||||
xlv_TEXCOORD0 = tmpvar_3;
|
||||
}
|
||||
Tags { "QUEUE" = "Transparent" "RenderType" = "Transparent" }
|
||||
Pass {
|
||||
Blend SrcAlpha OneMinusSrcAlpha
|
||||
|
||||
CGPROGRAM
|
||||
#pragma vertex vert
|
||||
#pragma fragment frag
|
||||
|
||||
#include "UnityCG.cginc"
|
||||
|
||||
#endif
|
||||
#ifdef FRAGMENT
|
||||
sampler2D _MainTex;
|
||||
half4 _Color;
|
||||
float4 _UVWH;
|
||||
|
||||
varying lowp vec2 xlv_TEXCOORD0;
|
||||
uniform highp vec4 _Color;
|
||||
uniform sampler2D _MainTex;
|
||||
void main ()
|
||||
{
|
||||
mediump vec4 tmpvar_1;
|
||||
mediump vec4 texcol_2;
|
||||
lowp vec4 tmpvar_3;
|
||||
tmpvar_3 = texture2D (_MainTex, xlv_TEXCOORD0);
|
||||
texcol_2 = tmpvar_3;
|
||||
tmpvar_1 = (texcol_2 * _Color);
|
||||
gl_FragData[0] = tmpvar_1;
|
||||
}
|
||||
struct appdata_t
|
||||
{
|
||||
float4 vertex : POSITION;
|
||||
half4 color : COLOR;
|
||||
float2 texcoord : TEXCOORD0;
|
||||
};
|
||||
|
||||
struct v2f
|
||||
{
|
||||
float4 vertex : POSITION;
|
||||
half4 color : COLOR;
|
||||
float2 texcoord : TEXCOORD0;
|
||||
};
|
||||
|
||||
v2f vert(appdata_t v)
|
||||
{
|
||||
v2f o;
|
||||
float2 uv_2 = _UVWH.xy;
|
||||
float2 wh_1 = _UVWH.zw;
|
||||
o.color = v.color;
|
||||
o.vertex = UnityObjectToClipPos(v.vertex);
|
||||
o.texcoord = ((v.texcoord * wh_1) + uv_2);
|
||||
return o;
|
||||
}
|
||||
|
||||
#endif"
|
||||
}
|
||||
}
|
||||
Program "fp" {
|
||||
SubProgram "gles " {
|
||||
"!!GLES"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Fallback "Diffuse"
|
||||
half4 frag(v2f IN) : COLOR
|
||||
{
|
||||
float4 tex = tex2D(_MainTex, IN.texcoord);
|
||||
float4 tmpvar_1 = (tex * _Color);
|
||||
return tmpvar_1;
|
||||
}
|
||||
ENDCG
|
||||
}
|
||||
}
|
||||
Fallback Off
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
m_EditorVersion: 2021.2.10f1
|
||||
m_EditorVersionWithRevision: 2021.2.10f1 (ee872746220e)
|
||||
m_EditorVersion: 2021.3.10f1
|
||||
m_EditorVersionWithRevision: 2021.3.10f1 (1c7d0df0160b)
|
||||
|
||||
@ -1,40 +0,0 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2008
|
||||
|
||||
Project("{F49C4458-A18F-61D2-2434-21FA1E281883}") = "unityshinsoubanalice", "Assembly-CSharp-vs.csproj", "{8064C318-980D-5E6D-F7D0-C6A8C4DBEB3C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{8064C318-980D-5E6D-F7D0-C6A8C4DBEB3C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8064C318-980D-5E6D-F7D0-C6A8C4DBEB3C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8064C318-980D-5E6D-F7D0-C6A8C4DBEB3C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8064C318-980D-5E6D-F7D0-C6A8C4DBEB3C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(MonoDevelopProperties) = preSolution
|
||||
StartupItem = Assembly-CSharp.csproj
|
||||
Policies = $0
|
||||
$0.TextStylePolicy = $1
|
||||
$1.inheritsSet = null
|
||||
$1.scope = text/x-csharp
|
||||
$0.CSharpFormattingPolicy = $2
|
||||
$2.inheritsSet = Mono
|
||||
$2.inheritsScope = text/x-csharp
|
||||
$2.scope = text/x-csharp
|
||||
$0.TextStylePolicy = $3
|
||||
$3.FileWidth = 120
|
||||
$3.TabWidth = 4
|
||||
$3.IndentWidth = 4
|
||||
$3.EolMarker = Unix
|
||||
$3.inheritsSet = Mono
|
||||
$3.inheritsScope = text/plain
|
||||
$3.scope = text/plain
|
||||
EndGlobalSection
|
||||
|
||||
EndGlobal
|
||||
@ -1,40 +0,0 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2008
|
||||
|
||||
Project("{F49C4458-A18F-61D2-2434-21FA1E281883}") = "unityshinsoubanalice", "Assembly-CSharp.csproj", "{8064C318-980D-5E6D-F7D0-C6A8C4DBEB3C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{8064C318-980D-5E6D-F7D0-C6A8C4DBEB3C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8064C318-980D-5E6D-F7D0-C6A8C4DBEB3C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8064C318-980D-5E6D-F7D0-C6A8C4DBEB3C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8064C318-980D-5E6D-F7D0-C6A8C4DBEB3C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(MonoDevelopProperties) = preSolution
|
||||
StartupItem = Assembly-CSharp.csproj
|
||||
Policies = $0
|
||||
$0.TextStylePolicy = $1
|
||||
$1.inheritsSet = null
|
||||
$1.scope = text/x-csharp
|
||||
$0.CSharpFormattingPolicy = $2
|
||||
$2.inheritsSet = Mono
|
||||
$2.inheritsScope = text/x-csharp
|
||||
$2.scope = text/x-csharp
|
||||
$0.TextStylePolicy = $3
|
||||
$3.FileWidth = 120
|
||||
$3.TabWidth = 4
|
||||
$3.IndentWidth = 4
|
||||
$3.EolMarker = Unix
|
||||
$3.inheritsSet = Mono
|
||||
$3.inheritsScope = text/plain
|
||||
$3.scope = text/plain
|
||||
EndGlobalSection
|
||||
|
||||
EndGlobal
|
||||
@ -1,22 +0,0 @@
|
||||
<Properties>
|
||||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" PreferredExecutionTarget="MonoDevelop.Default" />
|
||||
<MonoDevelop.Ide.Workbench ActiveDocument="Assets\Scripts\Assembly-CSharp\Man2D.cs">
|
||||
<Files>
|
||||
<File FileName="Assets\Scripts\Assembly-CSharp\Man2D.cs" Line="317" Column="23" />
|
||||
<File FileName="Assets\Scripts\Assembly-CSharp\UnityGraph.cs" Line="87" Column="3" />
|
||||
<File FileName="Assets\Scripts\Assembly-CSharp\EffectManager.cs" Line="179" Column="3" />
|
||||
<File FileName="Assets\Scripts\Assembly-CSharp\ManTexture.cs" Line="59" Column="4" />
|
||||
</Files>
|
||||
</MonoDevelop.Ide.Workbench>
|
||||
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||
<BreakpointStore>
|
||||
<Breakpoint enabled="false" file="C:\Users\lovel\Documents\unityshinsoubanalice\Assets\Scripts\Assembly-CSharp\MsgWnd.cs" line="316" />
|
||||
<Breakpoint enabled="false" file="C:\Users\lovel\Documents\unityshinsoubanalice\Assets\Scripts\Assembly-CSharp\Qoo\Ks\KsScene.cs" line="846" />
|
||||
<Breakpoint enabled="false" file="C:\Users\lovel\Documents\unityshinsoubanalice\Assets\Scripts\Assembly-CSharp\Qoo\Ks\KsTagInfo_PRINT.cs" line="30" />
|
||||
<Breakpoint enabled="false" file="C:\Users\lovel\Documents\unityshinsoubanalice\Assets\Scripts\Assembly-CSharp\Pathing.cs" line="55" />
|
||||
<Breakpoint file="C:\Users\lovel\Documents\unityshinsoubanalice\Assets\Scripts\Assembly-CSharp\UnitySprite.cs" line="372" />
|
||||
<Breakpoint file="C:\Users\lovel\Documents\unityshinsoubanalice\Assets\Scripts\Assembly-CSharp\UnityGraph.cs" line="330" />
|
||||
</BreakpointStore>
|
||||
</MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
|
||||
</Properties>
|
||||
Loading…
Reference in New Issue