diff options
53 files changed, 1711 insertions, 417 deletions
diff --git a/CRT Mats/fft_256x256_r16_0.mat b/CRT Mats/fft_256x256_r16_0.mat index 9f23de2..886f4f2 100644 --- a/CRT Mats/fft_256x256_r16_0.mat +++ b/CRT Mats/fft_256x256_r16_0.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: 451baf2d778907c40abcfdd01568dbec, type: 3} + m_Texture: {fileID: 8400000, guid: 94437398166ee4e48b995b82c8629646, type: 2} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: @@ -61,6 +61,7 @@ Material: m_Offset: {x: 0, y: 0} m_Ints: [] m_Floats: + - _BitReversal: 0 - _BumpScale: 1 - _Cutoff: 0.5 - _DetailNormalMapScale: 1 @@ -68,12 +69,16 @@ Material: - _GlossMapScale: 1 - _Glossiness: 0.5 - _GlossyReflections: 1 + - _Inverse: 0 + - _LDS: 0 + - _Luminance: 0 - _Metallic: 0 - _Mode: 0 - _N: 256 - _OcclusionStrength: 1 - _Parallax: 0.02 - _PassThrough: 0 + - _Passthrough: 0 - _Radix: 16 - _SmoothnessTextureChannel: 0 - _SpecularHighlights: 1 diff --git a/CRT Mats/fft_256x256_r16_1.mat b/CRT Mats/fft_256x256_r16_1.mat index a7033f2..d01d46c 100644 --- a/CRT Mats/fft_256x256_r16_1.mat +++ b/CRT Mats/fft_256x256_r16_1.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 8600000, guid: c9c54816808b6e84da48f627666f60ff, type: 2} + m_Texture: {fileID: 8400000, guid: 37d8c69b67f50b6499d74722ca71e6d1, type: 2} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: @@ -61,6 +61,7 @@ Material: m_Offset: {x: 0, y: 0} m_Ints: [] m_Floats: + - _BitReversal: 0 - _BumpScale: 1 - _Cutoff: 0.5 - _DetailNormalMapScale: 1 @@ -68,12 +69,16 @@ Material: - _GlossMapScale: 1 - _Glossiness: 0.5 - _GlossyReflections: 1 + - _Inverse: 0 + - _LDS: 0 + - _Luminance: 0 - _Metallic: 0 - _Mode: 0 - _N: 256 - _OcclusionStrength: 1 - _Parallax: 0.02 - _PassThrough: 0 + - _Passthrough: 0 - _Radix: 16 - _SmoothnessTextureChannel: 0 - _SpecularHighlights: 1 diff --git a/CRT Mats/fft_256x256_r16_2.mat b/CRT Mats/fft_256x256_r16_2.mat index abf76d4..f719273 100644 --- a/CRT Mats/fft_256x256_r16_2.mat +++ b/CRT Mats/fft_256x256_r16_2.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 8600000, guid: cd991addf4196c848a0b9e217801971b, type: 2} + m_Texture: {fileID: 8400000, guid: f478fe60c6d85db4ebcfde29b8c00cb5, type: 2} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: @@ -61,6 +61,7 @@ Material: m_Offset: {x: 0, y: 0} m_Ints: [] m_Floats: + - _BitReversal: 0 - _BumpScale: 1 - _Cutoff: 0.5 - _DetailNormalMapScale: 1 @@ -68,12 +69,16 @@ Material: - _GlossMapScale: 1 - _Glossiness: 0.5 - _GlossyReflections: 1 + - _Inverse: 0 + - _LDS: 0 + - _Luminance: 0 - _Metallic: 0 - _Mode: 0 - _N: 256 - _OcclusionStrength: 1 - _Parallax: 0.02 - _PassThrough: 0 + - _Passthrough: 0 - _Radix: 16 - _SmoothnessTextureChannel: 0 - _SpecularHighlights: 1 diff --git a/CRT Mats/fft_256x256_r16_3.mat b/CRT Mats/fft_256x256_r16_3.mat index 1428b44..35c13ed 100644 --- a/CRT Mats/fft_256x256_r16_3.mat +++ b/CRT Mats/fft_256x256_r16_3.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 8600000, guid: 3998016f44386834baa183a67849ee02, type: 2} + m_Texture: {fileID: 8400000, guid: 982991c08a4b36046b5bb61d63a7cdfd, type: 2} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: @@ -61,6 +61,7 @@ Material: m_Offset: {x: 0, y: 0} m_Ints: [] m_Floats: + - _BitReversal: 0 - _BumpScale: 1 - _Cutoff: 0.5 - _DetailNormalMapScale: 1 @@ -68,12 +69,16 @@ Material: - _GlossMapScale: 1 - _Glossiness: 0.5 - _GlossyReflections: 1 + - _Inverse: 0 + - _LDS: 0 + - _Luminance: 0 - _Metallic: 0 - _Mode: 0 - _N: 256 - _OcclusionStrength: 1 - _Parallax: 0.02 - _PassThrough: 0 + - _Passthrough: 0 - _Radix: 16 - _SmoothnessTextureChannel: 0 - _SpecularHighlights: 1 diff --git a/CRT Mats/fft_256x256_r16_3_bitrev.mat b/CRT Mats/fft_256x256_r16_3_bitrev.mat new file mode 100644 index 0000000..c35b76c --- /dev/null +++ b/CRT Mats/fft_256x256_r16_3_bitrev.mat @@ -0,0 +1,93 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: fft_256x256_r16_3_bitrev + m_Shader: {fileID: 4800000, guid: 174262b1c731b7b45b2261d18f2cf325, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: + - _BITREVERSAL_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + 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} + - _MainTex: + m_Texture: {fileID: 8400000, guid: 3c8077a124afde54ebe6c9ff61a0bd4e, type: 2} + 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} + m_Ints: [] + m_Floats: + - _BitReversal: 1 + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Inverse: 0 + - _LDS: 0 + - _Luminance: 0 + - _Metallic: 0 + - _Mode: 0 + - _N: 256 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _PassThrough: 0 + - _Passthrough: 0 + - _Radix: 16 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _Stage: 0 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] diff --git a/CRTs/fft_256x256_r16_2.asset.meta b/CRT Mats/fft_256x256_r16_3_bitrev.mat.meta index 02e0b90..1863d0d 100644 --- a/CRTs/fft_256x256_r16_2.asset.meta +++ b/CRT Mats/fft_256x256_r16_3_bitrev.mat.meta @@ -1,8 +1,8 @@ fileFormatVersion: 2 -guid: 3998016f44386834baa183a67849ee02 +guid: 1544f59a65453084d9689c1a3897174e NativeFormatImporter: externalObjects: {} - mainObjectFileID: 8600000 + mainObjectFileID: 2100000 userData: assetBundleName: assetBundleVariant: diff --git a/CRT Mats/ifft_256x256_r16_0.mat b/CRT Mats/ifft_256x256_r16_0.mat index 069e6f7..05515cc 100644 --- a/CRT Mats/ifft_256x256_r16_0.mat +++ b/CRT Mats/ifft_256x256_r16_0.mat @@ -45,7 +45,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 8600000, guid: 23dd8ca686b07ea47872a30cdf999481, type: 2} + m_Texture: {fileID: 8400000, guid: 5c6e37925cf101549b3cae2b6147178f, type: 2} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: @@ -62,6 +62,7 @@ Material: m_Offset: {x: 0, y: 0} m_Ints: [] m_Floats: + - _BitReversal: 0 - _BumpScale: 1 - _Cutoff: 0.5 - _DetailNormalMapScale: 1 @@ -70,12 +71,15 @@ Material: - _Glossiness: 0.5 - _GlossyReflections: 1 - _Inverse: 1 + - _LDS: 0 + - _Luminance: 0 - _Metallic: 0 - _Mode: 0 - _N: 256 - _OcclusionStrength: 1 - _Parallax: 0.02 - _PassThrough: 0 + - _Passthrough: 0 - _Radix: 16 - _SmoothnessTextureChannel: 0 - _SpecularHighlights: 1 diff --git a/CRT Mats/ifft_256x256_r16_1.mat b/CRT Mats/ifft_256x256_r16_1.mat index e5e3330..5c916e1 100644 --- a/CRT Mats/ifft_256x256_r16_1.mat +++ b/CRT Mats/ifft_256x256_r16_1.mat @@ -45,7 +45,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 8600000, guid: 0544a9ef60424b841af82788be3c0e4b, type: 2} + m_Texture: {fileID: 8400000, guid: ef7e2adc6f791b94ea0f4b34710a8231, type: 2} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: @@ -62,6 +62,7 @@ Material: m_Offset: {x: 0, y: 0} m_Ints: [] m_Floats: + - _BitReversal: 0 - _BumpScale: 1 - _Cutoff: 0.5 - _DetailNormalMapScale: 1 @@ -70,12 +71,15 @@ Material: - _Glossiness: 0.5 - _GlossyReflections: 1 - _Inverse: 1 + - _LDS: 0 + - _Luminance: 0 - _Metallic: 0 - _Mode: 0 - _N: 256 - _OcclusionStrength: 1 - _Parallax: 0.02 - _PassThrough: 0 + - _Passthrough: 0 - _Radix: 16 - _SmoothnessTextureChannel: 0 - _SpecularHighlights: 1 diff --git a/CRT Mats/ifft_256x256_r16_2.mat b/CRT Mats/ifft_256x256_r16_2.mat index b255729..fbd9bb8 100644 --- a/CRT Mats/ifft_256x256_r16_2.mat +++ b/CRT Mats/ifft_256x256_r16_2.mat @@ -45,7 +45,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 8600000, guid: cbc995525c380264eadbe41c250f03ab, type: 2} + m_Texture: {fileID: 8400000, guid: 3bbcc0467629b554081cc2d8a16480ad, type: 2} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: @@ -62,6 +62,7 @@ Material: m_Offset: {x: 0, y: 0} m_Ints: [] m_Floats: + - _BitReversal: 0 - _BumpScale: 1 - _Cutoff: 0.5 - _DetailNormalMapScale: 1 @@ -70,12 +71,15 @@ Material: - _Glossiness: 0.5 - _GlossyReflections: 1 - _Inverse: 1 + - _LDS: 0 + - _Luminance: 0 - _Metallic: 0 - _Mode: 0 - _N: 256 - _OcclusionStrength: 1 - _Parallax: 0.02 - _PassThrough: 0 + - _Passthrough: 0 - _Radix: 16 - _SmoothnessTextureChannel: 0 - _SpecularHighlights: 1 diff --git a/CRT Mats/ifft_256x256_r16_3.mat b/CRT Mats/ifft_256x256_r16_3.mat index d4585ee..04e8291 100644 --- a/CRT Mats/ifft_256x256_r16_3.mat +++ b/CRT Mats/ifft_256x256_r16_3.mat @@ -45,7 +45,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 8600000, guid: 9895adf6cd83610459eaab69be20e5e2, type: 2} + m_Texture: {fileID: 8400000, guid: a1dee43ec96199e4a9897f4d83fde0dd, type: 2} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: @@ -62,6 +62,7 @@ Material: m_Offset: {x: 0, y: 0} m_Ints: [] m_Floats: + - _BitReversal: 0 - _BumpScale: 1 - _Cutoff: 0.5 - _DetailNormalMapScale: 1 @@ -70,12 +71,15 @@ Material: - _Glossiness: 0.5 - _GlossyReflections: 1 - _Inverse: 1 + - _LDS: 0 + - _Luminance: 0 - _Metallic: 0 - _Mode: 0 - _N: 256 - _OcclusionStrength: 1 - _Parallax: 0.02 - _PassThrough: 0 + - _Passthrough: 0 - _Radix: 16 - _SmoothnessTextureChannel: 0 - _SpecularHighlights: 1 diff --git a/CRT Mats/ifft_256x256_r16_3_bitrev.mat b/CRT Mats/ifft_256x256_r16_3_bitrev.mat new file mode 100644 index 0000000..7d53909 --- /dev/null +++ b/CRT Mats/ifft_256x256_r16_3_bitrev.mat @@ -0,0 +1,93 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: ifft_256x256_r16_3_bitrev + m_Shader: {fileID: 4800000, guid: 174262b1c731b7b45b2261d18f2cf325, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: + - _BITREVERSAL_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + 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} + - _MainTex: + m_Texture: {fileID: 8400000, guid: 3cad81fb96a636d47a43e9588609acf5, type: 2} + 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} + m_Ints: [] + m_Floats: + - _BitReversal: 1 + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Inverse: 0 + - _LDS: 0 + - _Luminance: 0 + - _Metallic: 0 + - _Mode: 0 + - _N: 256 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _PassThrough: 0 + - _Passthrough: 0 + - _Radix: 16 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _Stage: 0 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] diff --git a/CRTs/fft_256x256_r16_0.asset.meta b/CRT Mats/ifft_256x256_r16_3_bitrev.mat.meta index 75a2de7..1fbabfe 100644 --- a/CRTs/fft_256x256_r16_0.asset.meta +++ b/CRT Mats/ifft_256x256_r16_3_bitrev.mat.meta @@ -1,8 +1,8 @@ fileFormatVersion: 2 -guid: c9c54816808b6e84da48f627666f60ff +guid: de23af3d6f8065d4e89cb057b0cd99ec NativeFormatImporter: externalObjects: {} - mainObjectFileID: 8600000 + mainObjectFileID: 2100000 userData: assetBundleName: assetBundleVariant: diff --git a/CRT Mats/passthrough.mat b/CRT Mats/passthrough.mat index c1a4d95..d67e84a 100644 --- a/CRT Mats/passthrough.mat +++ b/CRT Mats/passthrough.mat @@ -13,6 +13,8 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: [] m_InvalidKeywords: + - _LDS_ON + - _LUMINANCE_ON - _PASSTHROUGH_ON m_LightmapFlags: 4 m_EnableInstancingVariants: 0 @@ -45,7 +47,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: 451baf2d778907c40abcfdd01568dbec, type: 3} + m_Texture: {fileID: 2800000, guid: d0dba03849af9df4fae990e250f66246, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: @@ -62,6 +64,7 @@ Material: m_Offset: {x: 0, y: 0} m_Ints: [] m_Floats: + - _BitReversal: 0 - _BumpScale: 1 - _Cutoff: 0.5 - _DetailNormalMapScale: 1 @@ -70,13 +73,15 @@ Material: - _Glossiness: 0.5 - _GlossyReflections: 1 - _Inverse: 0 - - _LDS: 0 + - _LDS: 1 + - _Luminance: 1 - _Metallic: 0 - _Mode: 0 - _N: 256 - _OcclusionStrength: 1 - _Parallax: 0.02 - _PassThrough: 1 + - _Passthrough: 1 - _Radix: 16 - _SmoothnessTextureChannel: 0 - _SpecularHighlights: 1 diff --git a/CRTs/fft_256x256_r16_0.asset b/CRTs/fft_stage0.renderTexture index de8f8c3..6098dd1 100644 --- a/CRTs/fft_256x256_r16_0.asset +++ b/CRTs/fft_stage0.renderTexture @@ -1,12 +1,12 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: ---- !u!86 &8600000 -CustomRenderTexture: +--- !u!84 &8400000 +RenderTexture: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_Name: fft_256x256_r16_0 + m_Name: fft_stage0 m_ImageContentsHash: serializedVersion: 2 Hash: 00000000000000000000000000000000 @@ -29,7 +29,7 @@ CustomRenderTexture: m_EnableRandomWrite: 0 m_TextureSettings: serializedVersion: 2 - m_FilterMode: 0 + m_FilterMode: 1 m_Aniso: 0 m_MipBias: 0 m_WrapU: 1 @@ -38,18 +38,3 @@ CustomRenderTexture: m_Dimension: 2 m_VolumeDepth: 1 m_ShadowSamplingMode: 2 - m_Material: {fileID: 2100000, guid: 26596d311a37a3c45a64cee1c5576bd6, type: 2} - m_InitSource: 1 - m_InitMaterial: {fileID: 2100000, guid: caffb11975a532c48928f00ce876fda6, type: 2} - m_InitColor: {r: 1, g: 1, b: 1, a: 1} - m_InitTexture: {fileID: 0} - m_UpdateMode: 1 - m_InitializationMode: 1 - m_UpdateZoneSpace: 0 - m_CurrentUpdateZoneSpace: 0 - m_UpdateZones: [] - m_UpdatePeriod: 0 - m_ShaderPass: 0 - m_CubemapFaceMask: 4294967295 - m_DoubleBuffered: 0 - m_WrapUpdateZones: 0 diff --git a/CRTs/fft_256x256_r16_3.asset.meta b/CRTs/fft_stage0.renderTexture.meta index d76097b..8864d17 100644 --- a/CRTs/fft_256x256_r16_3.asset.meta +++ b/CRTs/fft_stage0.renderTexture.meta @@ -1,8 +1,8 @@ fileFormatVersion: 2 -guid: 23dd8ca686b07ea47872a30cdf999481 +guid: 37d8c69b67f50b6499d74722ca71e6d1 NativeFormatImporter: externalObjects: {} - mainObjectFileID: 8600000 + mainObjectFileID: 8400000 userData: assetBundleName: assetBundleVariant: diff --git a/CRTs/fft_256x256_r16_2.asset b/CRTs/fft_stage1.renderTexture index 7d0f68f..b07f5b3 100644 --- a/CRTs/fft_256x256_r16_2.asset +++ b/CRTs/fft_stage1.renderTexture @@ -1,12 +1,12 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: ---- !u!86 &8600000 -CustomRenderTexture: +--- !u!84 &8400000 +RenderTexture: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_Name: fft_256x256_r16_2 + m_Name: fft_stage1 m_ImageContentsHash: serializedVersion: 2 Hash: 00000000000000000000000000000000 @@ -29,7 +29,7 @@ CustomRenderTexture: m_EnableRandomWrite: 0 m_TextureSettings: serializedVersion: 2 - m_FilterMode: 0 + m_FilterMode: 1 m_Aniso: 0 m_MipBias: 0 m_WrapU: 1 @@ -38,18 +38,3 @@ CustomRenderTexture: m_Dimension: 2 m_VolumeDepth: 1 m_ShadowSamplingMode: 2 - m_Material: {fileID: 2100000, guid: ee8f29cf44fa87f46a1417c25af26824, type: 2} - m_InitSource: 1 - m_InitMaterial: {fileID: 2100000, guid: baecfb2a8397f824280169e46d6735f0, type: 2} - m_InitColor: {r: 1, g: 1, b: 1, a: 1} - m_InitTexture: {fileID: 0} - m_UpdateMode: 1 - m_InitializationMode: 1 - m_UpdateZoneSpace: 0 - m_CurrentUpdateZoneSpace: 0 - m_UpdateZones: [] - m_UpdatePeriod: 0 - m_ShaderPass: 0 - m_CubemapFaceMask: 4294967295 - m_DoubleBuffered: 0 - m_WrapUpdateZones: 0 diff --git a/CRTs/fft_256x256_r16_1.asset.meta b/CRTs/fft_stage1.renderTexture.meta index 7ce944e..2b55d81 100644 --- a/CRTs/fft_256x256_r16_1.asset.meta +++ b/CRTs/fft_stage1.renderTexture.meta @@ -1,8 +1,8 @@ fileFormatVersion: 2 -guid: cd991addf4196c848a0b9e217801971b +guid: f478fe60c6d85db4ebcfde29b8c00cb5 NativeFormatImporter: externalObjects: {} - mainObjectFileID: 8600000 + mainObjectFileID: 8400000 userData: assetBundleName: assetBundleVariant: diff --git a/CRTs/fft_256x256_r16_1.asset b/CRTs/fft_stage2.renderTexture index c784521..4c0e1d6 100644 --- a/CRTs/fft_256x256_r16_1.asset +++ b/CRTs/fft_stage2.renderTexture @@ -1,12 +1,12 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: ---- !u!86 &8600000 -CustomRenderTexture: +--- !u!84 &8400000 +RenderTexture: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_Name: fft_256x256_r16_1 + m_Name: fft_stage2 m_ImageContentsHash: serializedVersion: 2 Hash: 00000000000000000000000000000000 @@ -29,7 +29,7 @@ CustomRenderTexture: m_EnableRandomWrite: 0 m_TextureSettings: serializedVersion: 2 - m_FilterMode: 0 + m_FilterMode: 1 m_Aniso: 0 m_MipBias: 0 m_WrapU: 1 @@ -38,18 +38,3 @@ CustomRenderTexture: m_Dimension: 2 m_VolumeDepth: 1 m_ShadowSamplingMode: 2 - m_Material: {fileID: 2100000, guid: baecfb2a8397f824280169e46d6735f0, type: 2} - m_InitSource: 1 - m_InitMaterial: {fileID: 2100000, guid: 26596d311a37a3c45a64cee1c5576bd6, type: 2} - m_InitColor: {r: 1, g: 1, b: 1, a: 1} - m_InitTexture: {fileID: 0} - m_UpdateMode: 1 - m_InitializationMode: 1 - m_UpdateZoneSpace: 0 - m_CurrentUpdateZoneSpace: 0 - m_UpdateZones: [] - m_UpdatePeriod: 0 - m_ShaderPass: 0 - m_CubemapFaceMask: 4294967295 - m_DoubleBuffered: 0 - m_WrapUpdateZones: 0 diff --git a/CRTs/fft_stage2.renderTexture.meta b/CRTs/fft_stage2.renderTexture.meta new file mode 100644 index 0000000..6932554 --- /dev/null +++ b/CRTs/fft_stage2.renderTexture.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 982991c08a4b36046b5bb61d63a7cdfd +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 8400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/CRTs/fft_256x256_r16_3.asset b/CRTs/fft_stage3.renderTexture index db43841..8edda3f 100644 --- a/CRTs/fft_256x256_r16_3.asset +++ b/CRTs/fft_stage3.renderTexture @@ -1,12 +1,12 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: ---- !u!86 &8600000 -CustomRenderTexture: +--- !u!84 &8400000 +RenderTexture: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_Name: fft_256x256_r16_3 + m_Name: fft_stage3 m_ImageContentsHash: serializedVersion: 2 Hash: 00000000000000000000000000000000 @@ -29,7 +29,7 @@ CustomRenderTexture: m_EnableRandomWrite: 0 m_TextureSettings: serializedVersion: 2 - m_FilterMode: 0 + m_FilterMode: 1 m_Aniso: 0 m_MipBias: 0 m_WrapU: 1 @@ -38,18 +38,3 @@ CustomRenderTexture: m_Dimension: 2 m_VolumeDepth: 1 m_ShadowSamplingMode: 2 - m_Material: {fileID: 2100000, guid: 652ab864a0319244693b307366e8a107, type: 2} - m_InitSource: 1 - m_InitMaterial: {fileID: 2100000, guid: ee8f29cf44fa87f46a1417c25af26824, type: 2} - m_InitColor: {r: 1, g: 1, b: 1, a: 1} - m_InitTexture: {fileID: 0} - m_UpdateMode: 1 - m_InitializationMode: 1 - m_UpdateZoneSpace: 0 - m_CurrentUpdateZoneSpace: 0 - m_UpdateZones: [] - m_UpdatePeriod: 0 - m_ShaderPass: 0 - m_CubemapFaceMask: 4294967295 - m_DoubleBuffered: 0 - m_WrapUpdateZones: 0 diff --git a/CRTs/fft_stage3.renderTexture.meta b/CRTs/fft_stage3.renderTexture.meta new file mode 100644 index 0000000..4f83c5a --- /dev/null +++ b/CRTs/fft_stage3.renderTexture.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3c8077a124afde54ebe6c9ff61a0bd4e +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 8400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/CRTs/fft_stage3_bitrev.renderTexture b/CRTs/fft_stage3_bitrev.renderTexture new file mode 100644 index 0000000..076dafd --- /dev/null +++ b/CRTs/fft_stage3_bitrev.renderTexture @@ -0,0 +1,40 @@ +%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: fft_stage3_bitrev + m_ImageContentsHash: + serializedVersion: 2 + Hash: 00000000000000000000000000000000 + m_ForcedFallbackFormat: 4 + m_DownscaleFallback: 0 + m_IsAlphaChannelOptional: 0 + serializedVersion: 5 + m_Width: 256 + m_Height: 256 + 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_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 diff --git a/CRTs/fft_stage3_bitrev.renderTexture.meta b/CRTs/fft_stage3_bitrev.renderTexture.meta new file mode 100644 index 0000000..71e2c73 --- /dev/null +++ b/CRTs/fft_stage3_bitrev.renderTexture.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5c6e37925cf101549b3cae2b6147178f +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 8400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/CRTs/ifft_256x256_r16_0.asset b/CRTs/ifft_256x256_r16_0.asset deleted file mode 100644 index a2243f6..0000000 --- a/CRTs/ifft_256x256_r16_0.asset +++ /dev/null @@ -1,55 +0,0 @@ -%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: ifft_256x256_r16_0 - m_ImageContentsHash: - serializedVersion: 2 - Hash: 00000000000000000000000000000000 - m_ForcedFallbackFormat: 4 - m_DownscaleFallback: 0 - m_IsAlphaChannelOptional: 0 - serializedVersion: 5 - m_Width: 256 - m_Height: 256 - 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_BindMS: 0 - m_EnableCompatibleFormat: 1 - m_EnableRandomWrite: 0 - m_TextureSettings: - serializedVersion: 2 - m_FilterMode: 0 - 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: 365ea70c6b535dc49b05bf0c1ff6ba5f, type: 2} - m_InitSource: 1 - m_InitMaterial: {fileID: 2100000, guid: 652ab864a0319244693b307366e8a107, type: 2} - m_InitColor: {r: 1, g: 1, b: 1, a: 1} - m_InitTexture: {fileID: 0} - m_UpdateMode: 1 - m_InitializationMode: 1 - m_UpdateZoneSpace: 0 - m_CurrentUpdateZoneSpace: 0 - m_UpdateZones: [] - m_UpdatePeriod: 0 - m_ShaderPass: 0 - m_CubemapFaceMask: 4294967295 - m_DoubleBuffered: 0 - m_WrapUpdateZones: 0 diff --git a/CRTs/ifft_256x256_r16_0.asset.meta b/CRTs/ifft_256x256_r16_0.asset.meta deleted file mode 100644 index caaf62c..0000000 --- a/CRTs/ifft_256x256_r16_0.asset.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0544a9ef60424b841af82788be3c0e4b -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 8600000 - userData: - assetBundleName: - assetBundleVariant: diff --git a/CRTs/ifft_256x256_r16_1.asset b/CRTs/ifft_256x256_r16_1.asset deleted file mode 100644 index 2714f34..0000000 --- a/CRTs/ifft_256x256_r16_1.asset +++ /dev/null @@ -1,55 +0,0 @@ -%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: ifft_256x256_r16_1 - m_ImageContentsHash: - serializedVersion: 2 - Hash: 00000000000000000000000000000000 - m_ForcedFallbackFormat: 4 - m_DownscaleFallback: 0 - m_IsAlphaChannelOptional: 0 - serializedVersion: 5 - m_Width: 256 - m_Height: 256 - 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_BindMS: 0 - m_EnableCompatibleFormat: 1 - m_EnableRandomWrite: 0 - m_TextureSettings: - serializedVersion: 2 - m_FilterMode: 0 - 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: ee0218d1bcfaf6e4dbd6bf9376beb306, type: 2} - m_InitSource: 1 - m_InitMaterial: {fileID: 2100000, guid: 365ea70c6b535dc49b05bf0c1ff6ba5f, type: 2} - m_InitColor: {r: 1, g: 1, b: 1, a: 1} - m_InitTexture: {fileID: 0} - m_UpdateMode: 1 - m_InitializationMode: 1 - m_UpdateZoneSpace: 0 - m_CurrentUpdateZoneSpace: 0 - m_UpdateZones: [] - m_UpdatePeriod: 0 - m_ShaderPass: 0 - m_CubemapFaceMask: 4294967295 - m_DoubleBuffered: 0 - m_WrapUpdateZones: 0 diff --git a/CRTs/ifft_256x256_r16_1.asset.meta b/CRTs/ifft_256x256_r16_1.asset.meta deleted file mode 100644 index 13b6f0c..0000000 --- a/CRTs/ifft_256x256_r16_1.asset.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cbc995525c380264eadbe41c250f03ab -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 8600000 - userData: - assetBundleName: - assetBundleVariant: diff --git a/CRTs/ifft_256x256_r16_2.asset b/CRTs/ifft_256x256_r16_2.asset deleted file mode 100644 index 110fa9d..0000000 --- a/CRTs/ifft_256x256_r16_2.asset +++ /dev/null @@ -1,55 +0,0 @@ -%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: ifft_256x256_r16_2 - m_ImageContentsHash: - serializedVersion: 2 - Hash: 00000000000000000000000000000000 - m_ForcedFallbackFormat: 4 - m_DownscaleFallback: 0 - m_IsAlphaChannelOptional: 0 - serializedVersion: 5 - m_Width: 256 - m_Height: 256 - 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_BindMS: 0 - m_EnableCompatibleFormat: 1 - m_EnableRandomWrite: 0 - m_TextureSettings: - serializedVersion: 2 - m_FilterMode: 0 - 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: 529b8b96dc28ae14381ede5d8ca8e97c, type: 2} - m_InitSource: 1 - m_InitMaterial: {fileID: 2100000, guid: ee0218d1bcfaf6e4dbd6bf9376beb306, type: 2} - m_InitColor: {r: 1, g: 1, b: 1, a: 1} - m_InitTexture: {fileID: 0} - m_UpdateMode: 1 - m_InitializationMode: 1 - m_UpdateZoneSpace: 0 - m_CurrentUpdateZoneSpace: 0 - m_UpdateZones: [] - m_UpdatePeriod: 0 - m_ShaderPass: 0 - m_CubemapFaceMask: 4294967295 - m_DoubleBuffered: 0 - m_WrapUpdateZones: 0 diff --git a/CRTs/ifft_256x256_r16_2.asset.meta b/CRTs/ifft_256x256_r16_2.asset.meta deleted file mode 100644 index 8405245..0000000 --- a/CRTs/ifft_256x256_r16_2.asset.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9895adf6cd83610459eaab69be20e5e2 -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 8600000 - userData: - assetBundleName: - assetBundleVariant: diff --git a/CRTs/ifft_256x256_r16_3.asset b/CRTs/ifft_256x256_r16_3.asset deleted file mode 100644 index 24f032b..0000000 --- a/CRTs/ifft_256x256_r16_3.asset +++ /dev/null @@ -1,55 +0,0 @@ -%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: ifft_256x256_r16_3 - m_ImageContentsHash: - serializedVersion: 2 - Hash: 00000000000000000000000000000000 - m_ForcedFallbackFormat: 4 - m_DownscaleFallback: 0 - m_IsAlphaChannelOptional: 0 - serializedVersion: 5 - m_Width: 256 - m_Height: 256 - 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_BindMS: 0 - m_EnableCompatibleFormat: 1 - m_EnableRandomWrite: 0 - m_TextureSettings: - serializedVersion: 2 - m_FilterMode: 0 - 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: ef7b3b20954e1f0419b7adf268df2650, type: 2} - m_InitSource: 1 - m_InitMaterial: {fileID: 2100000, guid: 529b8b96dc28ae14381ede5d8ca8e97c, type: 2} - m_InitColor: {r: 1, g: 1, b: 1, a: 1} - m_InitTexture: {fileID: 0} - m_UpdateMode: 1 - m_InitializationMode: 1 - m_UpdateZoneSpace: 0 - m_CurrentUpdateZoneSpace: 0 - m_UpdateZones: [] - m_UpdatePeriod: 0 - m_ShaderPass: 0 - m_CubemapFaceMask: 4294967295 - m_DoubleBuffered: 0 - m_WrapUpdateZones: 0 diff --git a/CRTs/ifft_256x256_r16_3.asset.meta b/CRTs/ifft_256x256_r16_3.asset.meta deleted file mode 100644 index fc17fb1..0000000 --- a/CRTs/ifft_256x256_r16_3.asset.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ac87290587d85b14cb2e20042370292e -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 8600000 - userData: - assetBundleName: - assetBundleVariant: diff --git a/CRTs/ifft_stage0.renderTexture b/CRTs/ifft_stage0.renderTexture new file mode 100644 index 0000000..9f75e0e --- /dev/null +++ b/CRTs/ifft_stage0.renderTexture @@ -0,0 +1,40 @@ +%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: ifft_stage0 + m_ImageContentsHash: + serializedVersion: 2 + Hash: 00000000000000000000000000000000 + m_ForcedFallbackFormat: 4 + m_DownscaleFallback: 0 + m_IsAlphaChannelOptional: 0 + serializedVersion: 5 + m_Width: 256 + m_Height: 256 + 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_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 diff --git a/CRTs/ifft_stage0.renderTexture.meta b/CRTs/ifft_stage0.renderTexture.meta new file mode 100644 index 0000000..46175c6 --- /dev/null +++ b/CRTs/ifft_stage0.renderTexture.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ef7e2adc6f791b94ea0f4b34710a8231 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 8400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/CRTs/ifft_stage1.renderTexture b/CRTs/ifft_stage1.renderTexture new file mode 100644 index 0000000..0ab753d --- /dev/null +++ b/CRTs/ifft_stage1.renderTexture @@ -0,0 +1,40 @@ +%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: ifft_stage1 + m_ImageContentsHash: + serializedVersion: 2 + Hash: 00000000000000000000000000000000 + m_ForcedFallbackFormat: 4 + m_DownscaleFallback: 0 + m_IsAlphaChannelOptional: 0 + serializedVersion: 5 + m_Width: 256 + m_Height: 256 + 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_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 diff --git a/CRTs/ifft_stage1.renderTexture.meta b/CRTs/ifft_stage1.renderTexture.meta new file mode 100644 index 0000000..7ec4366 --- /dev/null +++ b/CRTs/ifft_stage1.renderTexture.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3bbcc0467629b554081cc2d8a16480ad +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 8400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/CRTs/ifft_stage2.renderTexture b/CRTs/ifft_stage2.renderTexture new file mode 100644 index 0000000..8e0a1fb --- /dev/null +++ b/CRTs/ifft_stage2.renderTexture @@ -0,0 +1,40 @@ +%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: ifft_stage2 + m_ImageContentsHash: + serializedVersion: 2 + Hash: 00000000000000000000000000000000 + m_ForcedFallbackFormat: 4 + m_DownscaleFallback: 0 + m_IsAlphaChannelOptional: 0 + serializedVersion: 5 + m_Width: 256 + m_Height: 256 + 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_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 diff --git a/CRTs/ifft_stage2.renderTexture.meta b/CRTs/ifft_stage2.renderTexture.meta new file mode 100644 index 0000000..6fec197 --- /dev/null +++ b/CRTs/ifft_stage2.renderTexture.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a1dee43ec96199e4a9897f4d83fde0dd +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 8400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/CRTs/ifft_stage3.renderTexture b/CRTs/ifft_stage3.renderTexture new file mode 100644 index 0000000..c2db3c2 --- /dev/null +++ b/CRTs/ifft_stage3.renderTexture @@ -0,0 +1,40 @@ +%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: ifft_stage3 + m_ImageContentsHash: + serializedVersion: 2 + Hash: 00000000000000000000000000000000 + m_ForcedFallbackFormat: 4 + m_DownscaleFallback: 0 + m_IsAlphaChannelOptional: 0 + serializedVersion: 5 + m_Width: 256 + m_Height: 256 + 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_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 diff --git a/CRTs/ifft_stage3.renderTexture.meta b/CRTs/ifft_stage3.renderTexture.meta new file mode 100644 index 0000000..20aa25f --- /dev/null +++ b/CRTs/ifft_stage3.renderTexture.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3cad81fb96a636d47a43e9588609acf5 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 8400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/CRTs/ifft_stage3_bitrev.renderTexture b/CRTs/ifft_stage3_bitrev.renderTexture new file mode 100644 index 0000000..4a6f00e --- /dev/null +++ b/CRTs/ifft_stage3_bitrev.renderTexture @@ -0,0 +1,40 @@ +%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: ifft_stage3_bitrev + m_ImageContentsHash: + serializedVersion: 2 + Hash: 00000000000000000000000000000000 + m_ForcedFallbackFormat: 4 + m_DownscaleFallback: 0 + m_IsAlphaChannelOptional: 0 + serializedVersion: 5 + m_Width: 256 + m_Height: 256 + 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_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 diff --git a/CRTs/ifft_stage3_bitrev.renderTexture.meta b/CRTs/ifft_stage3_bitrev.renderTexture.meta new file mode 100644 index 0000000..7a2c7de --- /dev/null +++ b/CRTs/ifft_stage3_bitrev.renderTexture.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 32b797a912262b648ae4e64c77f561fb +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 8400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/CRTs/passthrough.asset b/CRTs/passthrough.asset deleted file mode 100644 index 746d7a4..0000000 --- a/CRTs/passthrough.asset +++ /dev/null @@ -1,55 +0,0 @@ -%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: passthrough - m_ImageContentsHash: - serializedVersion: 2 - Hash: 00000000000000000000000000000000 - m_ForcedFallbackFormat: 4 - m_DownscaleFallback: 0 - m_IsAlphaChannelOptional: 0 - serializedVersion: 5 - m_Width: 256 - m_Height: 256 - 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_BindMS: 0 - m_EnableCompatibleFormat: 1 - m_EnableRandomWrite: 0 - m_TextureSettings: - serializedVersion: 2 - m_FilterMode: 0 - 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: caffb11975a532c48928f00ce876fda6, type: 2} - m_InitSource: 0 - m_InitMaterial: {fileID: 2100000, guid: caffb11975a532c48928f00ce876fda6, type: 2} - m_InitColor: {r: 1, g: 1, b: 1, a: 1} - m_InitTexture: {fileID: 2800000, guid: 451baf2d778907c40abcfdd01568dbec, type: 3} - m_UpdateMode: 1 - m_InitializationMode: 1 - m_UpdateZoneSpace: 0 - m_CurrentUpdateZoneSpace: 0 - m_UpdateZones: [] - m_UpdatePeriod: 0 - m_ShaderPass: 0 - m_CubemapFaceMask: 4294967295 - m_DoubleBuffered: 0 - m_WrapUpdateZones: 0 diff --git a/CRTs/passthrough.asset.meta b/CRTs/passthrough.asset.meta deleted file mode 100644 index aa93979..0000000 --- a/CRTs/passthrough.asset.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 34810774d8802c3419394cc26a7e63eb -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 8600000 - userData: - assetBundleName: - assetBundleVariant: diff --git a/CRTs/passthrough.renderTexture b/CRTs/passthrough.renderTexture new file mode 100644 index 0000000..e5cba65 --- /dev/null +++ b/CRTs/passthrough.renderTexture @@ -0,0 +1,40 @@ +%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: passthrough + m_ImageContentsHash: + serializedVersion: 2 + Hash: 00000000000000000000000000000000 + m_ForcedFallbackFormat: 4 + m_DownscaleFallback: 0 + m_IsAlphaChannelOptional: 0 + serializedVersion: 5 + m_Width: 256 + m_Height: 256 + 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_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 diff --git a/CRTs/passthrough.renderTexture.meta b/CRTs/passthrough.renderTexture.meta new file mode 100644 index 0000000..455b3a1 --- /dev/null +++ b/CRTs/passthrough.renderTexture.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 94437398166ee4e48b995b82c8629646 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 8400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/OPEN ME.unity b/OPEN ME.unity index 1237dd3..b35d24c 100644 --- a/OPEN ME.unity +++ b/OPEN ME.unity @@ -225,7 +225,7 @@ Transform: m_GameObject: {fileID: 153538671} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 1, y: 1, z: 0} + m_LocalPosition: {x: 0, y: 1, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] @@ -331,7 +331,7 @@ Transform: m_GameObject: {fileID: 213933862} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 1, z: 0} + m_LocalPosition: {x: -1, y: 1, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] @@ -823,7 +823,219 @@ Transform: m_GameObject: {fileID: 599917952} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 2, y: 1, z: 0} + m_LocalPosition: {x: 1, y: 1, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &609077999 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 609078003} + - component: {fileID: 609078002} + - component: {fileID: 609078001} + - component: {fileID: 609078000} + m_Layer: 0 + m_Name: fft_ref + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!64 &609078000 +MeshCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 609077999} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 5 + m_Convex: 0 + m_CookingOptions: 30 + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &609078001 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 609077999} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: d924df630b01842449ed5cd5a8ffee97, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &609078002 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 609077999} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &609078003 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 609077999} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 3, y: 2, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &612474623 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 612474627} + - component: {fileID: 612474626} + - component: {fileID: 612474625} + - component: {fileID: 612474624} + m_Layer: 0 + m_Name: ifft stage3_bitrev + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!64 &612474624 +MeshCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 612474623} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 5 + m_Convex: 0 + m_CookingOptions: 30 + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &612474625 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 612474623} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: de23af3d6f8065d4e89cb057b0cd99ec, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &612474626 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 612474623} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &612474627 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 612474623} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 8, y: 1, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] @@ -929,7 +1141,7 @@ Transform: m_GameObject: {fileID: 773866676} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 3, y: 1, z: 0} + m_LocalPosition: {x: 2, y: 1, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] @@ -1041,6 +1253,112 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &824710677 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 824710681} + - component: {fileID: 824710680} + - component: {fileID: 824710679} + - component: {fileID: 824710678} + m_Layer: 0 + m_Name: stage3_bitrev + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!64 &824710678 +MeshCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 824710677} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 5 + m_Convex: 0 + m_CookingOptions: 30 + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &824710679 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 824710677} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 1544f59a65453084d9689c1a3897174e, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &824710680 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 824710677} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &824710681 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 824710677} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 3, y: 1, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1069902874 GameObject: m_ObjectHideFlags: 0 @@ -1133,6 +1451,114 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1188641756 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1188641759} + - component: {fileID: 1188641758} + - component: {fileID: 1188641757} + m_Layer: 0 + m_Name: Pipeline + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1188641757 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1188641756} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 45115577ef41a5b4ca741ed302693907, type: 3} + m_Name: + m_EditorClassIdentifier: + interactTextPlacement: {fileID: 0} + interactText: Use + interactTextGO: {fileID: 0} + proximity: 2 + SynchronizePosition: 0 + AllowCollisionOwnershipTransfer: 0 + Reliable: 0 + _syncMethod: 1 + serializedProgramAsset: {fileID: 11400000, guid: 72e2a1c3acce634458f16dca729f28c4, + type: 2} + programSource: {fileID: 11400000, guid: 3e835c1538a20974aa1dfd2fe5e736d9, type: 2} + serializedPublicVariablesBytesString: Ai8AAAAAATIAAABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlAFQAYQBiAGwAZQAsACAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4AAAAAAAYBAAAAAAAAACcBBAAAAHQAeQBwAGUAAWgAAABTAHkAcwB0AGUAbQAuAEMAbwBsAGwAZQBjAHQAaQBvAG4AcwAuAEcAZQBuAGUAcgBpAGMALgBMAGkAcwB0AGAAMQBbAFsAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4ALgBJAG4AdABlAHIAZgBhAGMAZQBzAC4ASQBVAGQAbwBuAFYAYQByAGkAYQBiAGwAZQAsACAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4AXQBdACwAIABtAHMAYwBvAHIAbABpAGIAAQEJAAAAVgBhAHIAaQBhAGIAbABlAHMALwEAAAABaAAAAFMAeQBzAHQAZQBtAC4AQwBvAGwAbABlAGMAdABpAG8AbgBzAC4ARwBlAG4AZQByAGkAYwAuAEwAaQBzAHQAYAAxAFsAWwBWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAEkAbgB0AGUAcgBmAGEAYwBlAHMALgBJAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlACwAIABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgBdAF0ALAAgAG0AcwBjAG8AcgBsAGkAYgABAAAABgEAAAAAAAAAAi8CAAAAAUkAAABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlAGAAMQBbAFsAUwB5AHMAdABlAG0ALgBJAG4AdAAzADIALAAgAG0AcwBjAG8AcgBsAGkAYgBdAF0ALAAgAFYAUgBDAC4AVQBkAG8AbgAuAEMAbwBtAG0AbwBuAAIAAAAGAgAAAAAAAAAnAQQAAAB0AHkAcABlAAEXAAAAUwB5AHMAdABlAG0ALgBTAHQAcgBpAG4AZwAsACAAbQBzAGMAbwByAGwAaQBiACcBCgAAAFMAeQBtAGIAbwBsAE4AYQBtAGUAAR8AAABfAF8AXwBVAGQAbwBuAFMAaABhAHIAcABCAGUAaABhAHYAaQBvAHUAcgBWAGUAcgBzAGkAbwBuAF8AXwBfACcBBAAAAHQAeQBwAGUAARYAAABTAHkAcwB0AGUAbQAuAEkAbgB0ADMAMgAsACAAbQBzAGMAbwByAGwAaQBiABcBBQAAAFYAYQBsAHUAZQACAAAABwUHBQcF + publicVariablesUnityEngineObjects: [] + publicVariablesSerializationDataFormat: 0 +--- !u!114 &1188641758 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1188641756} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 864067451b3c52048ac1ad1bc1f730e0, type: 3} + m_Name: + m_EditorClassIdentifier: + serializationData: + SerializedFormat: 2 + SerializedBytes: + ReferencedUnityObjects: [] + SerializedBytesString: + Prefab: {fileID: 0} + PrefabModificationsReferencedUnityObjects: [] + PrefabModifications: [] + SerializationNodes: [] + _udonSharpBackingUdonBehaviour: {fileID: 1188641757} + sourceInput: {fileID: 2800000, guid: d0dba03849af9df4fae990e250f66246, type: 3} + effectMaterials: + - {fileID: 2100000, guid: caffb11975a532c48928f00ce876fda6, type: 2} + - {fileID: 2100000, guid: 26596d311a37a3c45a64cee1c5576bd6, type: 2} + - {fileID: 2100000, guid: baecfb2a8397f824280169e46d6735f0, type: 2} + - {fileID: 2100000, guid: ee8f29cf44fa87f46a1417c25af26824, type: 2} + - {fileID: 2100000, guid: 652ab864a0319244693b307366e8a107, type: 2} + - {fileID: 2100000, guid: 1544f59a65453084d9689c1a3897174e, type: 2} + - {fileID: 2100000, guid: 365ea70c6b535dc49b05bf0c1ff6ba5f, type: 2} + - {fileID: 2100000, guid: ee0218d1bcfaf6e4dbd6bf9376beb306, type: 2} + - {fileID: 2100000, guid: 529b8b96dc28ae14381ede5d8ca8e97c, type: 2} + - {fileID: 2100000, guid: ef7b3b20954e1f0419b7adf268df2650, type: 2} + - {fileID: 2100000, guid: de23af3d6f8065d4e89cb057b0cd99ec, type: 2} + pipelineOutputs: + - {fileID: 8400000, guid: 94437398166ee4e48b995b82c8629646, type: 2} + - {fileID: 8400000, guid: 37d8c69b67f50b6499d74722ca71e6d1, type: 2} + - {fileID: 8400000, guid: f478fe60c6d85db4ebcfde29b8c00cb5, type: 2} + - {fileID: 8400000, guid: 982991c08a4b36046b5bb61d63a7cdfd, type: 2} + - {fileID: 8400000, guid: 3c8077a124afde54ebe6c9ff61a0bd4e, type: 2} + - {fileID: 8400000, guid: 5c6e37925cf101549b3cae2b6147178f, type: 2} + - {fileID: 8400000, guid: ef7e2adc6f791b94ea0f4b34710a8231, type: 2} + - {fileID: 8400000, guid: 3bbcc0467629b554081cc2d8a16480ad, type: 2} + - {fileID: 8400000, guid: a1dee43ec96199e4a9897f4d83fde0dd, type: 2} + - {fileID: 8400000, guid: 3cad81fb96a636d47a43e9588609acf5, type: 2} + - {fileID: 8400000, guid: 32b797a912262b648ae4e64c77f561fb, type: 2} + runOnStart: 1 + runContinuously: 1 +--- !u!4 &1188641759 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1188641756} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0.04207261, y: 1.1921749, z: 0.3419539} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1242669366 GameObject: m_ObjectHideFlags: 0 @@ -1146,7 +1572,7 @@ GameObject: - component: {fileID: 1242669368} - component: {fileID: 1242669367} m_Layer: 0 - m_Name: input + m_Name: passthrough m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -1233,7 +1659,7 @@ Transform: m_GameObject: {fileID: 1242669366} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -1, y: 1, z: 0} + m_LocalPosition: {x: -2, y: 1, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] @@ -1546,6 +1972,10 @@ MonoBehaviour: SerializedTypeNames: - VRC.Udon.UdonBehaviour - VRC.Udon.UdonBehaviour + - gameObject: {fileID: 1188641756} + ID: 11 + SerializedTypeNames: + - VRC.Udon.UdonBehaviour portraitCameraPositionOffset: {x: 0, y: 0, z: 0} portraitCameraRotationOffset: {x: 0, y: 1, z: 0, w: -0.00000004371139} PlayerPersistence: [] @@ -1665,12 +2095,16 @@ SceneRoots: - {fileID: 1787983411} - {fileID: 7606902903243430487} - {fileID: 358170790} + - {fileID: 1188641759} - {fileID: 1242669370} - {fileID: 213933866} - {fileID: 153538675} - {fileID: 599917956} - {fileID: 773866680} + - {fileID: 824710681} + - {fileID: 609078003} - {fileID: 571412501} - {fileID: 387837002} - {fileID: 785989659} - {fileID: 562951497} + - {fileID: 612474627} diff --git a/Scripts/LinearPipeline.asset b/Scripts/LinearPipeline.asset new file mode 100644 index 0000000..c266faa --- /dev/null +++ b/Scripts/LinearPipeline.asset @@ -0,0 +1,382 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + 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: c333ccfdd0cbdbc4ca30cef2dd6e6b9b, type: 3} + m_Name: LinearPipeline + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 72e2a1c3acce634458f16dca729f28c4, + type: 2} + udonAssembly: + assemblyError: + sourceCsScript: {fileID: 11500000, guid: 864067451b3c52048ac1ad1bc1f730e0, type: 3} + scriptVersion: 2 + compiledVersion: 2 + behaviourSyncMode: 1 + hasInteractEvent: 0 + scriptID: -8087597915593885420 + serializationData: + SerializedFormat: 2 + SerializedBytes: + ReferencedUnityObjects: [] + SerializedBytesString: + Prefab: {fileID: 0} + PrefabModificationsReferencedUnityObjects: [] + PrefabModifications: [] + SerializationNodes: + - Name: fieldDefinitions + Entry: 7 + Data: 0|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[UdonSharp.Compiler.FieldDefinition, + UdonSharp.Editor]], mscorlib + - Name: comparer + Entry: 7 + Data: 1|System.Collections.Generic.GenericEqualityComparer`1[[System.String, + mscorlib]], mscorlib + - Name: + Entry: 8 + Data: + - Name: + Entry: 12 + Data: 5 + - Name: + Entry: 7 + Data: + - Name: $k + Entry: 1 + Data: sourceInput + - Name: $v + Entry: 7 + Data: 2|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + - Name: <Name>k__BackingField + Entry: 1 + Data: sourceInput + - Name: <UserType>k__BackingField + Entry: 7 + Data: 3|System.RuntimeType, mscorlib + - Name: + Entry: 1 + Data: UnityEngine.Texture, UnityEngine.CoreModule + - Name: + Entry: 8 + Data: + - Name: <SystemType>k__BackingField + Entry: 9 + Data: 3 + - Name: <SyncMode>k__BackingField + Entry: 7 + Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib + - Name: + Entry: 6 + Data: + - Name: + Entry: 8 + Data: + - Name: <IsSerialized>k__BackingField + Entry: 5 + Data: true + - Name: _fieldAttributes + Entry: 7 + Data: 4|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + - Name: + Entry: 12 + Data: 2 + - Name: + Entry: 7 + Data: 5|UnityEngine.HeaderAttribute, UnityEngine.CoreModule + - Name: header + Entry: 1 + Data: Pipeline Assets + - Name: + Entry: 8 + Data: + - Name: + Entry: 7 + Data: 6|UnityEngine.TooltipAttribute, UnityEngine.CoreModule + - Name: tooltip + Entry: 1 + Data: The initial texture to start the pipeline with. + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 7 + Data: + - Name: $k + Entry: 1 + Data: effectMaterials + - Name: $v + Entry: 7 + Data: 7|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + - Name: <Name>k__BackingField + Entry: 1 + Data: effectMaterials + - Name: <UserType>k__BackingField + Entry: 7 + Data: 8|System.RuntimeType, mscorlib + - Name: + Entry: 1 + Data: UnityEngine.Material[], UnityEngine.CoreModule + - Name: + Entry: 8 + Data: + - Name: <SystemType>k__BackingField + Entry: 9 + Data: 8 + - Name: <SyncMode>k__BackingField + Entry: 7 + Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib + - Name: + Entry: 6 + Data: + - Name: + Entry: 8 + Data: + - Name: <IsSerialized>k__BackingField + Entry: 5 + Data: true + - Name: _fieldAttributes + Entry: 7 + Data: 9|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 10|UnityEngine.TooltipAttribute, UnityEngine.CoreModule + - Name: tooltip + Entry: 1 + Data: The materials to apply in sequence. The order matters. + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 7 + Data: + - Name: $k + Entry: 1 + Data: pipelineOutputs + - Name: $v + Entry: 7 + Data: 11|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + - Name: <Name>k__BackingField + Entry: 1 + Data: pipelineOutputs + - Name: <UserType>k__BackingField + Entry: 7 + Data: 12|System.RuntimeType, mscorlib + - Name: + Entry: 1 + Data: UnityEngine.RenderTexture[], UnityEngine.CoreModule + - Name: + Entry: 8 + Data: + - Name: <SystemType>k__BackingField + Entry: 9 + Data: 12 + - Name: <SyncMode>k__BackingField + Entry: 7 + Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib + - Name: + Entry: 6 + Data: + - Name: + Entry: 8 + Data: + - Name: <IsSerialized>k__BackingField + Entry: 5 + Data: true + - Name: _fieldAttributes + Entry: 7 + Data: 13|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 14|UnityEngine.TooltipAttribute, UnityEngine.CoreModule + - Name: tooltip + Entry: 1 + Data: The RenderTextures to store the output of each step. MUST be the same + size as the materials array. + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 7 + Data: + - Name: $k + Entry: 1 + Data: runOnStart + - Name: $v + Entry: 7 + Data: 15|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + - Name: <Name>k__BackingField + Entry: 1 + Data: runOnStart + - Name: <UserType>k__BackingField + Entry: 7 + Data: 16|System.RuntimeType, mscorlib + - Name: + Entry: 1 + Data: System.Boolean, mscorlib + - Name: + Entry: 8 + Data: + - Name: <SystemType>k__BackingField + Entry: 9 + Data: 16 + - Name: <SyncMode>k__BackingField + Entry: 7 + Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib + - Name: + Entry: 6 + Data: + - Name: + Entry: 8 + Data: + - Name: <IsSerialized>k__BackingField + Entry: 5 + Data: true + - Name: _fieldAttributes + Entry: 7 + Data: 17|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + - Name: + Entry: 12 + Data: 2 + - Name: + Entry: 7 + Data: 18|UnityEngine.HeaderAttribute, UnityEngine.CoreModule + - Name: header + Entry: 1 + Data: Execution Mode + - Name: + Entry: 8 + Data: + - Name: + Entry: 7 + Data: 19|UnityEngine.TooltipAttribute, UnityEngine.CoreModule + - Name: tooltip + Entry: 1 + Data: If true, the pipeline will run once when the world loads. + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 7 + Data: + - Name: $k + Entry: 1 + Data: runContinuously + - Name: $v + Entry: 7 + Data: 20|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor + - Name: <Name>k__BackingField + Entry: 1 + Data: runContinuously + - Name: <UserType>k__BackingField + Entry: 9 + Data: 16 + - Name: <SystemType>k__BackingField + Entry: 9 + Data: 16 + - Name: <SyncMode>k__BackingField + Entry: 7 + Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib + - Name: + Entry: 6 + Data: + - Name: + Entry: 8 + Data: + - Name: <IsSerialized>k__BackingField + Entry: 5 + Data: true + - Name: _fieldAttributes + Entry: 7 + Data: 21|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 22|UnityEngine.TooltipAttribute, UnityEngine.CoreModule + - Name: tooltip + Entry: 1 + Data: If true, the pipeline will run every frame. Use with caution, can be + performance-intensive. + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: diff --git a/Scripts/LinearPipeline.asset.meta b/Scripts/LinearPipeline.asset.meta new file mode 100644 index 0000000..a148130 --- /dev/null +++ b/Scripts/LinearPipeline.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3e835c1538a20974aa1dfd2fe5e736d9 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Scripts/LinearPipeline.cs b/Scripts/LinearPipeline.cs new file mode 100644 index 0000000..33b1fef --- /dev/null +++ b/Scripts/LinearPipeline.cs @@ -0,0 +1,154 @@ +/* + Udon# Linear Pipeline Controller + + This script manages a linear chain of image effects. It takes a source texture + and processes it through a sequence of materials, storing the result of each + step in a corresponding RenderTexture. + + Setup: + 1. Create an empty GameObject in your scene. + 2. Add an UdonBehaviour component to it. + 3. Create this Udon# script in your project and assign it to the UdonBehaviour. + 4. Create all the Materials and RenderTextures you need for your pipeline. + 5. In the Inspector, assign the Source Input, Materials, and Output RenderTextures. + - The size of the Effect Materials and Pipeline Outputs arrays MUST be the same. + - The order of materials and textures in the arrays determines the pipeline order. + 6. Choose your desired execution mode (Run On Start, Run Continuously). +*/ + +using UdonSharp; +using UnityEngine; +using VRC.SDKBase; + +[UdonBehaviourSyncMode(BehaviourSyncMode.None)] +public class LinearPipeline : UdonSharpBehaviour +{ + [Header("Pipeline Assets")] + [Tooltip("The initial texture to start the pipeline with.")] + public Texture sourceInput; + + [Tooltip("The materials to apply in sequence. The order matters.")] + public Material[] effectMaterials; + + [Tooltip("The RenderTextures to store the output of each step. MUST be the same size as the materials array.")] + public RenderTexture[] pipelineOutputs; + + [Header("Execution Mode")] + [Tooltip("If true, the pipeline will run once when the world loads.")] + public bool runOnStart = true; + + [Tooltip("If true, the pipeline will run every frame. Use with caution, can be performance-intensive.")] + public bool runContinuously = false; + + void Start() + { + _ConfigurePipeline(); + + if (runOnStart) + { + _RunPipeline(); + } + } + + void Update() + { + if (runContinuously) + { + _RunPipeline(); + } + } + + /// <summary> + /// Configure materials for the pipeline. + /// </summary> + void _ConfigurePipeline() + { + if (effectMaterials == null || effectMaterials.Length == 0) + { + Debug.LogError("[LinearUdonPipeline] No Effect Materials have been assigned!", this); + return; + } + + if (pipelineOutputs == null || pipelineOutputs.Length == 0) + { + Debug.LogError("[LinearUdonPipeline] No Pipeline Outputs have been assigned!", this); + return; + } + + if (effectMaterials.Length != pipelineOutputs.Length) + { + Debug.LogError("[LinearUdonPipeline] The number of materials does not match the number of output textures!", this); + return; + } + + // Configure materials - set _MainTex to appropriate source + for (int i = 0; i < effectMaterials.Length; i++) + { + if (effectMaterials[i] != null) + { + if (i == 0) + { + // First material uses the source input + effectMaterials[i].SetTexture("_MainTex", sourceInput); + } + else + { + // Subsequent materials use the previous output as input + effectMaterials[i].SetTexture("_MainTex", pipelineOutputs[i - 1]); + } + } + } + } + + /// <summary> + /// This public method can be called by other Udon scripts or UI events to run the pipeline. + /// </summary> + public void _RunPipeline() + { + // --- Pre-flight Checks --- + if (sourceInput == null) + { + Debug.LogError("[LinearUdonPipeline] Source Input is not assigned!", this); + return; + } + + if (effectMaterials == null || effectMaterials.Length == 0) + { + Debug.LogError("[LinearUdonPipeline] No Effect Materials have been assigned!", this); + return; + } + + if (pipelineOutputs == null || pipelineOutputs.Length == 0) + { + Debug.LogError("[LinearUdonPipeline] No Pipeline Outputs have been assigned!", this); + return; + } + + if (effectMaterials.Length != pipelineOutputs.Length) + { + Debug.LogError("[LinearUdonPipeline] The number of materials does not match the number of output textures!", this); + return; + } + + // --- Run Pipeline --- + + // 1. First Blit: From the main source to the first texture in our chain. + VRCGraphics.Blit(sourceInput, pipelineOutputs[0], effectMaterials[0], -1); + + // 2. Loop through the rest of the chain. + for (int i = 1; i < effectMaterials.Length; i++) + { + // The source for this step is the output from the previous step. + Texture sourceForThisStep = pipelineOutputs[i - 1]; + + // The destination is the current output texture. + RenderTexture destForThisStep = pipelineOutputs[i]; + + // The material for this step. + Material materialForThisStep = effectMaterials[i]; + + VRCGraphics.Blit(sourceForThisStep, destForThisStep, materialForThisStep, -1); + } + } +} + diff --git a/Scripts/LinearPipeline.cs.meta b/Scripts/LinearPipeline.cs.meta new file mode 100644 index 0000000..4f4cb17 --- /dev/null +++ b/Scripts/LinearPipeline.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 864067451b3c52048ac1ad1bc1f730e0 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: @@ -200,13 +200,13 @@ Shader "yum_food/fft" { int twiddle_idx = wing * idx_in_wing; float2 tw; - + if (_Stage % 2 == 0) { tw = _Inverse > 0.5 ? STAGE0_TWIDDLES_INV[twiddle_idx] : STAGE0_TWIDDLES[twiddle_idx]; } else { tw = _Inverse > 0.5 ? STAGE1_TWIDDLES_INV[twiddle_idx] : STAGE1_TWIDDLES[twiddle_idx]; } - + float tw_real = tw.x; float tw_imag = tw.y; diff --git a/fft_ref.mat b/fft_ref.mat new file mode 100644 index 0000000..60617c0 --- /dev/null +++ b/fft_ref.mat @@ -0,0 +1,93 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: fft_ref + m_Shader: {fileID: 4800000, guid: 174262b1c731b7b45b2261d18f2cf325, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: + - _PASSTHROUGH_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + 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} + - _MainTex: + m_Texture: {fileID: 2800000, guid: d3b73aebac11d354bb702321288d9099, type: 3} + 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} + m_Ints: [] + m_Floats: + - _BitReversal: 0 + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Inverse: 0 + - _LDS: 0 + - _Luminance: 0 + - _Metallic: 0 + - _Mode: 0 + - _N: 256 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _PassThrough: 1 + - _Passthrough: 1 + - _Radix: 16 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _Stage: 0 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] diff --git a/fft_ref.mat.meta b/fft_ref.mat.meta new file mode 100644 index 0000000..1511120 --- /dev/null +++ b/fft_ref.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d924df630b01842449ed5cd5a8ffee97 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: |
