parent
7325d978f6
commit
118797b89c
12 changed files with 4405 additions and 1541 deletions
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,54 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!86 &8600000 |
||||
CustomRenderTexture: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_Name: Composite |
||||
m_ImageContentsHash: |
||||
serializedVersion: 2 |
||||
Hash: 00000000000000000000000000000000 |
||||
m_IsAlphaChannelOptional: 0 |
||||
serializedVersion: 6 |
||||
m_Width: 3240 |
||||
m_Height: 1920 |
||||
m_AntiAliasing: 1 |
||||
m_MipCount: -1 |
||||
m_DepthStencilFormat: 94 |
||||
m_ColorFormat: 8 |
||||
m_MipMap: 0 |
||||
m_GenerateMips: 1 |
||||
m_SRGB: 0 |
||||
m_UseDynamicScale: 0 |
||||
m_UseDynamicScaleExplicit: 0 |
||||
m_BindMS: 0 |
||||
m_EnableCompatibleFormat: 1 |
||||
m_EnableRandomWrite: 0 |
||||
m_TextureSettings: |
||||
serializedVersion: 2 |
||||
m_FilterMode: 1 |
||||
m_Aniso: 0 |
||||
m_MipBias: 0 |
||||
m_WrapU: 1 |
||||
m_WrapV: 1 |
||||
m_WrapW: 1 |
||||
m_Dimension: 2 |
||||
m_VolumeDepth: 1 |
||||
m_ShadowSamplingMode: 2 |
||||
m_Material: {fileID: 2100000, guid: 485bd291cb986cf41949892ab26046fa, type: 2} |
||||
m_InitSource: 0 |
||||
m_InitMaterial: {fileID: 0} |
||||
m_InitColor: {r: 1, g: 1, b: 1, a: 1} |
||||
m_InitTexture: {fileID: 0} |
||||
m_UpdateMode: 1 |
||||
m_InitializationMode: 2 |
||||
m_UpdateZoneSpace: 0 |
||||
m_CurrentUpdateZoneSpace: 0 |
||||
m_UpdateZones: [] |
||||
m_UpdatePeriod: 0 |
||||
m_ShaderPass: 0 |
||||
m_CubemapFaceMask: 4294967295 |
||||
m_DoubleBuffered: 0 |
||||
m_WrapUpdateZones: 0 |
||||
@ -0,0 +1,8 @@ |
||||
fileFormatVersion: 2 |
||||
guid: e3ebce48cfe43f24a8a7beb3a6dbe041 |
||||
NativeFormatImporter: |
||||
externalObjects: {} |
||||
mainObjectFileID: 8600000 |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,148 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!114 &-126217822333819360 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 11 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 0} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion |
||||
version: 10 |
||||
--- !u!21 &2100000 |
||||
Material: |
||||
serializedVersion: 8 |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_Name: Composite |
||||
m_Shader: {fileID: 4800000, guid: 8bb20e2a2510072498ae77acdb76c707, type: 3} |
||||
m_Parent: {fileID: 0} |
||||
m_ModifiedSerializedProperties: 0 |
||||
m_ValidKeywords: [] |
||||
m_InvalidKeywords: [] |
||||
m_LightmapFlags: 4 |
||||
m_EnableInstancingVariants: 0 |
||||
m_DoubleSidedGI: 0 |
||||
m_CustomRenderQueue: -1 |
||||
stringTagMap: {} |
||||
disabledShaderPasses: |
||||
- MOTIONVECTORS |
||||
m_LockedProperties: |
||||
m_SavedProperties: |
||||
serializedVersion: 3 |
||||
m_TexEnvs: |
||||
- _BaseMap: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _BumpMap: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _CenterTex: |
||||
m_Texture: {fileID: 8400000, guid: 64fa9a3a115ceb4488ceff267150f1ff, type: 2} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _DetailAlbedoMap: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _DetailMask: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _DetailNormalMap: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _EmissionMap: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _LeftTex: |
||||
m_Texture: {fileID: 8400000, guid: de3934cb10406bb4daa84cabd7a9a4d8, type: 2} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _MainTex: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _MetallicGlossMap: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _OcclusionMap: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _ParallaxMap: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _RightTex: |
||||
m_Texture: {fileID: 8400000, guid: 245943abdb3cd8141a9b3d9bc30db011, type: 2} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _SpecGlossMap: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- unity_Lightmaps: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- unity_LightmapsInd: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- unity_ShadowMasks: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
m_Ints: [] |
||||
m_Floats: |
||||
- _AddPrecomputedVelocity: 0 |
||||
- _AlphaClip: 0 |
||||
- _AlphaToMask: 0 |
||||
- _Blend: 0 |
||||
- _BlendModePreserveSpecular: 1 |
||||
- _BumpScale: 1 |
||||
- _ClearCoatMask: 0 |
||||
- _ClearCoatSmoothness: 0 |
||||
- _Cull: 2 |
||||
- _Cutoff: 0.5 |
||||
- _DetailAlbedoMapScale: 1 |
||||
- _DetailNormalMapScale: 1 |
||||
- _DstBlend: 0 |
||||
- _DstBlendAlpha: 0 |
||||
- _EnvironmentReflections: 1 |
||||
- _GlossMapScale: 0 |
||||
- _Glossiness: 0 |
||||
- _GlossyReflections: 0 |
||||
- _Metallic: 0 |
||||
- _OcclusionStrength: 1 |
||||
- _Parallax: 0.005 |
||||
- _QueueOffset: 0 |
||||
- _ReceiveShadows: 1 |
||||
- _Smoothness: 0.5 |
||||
- _SmoothnessTextureChannel: 0 |
||||
- _SpecularHighlights: 1 |
||||
- _SrcBlend: 1 |
||||
- _SrcBlendAlpha: 1 |
||||
- _Surface: 0 |
||||
- _WorkflowMode: 1 |
||||
- _XRMotionVectorsPass: 1 |
||||
- _ZWrite: 1 |
||||
m_Colors: |
||||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1} |
||||
- _Color: {r: 1, g: 1, b: 1, a: 1} |
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1} |
||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} |
||||
m_BuildTextureStacks: [] |
||||
m_AllowLocking: 1 |
||||
@ -0,0 +1,8 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 485bd291cb986cf41949892ab26046fa |
||||
NativeFormatImporter: |
||||
externalObjects: {} |
||||
mainObjectFileID: 2100000 |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,44 @@ |
||||
Shader "UltraCombos/Composite" |
||||
{ |
||||
Properties |
||||
{ |
||||
_LeftTex ("Left", 2D) = "black" {} |
||||
_CenterTex ("Center", 2D) = "black" {} |
||||
_RightTex ("Right", 2D) = "black" {} |
||||
} |
||||
|
||||
SubShader |
||||
{ |
||||
Blend One Zero |
||||
|
||||
Pass |
||||
{ |
||||
Name "Composite" |
||||
|
||||
CGPROGRAM |
||||
#include "UnityCustomRenderTexture.cginc" |
||||
#pragma vertex CustomRenderTextureVertexShader |
||||
#pragma fragment frag |
||||
#pragma target 3.0 |
||||
|
||||
sampler2D _LeftTex; |
||||
sampler2D _CenterTex; |
||||
sampler2D _RightTex; |
||||
|
||||
float4 frag(v2f_customrendertexture IN) : SV_Target |
||||
{ |
||||
float2 uv = IN.localTexcoord.xy; |
||||
float x = uv.x; |
||||
const float third = 1.0 / 3.0; |
||||
|
||||
if (x < third) |
||||
return tex2D(_LeftTex, float2(x * 3.0, uv.y)); |
||||
else if (x < 2.0 * third) |
||||
return tex2D(_CenterTex, float2((x - third) * 3.0, uv.y)); |
||||
else |
||||
return tex2D(_RightTex, float2((x - 2.0 * third) * 3.0, uv.y)); |
||||
} |
||||
ENDCG |
||||
} |
||||
} |
||||
} |
||||
@ -0,0 +1,9 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 8bb20e2a2510072498ae77acdb76c707 |
||||
ShaderImporter: |
||||
externalObjects: {} |
||||
defaultTextures: [] |
||||
nonModifiableTextures: [] |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,39 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!84 &8400000 |
||||
RenderTexture: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_Name: Output 1 |
||||
m_ImageContentsHash: |
||||
serializedVersion: 2 |
||||
Hash: 00000000000000000000000000000000 |
||||
m_IsAlphaChannelOptional: 0 |
||||
serializedVersion: 6 |
||||
m_Width: 1080 |
||||
m_Height: 1920 |
||||
m_AntiAliasing: 1 |
||||
m_MipCount: -1 |
||||
m_DepthStencilFormat: 94 |
||||
m_ColorFormat: 48 |
||||
m_MipMap: 0 |
||||
m_GenerateMips: 1 |
||||
m_SRGB: 0 |
||||
m_UseDynamicScale: 0 |
||||
m_UseDynamicScaleExplicit: 0 |
||||
m_BindMS: 0 |
||||
m_EnableCompatibleFormat: 1 |
||||
m_EnableRandomWrite: 0 |
||||
m_TextureSettings: |
||||
serializedVersion: 2 |
||||
m_FilterMode: 1 |
||||
m_Aniso: 0 |
||||
m_MipBias: 0 |
||||
m_WrapU: 1 |
||||
m_WrapV: 1 |
||||
m_WrapW: 1 |
||||
m_Dimension: 2 |
||||
m_VolumeDepth: 1 |
||||
m_ShadowSamplingMode: 2 |
||||
@ -0,0 +1,8 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 64fa9a3a115ceb4488ceff267150f1ff |
||||
NativeFormatImporter: |
||||
externalObjects: {} |
||||
mainObjectFileID: 8400000 |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,39 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!84 &8400000 |
||||
RenderTexture: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_Name: Output 2 |
||||
m_ImageContentsHash: |
||||
serializedVersion: 2 |
||||
Hash: 00000000000000000000000000000000 |
||||
m_IsAlphaChannelOptional: 0 |
||||
serializedVersion: 6 |
||||
m_Width: 1080 |
||||
m_Height: 1920 |
||||
m_AntiAliasing: 1 |
||||
m_MipCount: -1 |
||||
m_DepthStencilFormat: 94 |
||||
m_ColorFormat: 48 |
||||
m_MipMap: 0 |
||||
m_GenerateMips: 1 |
||||
m_SRGB: 0 |
||||
m_UseDynamicScale: 0 |
||||
m_UseDynamicScaleExplicit: 0 |
||||
m_BindMS: 0 |
||||
m_EnableCompatibleFormat: 1 |
||||
m_EnableRandomWrite: 0 |
||||
m_TextureSettings: |
||||
serializedVersion: 2 |
||||
m_FilterMode: 1 |
||||
m_Aniso: 0 |
||||
m_MipBias: 0 |
||||
m_WrapU: 1 |
||||
m_WrapV: 1 |
||||
m_WrapW: 1 |
||||
m_Dimension: 2 |
||||
m_VolumeDepth: 1 |
||||
m_ShadowSamplingMode: 2 |
||||
@ -0,0 +1,8 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 245943abdb3cd8141a9b3d9bc30db011 |
||||
NativeFormatImporter: |
||||
externalObjects: {} |
||||
mainObjectFileID: 8400000 |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
Loading…
Reference in new issue