├── .gitignore ├── Assets ├── Materials.meta ├── Materials │ ├── Blue.mat │ ├── Blue.mat.meta │ ├── DarkBlue.mat │ ├── DarkBlue.mat.meta │ ├── Red.mat │ ├── Red.mat.meta │ ├── Skin.mat │ └── Skin.mat.meta ├── Models.meta ├── Models │ ├── Football Ball.fbx │ ├── Football Ball.fbx.meta │ ├── Materials.meta │ ├── Materials │ │ ├── Material.mat │ │ ├── Material.mat.meta │ │ ├── New Material.mat │ │ ├── New Material.mat.meta │ │ ├── No Name.mat │ │ ├── No Name.mat.meta │ │ ├── T_SatCom1_D.mat │ │ ├── T_SatCom1_D.mat.meta │ │ ├── White.mat │ │ ├── White.mat.meta │ │ ├── aliens body diffuse.mat │ │ ├── aliens body diffuse.mat.meta │ │ ├── оружие дифуз.mat │ │ └── оружие дифуз.mat.meta │ ├── Mesh.FBX │ ├── Mesh.FBX.meta │ ├── S_SatelliteDish_ConceptX.fbx │ ├── S_SatelliteDish_ConceptX.fbx.meta │ ├── Spaceship.fbx │ ├── Spaceship.fbx.meta │ ├── Stadium N140408.3ds │ └── Stadium N140408.3ds.meta ├── PostProcessing.meta ├── PostProcessing │ ├── Editor Resources.meta │ ├── Editor Resources │ │ ├── Monitors.meta │ │ ├── Monitors │ │ │ ├── HistogramCompute.compute │ │ │ ├── HistogramCompute.compute.meta │ │ │ ├── HistogramRender.shader │ │ │ ├── HistogramRender.shader.meta │ │ │ ├── ParadeRender.shader │ │ │ ├── ParadeRender.shader.meta │ │ │ ├── VectorscopeCompute.compute │ │ │ ├── VectorscopeCompute.compute.meta │ │ │ ├── VectorscopeRender.shader │ │ │ ├── VectorscopeRender.shader.meta │ │ │ ├── WaveformCompute.compute │ │ │ ├── WaveformCompute.compute.meta │ │ │ ├── WaveformRender.shader │ │ │ └── WaveformRender.shader.meta │ │ ├── UI.meta │ │ └── UI │ │ │ ├── CurveBackground.shader │ │ │ ├── CurveBackground.shader.meta │ │ │ ├── MotionBlendingIcon.png │ │ │ ├── MotionBlendingIcon.png.meta │ │ │ ├── Trackball.shader │ │ │ └── Trackball.shader.meta │ ├── Editor.meta │ ├── Editor │ │ ├── Attributes.meta │ │ ├── Attributes │ │ │ ├── PostProcessingModelEditorAttribute.cs │ │ │ └── PostProcessingModelEditorAttribute.cs.meta │ │ ├── Models.meta │ │ ├── Models │ │ │ ├── AmbientOcclusionModelEditor.cs │ │ │ ├── AmbientOcclusionModelEditor.cs.meta │ │ │ ├── AntialiasingModelEditor.cs │ │ │ ├── AntialiasingModelEditor.cs.meta │ │ │ ├── BloomModelEditor.cs │ │ │ ├── BloomModelEditor.cs.meta │ │ │ ├── BuiltinDebugViewsEditor.cs │ │ │ ├── BuiltinDebugViewsEditor.cs.meta │ │ │ ├── ChromaticAberrationEditor.cs │ │ │ ├── ChromaticAberrationEditor.cs.meta │ │ │ ├── ColorGradingModelEditor.cs │ │ │ ├── ColorGradingModelEditor.cs.meta │ │ │ ├── DefaultPostFxModelEditor.cs │ │ │ ├── DefaultPostFxModelEditor.cs.meta │ │ │ ├── DepthOfFieldModelEditor.cs │ │ │ ├── DepthOfFieldModelEditor.cs.meta │ │ │ ├── DitheringModelEditor.cs │ │ │ ├── DitheringModelEditor.cs.meta │ │ │ ├── EyeAdaptationModelEditor.cs │ │ │ ├── EyeAdaptationModelEditor.cs.meta │ │ │ ├── FogModelEditor.cs │ │ │ ├── FogModelEditor.cs.meta │ │ │ ├── GrainModelEditor.cs │ │ │ ├── GrainModelEditor.cs.meta │ │ │ ├── MotionBlurModelEditor.cs │ │ │ ├── MotionBlurModelEditor.cs.meta │ │ │ ├── ScreenSpaceReflectionModelEditor.cs │ │ │ ├── ScreenSpaceReflectionModelEditor.cs.meta │ │ │ ├── UserLutModelEditor.cs │ │ │ ├── UserLutModelEditor.cs.meta │ │ │ ├── VignetteModelEditor.cs │ │ │ └── VignetteModelEditor.cs.meta │ │ ├── Monitors.meta │ │ ├── Monitors │ │ │ ├── HistogramMonitor.cs │ │ │ ├── HistogramMonitor.cs.meta │ │ │ ├── ParadeMonitor.cs │ │ │ ├── ParadeMonitor.cs.meta │ │ │ ├── VectorscopeMonitor.cs │ │ │ ├── VectorscopeMonitor.cs.meta │ │ │ ├── WaveformMonitor.cs │ │ │ └── WaveformMonitor.cs.meta │ │ ├── PostProcessingBehaviourEditor.cs │ │ ├── PostProcessingBehaviourEditor.cs.meta │ │ ├── PostProcessingFactory.cs │ │ ├── PostProcessingFactory.cs.meta │ │ ├── PostProcessingInspector.cs │ │ ├── PostProcessingInspector.cs.meta │ │ ├── PostProcessingModelEditor.cs │ │ ├── PostProcessingModelEditor.cs.meta │ │ ├── PostProcessingMonitor.cs │ │ ├── PostProcessingMonitor.cs.meta │ │ ├── PropertyDrawers.meta │ │ ├── PropertyDrawers │ │ │ ├── GetSetDrawer.cs │ │ │ ├── GetSetDrawer.cs.meta │ │ │ ├── MinDrawer.cs │ │ │ ├── MinDrawer.cs.meta │ │ │ ├── TrackballGroupDrawer.cs │ │ │ └── TrackballGroupDrawer.cs.meta │ │ ├── Utils.meta │ │ └── Utils │ │ │ ├── CurveEditor.cs │ │ │ ├── CurveEditor.cs.meta │ │ │ ├── EditorGUIHelper.cs │ │ │ ├── EditorGUIHelper.cs.meta │ │ │ ├── EditorResources.cs │ │ │ ├── EditorResources.cs.meta │ │ │ ├── FxStyles.cs │ │ │ ├── FxStyles.cs.meta │ │ │ ├── ReflectionUtils.cs │ │ │ └── ReflectionUtils.cs.meta │ ├── Resources.meta │ ├── Resources │ │ ├── Bluenoise64.meta │ │ ├── Bluenoise64 │ │ │ ├── COPYING.txt │ │ │ ├── COPYING.txt.meta │ │ │ ├── LDR_LLL1_0.png │ │ │ ├── LDR_LLL1_0.png.meta │ │ │ ├── LDR_LLL1_1.png │ │ │ ├── LDR_LLL1_1.png.meta │ │ │ ├── LDR_LLL1_10.png │ │ │ ├── LDR_LLL1_10.png.meta │ │ │ ├── LDR_LLL1_11.png │ │ │ ├── LDR_LLL1_11.png.meta │ │ │ ├── LDR_LLL1_12.png │ │ │ ├── LDR_LLL1_12.png.meta │ │ │ ├── LDR_LLL1_13.png │ │ │ ├── LDR_LLL1_13.png.meta │ │ │ ├── LDR_LLL1_14.png │ │ │ ├── LDR_LLL1_14.png.meta │ │ │ ├── LDR_LLL1_15.png │ │ │ ├── LDR_LLL1_15.png.meta │ │ │ ├── LDR_LLL1_16.png │ │ │ ├── LDR_LLL1_16.png.meta │ │ │ ├── LDR_LLL1_17.png │ │ │ ├── LDR_LLL1_17.png.meta │ │ │ ├── LDR_LLL1_18.png │ │ │ ├── LDR_LLL1_18.png.meta │ │ │ ├── LDR_LLL1_19.png │ │ │ ├── LDR_LLL1_19.png.meta │ │ │ ├── LDR_LLL1_2.png │ │ │ ├── LDR_LLL1_2.png.meta │ │ │ ├── LDR_LLL1_20.png │ │ │ ├── LDR_LLL1_20.png.meta │ │ │ ├── LDR_LLL1_21.png │ │ │ ├── LDR_LLL1_21.png.meta │ │ │ ├── LDR_LLL1_22.png │ │ │ ├── LDR_LLL1_22.png.meta │ │ │ ├── LDR_LLL1_23.png │ │ │ ├── LDR_LLL1_23.png.meta │ │ │ ├── LDR_LLL1_24.png │ │ │ ├── LDR_LLL1_24.png.meta │ │ │ ├── LDR_LLL1_25.png │ │ │ ├── LDR_LLL1_25.png.meta │ │ │ ├── LDR_LLL1_26.png │ │ │ ├── LDR_LLL1_26.png.meta │ │ │ ├── LDR_LLL1_27.png │ │ │ ├── LDR_LLL1_27.png.meta │ │ │ ├── LDR_LLL1_28.png │ │ │ ├── LDR_LLL1_28.png.meta │ │ │ ├── LDR_LLL1_29.png │ │ │ ├── LDR_LLL1_29.png.meta │ │ │ ├── LDR_LLL1_3.png │ │ │ ├── LDR_LLL1_3.png.meta │ │ │ ├── LDR_LLL1_30.png │ │ │ ├── LDR_LLL1_30.png.meta │ │ │ ├── LDR_LLL1_31.png │ │ │ ├── LDR_LLL1_31.png.meta │ │ │ ├── LDR_LLL1_32.png │ │ │ ├── LDR_LLL1_32.png.meta │ │ │ ├── LDR_LLL1_33.png │ │ │ ├── LDR_LLL1_33.png.meta │ │ │ ├── LDR_LLL1_34.png │ │ │ ├── LDR_LLL1_34.png.meta │ │ │ ├── LDR_LLL1_35.png │ │ │ ├── LDR_LLL1_35.png.meta │ │ │ ├── LDR_LLL1_36.png │ │ │ ├── LDR_LLL1_36.png.meta │ │ │ ├── LDR_LLL1_37.png │ │ │ ├── LDR_LLL1_37.png.meta │ │ │ ├── LDR_LLL1_38.png │ │ │ ├── LDR_LLL1_38.png.meta │ │ │ ├── LDR_LLL1_39.png │ │ │ ├── LDR_LLL1_39.png.meta │ │ │ ├── LDR_LLL1_4.png │ │ │ ├── LDR_LLL1_4.png.meta │ │ │ ├── LDR_LLL1_40.png │ │ │ ├── LDR_LLL1_40.png.meta │ │ │ ├── LDR_LLL1_41.png │ │ │ ├── LDR_LLL1_41.png.meta │ │ │ ├── LDR_LLL1_42.png │ │ │ ├── LDR_LLL1_42.png.meta │ │ │ ├── LDR_LLL1_43.png │ │ │ ├── LDR_LLL1_43.png.meta │ │ │ ├── LDR_LLL1_44.png │ │ │ ├── LDR_LLL1_44.png.meta │ │ │ ├── LDR_LLL1_45.png │ │ │ ├── LDR_LLL1_45.png.meta │ │ │ ├── LDR_LLL1_46.png │ │ │ ├── LDR_LLL1_46.png.meta │ │ │ ├── LDR_LLL1_47.png │ │ │ ├── LDR_LLL1_47.png.meta │ │ │ ├── LDR_LLL1_48.png │ │ │ ├── LDR_LLL1_48.png.meta │ │ │ ├── LDR_LLL1_49.png │ │ │ ├── LDR_LLL1_49.png.meta │ │ │ ├── LDR_LLL1_5.png │ │ │ ├── LDR_LLL1_5.png.meta │ │ │ ├── LDR_LLL1_50.png │ │ │ ├── LDR_LLL1_50.png.meta │ │ │ ├── LDR_LLL1_51.png │ │ │ ├── LDR_LLL1_51.png.meta │ │ │ ├── LDR_LLL1_52.png │ │ │ ├── LDR_LLL1_52.png.meta │ │ │ ├── LDR_LLL1_53.png │ │ │ ├── LDR_LLL1_53.png.meta │ │ │ ├── LDR_LLL1_54.png │ │ │ ├── LDR_LLL1_54.png.meta │ │ │ ├── LDR_LLL1_55.png │ │ │ ├── LDR_LLL1_55.png.meta │ │ │ ├── LDR_LLL1_56.png │ │ │ ├── LDR_LLL1_56.png.meta │ │ │ ├── LDR_LLL1_57.png │ │ │ ├── LDR_LLL1_57.png.meta │ │ │ ├── LDR_LLL1_58.png │ │ │ ├── LDR_LLL1_58.png.meta │ │ │ ├── LDR_LLL1_59.png │ │ │ ├── LDR_LLL1_59.png.meta │ │ │ ├── LDR_LLL1_6.png │ │ │ ├── LDR_LLL1_6.png.meta │ │ │ ├── LDR_LLL1_60.png │ │ │ ├── LDR_LLL1_60.png.meta │ │ │ ├── LDR_LLL1_61.png │ │ │ ├── LDR_LLL1_61.png.meta │ │ │ ├── LDR_LLL1_62.png │ │ │ ├── LDR_LLL1_62.png.meta │ │ │ ├── LDR_LLL1_63.png │ │ │ ├── LDR_LLL1_63.png.meta │ │ │ ├── LDR_LLL1_7.png │ │ │ ├── LDR_LLL1_7.png.meta │ │ │ ├── LDR_LLL1_8.png │ │ │ ├── LDR_LLL1_8.png.meta │ │ │ ├── LDR_LLL1_9.png │ │ │ ├── LDR_LLL1_9.png.meta │ │ │ ├── LICENSE.txt │ │ │ └── LICENSE.txt.meta │ │ ├── Shaders.meta │ │ └── Shaders │ │ │ ├── ACES.cginc │ │ │ ├── ACES.cginc.meta │ │ │ ├── AmbientOcclusion.cginc │ │ │ ├── AmbientOcclusion.cginc.meta │ │ │ ├── AmbientOcclusion.shader │ │ │ ├── AmbientOcclusion.shader.meta │ │ │ ├── Blit.shader │ │ │ ├── Blit.shader.meta │ │ │ ├── Bloom.cginc │ │ │ ├── Bloom.cginc.meta │ │ │ ├── Bloom.shader │ │ │ ├── Bloom.shader.meta │ │ │ ├── BuiltinDebugViews.shader │ │ │ ├── BuiltinDebugViews.shader.meta │ │ │ ├── ColorGrading.cginc │ │ │ ├── ColorGrading.cginc.meta │ │ │ ├── Common.cginc │ │ │ ├── Common.cginc.meta │ │ │ ├── DepthOfField.cginc │ │ │ ├── DepthOfField.cginc.meta │ │ │ ├── DepthOfField.shader │ │ │ ├── DepthOfField.shader.meta │ │ │ ├── DiskKernels.cginc │ │ │ ├── DiskKernels.cginc.meta │ │ │ ├── EyeAdaptation.cginc │ │ │ ├── EyeAdaptation.cginc.meta │ │ │ ├── EyeAdaptation.shader │ │ │ ├── EyeAdaptation.shader.meta │ │ │ ├── EyeHistogram.compute │ │ │ ├── EyeHistogram.compute.meta │ │ │ ├── FXAA.shader │ │ │ ├── FXAA.shader.meta │ │ │ ├── FXAA3.cginc │ │ │ ├── FXAA3.cginc.meta │ │ │ ├── Fog.shader │ │ │ ├── Fog.shader.meta │ │ │ ├── GrainGen.shader │ │ │ ├── GrainGen.shader.meta │ │ │ ├── LutGen.shader │ │ │ ├── LutGen.shader.meta │ │ │ ├── MotionBlur.cginc │ │ │ ├── MotionBlur.cginc.meta │ │ │ ├── MotionBlur.shader │ │ │ ├── MotionBlur.shader.meta │ │ │ ├── ScreenSpaceRaytrace.cginc │ │ │ ├── ScreenSpaceRaytrace.cginc.meta │ │ │ ├── ScreenSpaceReflection.shader │ │ │ ├── ScreenSpaceReflection.shader.meta │ │ │ ├── TAA.cginc │ │ │ ├── TAA.cginc.meta │ │ │ ├── TAA.shader │ │ │ ├── TAA.shader.meta │ │ │ ├── Tonemapping.cginc │ │ │ ├── Tonemapping.cginc.meta │ │ │ ├── Uber.shader │ │ │ ├── Uber.shader.meta │ │ │ ├── UberSecondPass.cginc │ │ │ └── UberSecondPass.cginc.meta │ ├── Runtime.meta │ ├── Runtime │ │ ├── Attributes.meta │ │ ├── Attributes │ │ │ ├── GetSetAttribute.cs │ │ │ ├── GetSetAttribute.cs.meta │ │ │ ├── MinAttribute.cs │ │ │ ├── MinAttribute.cs.meta │ │ │ ├── TrackballAttribute.cs │ │ │ ├── TrackballAttribute.cs.meta │ │ │ ├── TrackballGroupAttribute.cs │ │ │ └── TrackballGroupAttribute.cs.meta │ │ ├── Components.meta │ │ ├── Components │ │ │ ├── AmbientOcclusionComponent.cs │ │ │ ├── AmbientOcclusionComponent.cs.meta │ │ │ ├── BloomComponent.cs │ │ │ ├── BloomComponent.cs.meta │ │ │ ├── BuiltinDebugViewsComponent.cs │ │ │ ├── BuiltinDebugViewsComponent.cs.meta │ │ │ ├── ChromaticAberrationComponent.cs │ │ │ ├── ChromaticAberrationComponent.cs.meta │ │ │ ├── ColorGradingComponent.cs │ │ │ ├── ColorGradingComponent.cs.meta │ │ │ ├── DepthOfFieldComponent.cs │ │ │ ├── DepthOfFieldComponent.cs.meta │ │ │ ├── DitheringComponent.cs │ │ │ ├── DitheringComponent.cs.meta │ │ │ ├── EyeAdaptationComponent.cs │ │ │ ├── EyeAdaptationComponent.cs.meta │ │ │ ├── FogComponent.cs │ │ │ ├── FogComponent.cs.meta │ │ │ ├── FxaaComponent.cs │ │ │ ├── FxaaComponent.cs.meta │ │ │ ├── GrainComponent.cs │ │ │ ├── GrainComponent.cs.meta │ │ │ ├── MotionBlurComponent.cs │ │ │ ├── MotionBlurComponent.cs.meta │ │ │ ├── ScreenSpaceReflectionComponent.cs │ │ │ ├── ScreenSpaceReflectionComponent.cs.meta │ │ │ ├── TaaComponent.cs │ │ │ ├── TaaComponent.cs.meta │ │ │ ├── UserLutComponent.cs │ │ │ ├── UserLutComponent.cs.meta │ │ │ ├── VignetteComponent.cs │ │ │ └── VignetteComponent.cs.meta │ │ ├── Models.meta │ │ ├── Models │ │ │ ├── AmbientOcclusionModel.cs │ │ │ ├── AmbientOcclusionModel.cs.meta │ │ │ ├── AntialiasingModel.cs │ │ │ ├── AntialiasingModel.cs.meta │ │ │ ├── BloomModel.cs │ │ │ ├── BloomModel.cs.meta │ │ │ ├── BuiltinDebugViewsModel.cs │ │ │ ├── BuiltinDebugViewsModel.cs.meta │ │ │ ├── ChromaticAberrationModel.cs │ │ │ ├── ChromaticAberrationModel.cs.meta │ │ │ ├── ColorGradingModel.cs │ │ │ ├── ColorGradingModel.cs.meta │ │ │ ├── DepthOfFieldModel.cs │ │ │ ├── DepthOfFieldModel.cs.meta │ │ │ ├── DitheringModel.cs │ │ │ ├── DitheringModel.cs.meta │ │ │ ├── EyeAdaptationModel.cs │ │ │ ├── EyeAdaptationModel.cs.meta │ │ │ ├── FogModel.cs │ │ │ ├── FogModel.cs.meta │ │ │ ├── GrainModel.cs │ │ │ ├── GrainModel.cs.meta │ │ │ ├── MotionBlurModel.cs │ │ │ ├── MotionBlurModel.cs.meta │ │ │ ├── ScreenSpaceReflectionModel.cs │ │ │ ├── ScreenSpaceReflectionModel.cs.meta │ │ │ ├── UserLutModel.cs │ │ │ ├── UserLutModel.cs.meta │ │ │ ├── VignetteModel.cs │ │ │ └── VignetteModel.cs.meta │ │ ├── PostProcessingBehaviour.cs │ │ ├── PostProcessingBehaviour.cs.meta │ │ ├── PostProcessingComponent.cs │ │ ├── PostProcessingComponent.cs.meta │ │ ├── PostProcessingContext.cs │ │ ├── PostProcessingContext.cs.meta │ │ ├── PostProcessingModel.cs │ │ ├── PostProcessingModel.cs.meta │ │ ├── PostProcessingProfile.cs │ │ ├── PostProcessingProfile.cs.meta │ │ ├── Utils.meta │ │ └── Utils │ │ │ ├── ColorGradingCurve.cs │ │ │ ├── ColorGradingCurve.cs.meta │ │ │ ├── GraphicsUtils.cs │ │ │ ├── GraphicsUtils.cs.meta │ │ │ ├── MaterialFactory.cs │ │ │ ├── MaterialFactory.cs.meta │ │ │ ├── RenderTextureFactory.cs │ │ │ └── RenderTextureFactory.cs.meta │ ├── Textures.meta │ ├── Textures │ │ ├── LUTs.meta │ │ ├── LUTs │ │ │ ├── NeutralLUT_16.png │ │ │ ├── NeutralLUT_16.png.meta │ │ │ ├── NeutralLUT_32.png │ │ │ └── NeutralLUT_32.png.meta │ │ ├── Lens Dirt.meta │ │ ├── Lens Dirt │ │ │ ├── LensDirt00.png │ │ │ └── LensDirt00.png.meta │ │ ├── Spectral LUTs.meta │ │ └── Spectral LUTs │ │ │ ├── SpectralLut_BlueRed.tga │ │ │ ├── SpectralLut_BlueRed.tga.meta │ │ │ ├── SpectralLut_GreenPurple.tga │ │ │ ├── SpectralLut_GreenPurple.tga.meta │ │ │ ├── SpectralLut_PurpleGreen.tga │ │ │ ├── SpectralLut_PurpleGreen.tga.meta │ │ │ ├── SpectralLut_RedBlue.tga │ │ │ └── SpectralLut_RedBlue.tga.meta │ ├── Utilities.meta │ └── Utilities │ │ ├── CustomMotionTexture.meta │ │ └── CustomMotionTexture │ │ ├── CustomMotionVectorDebugProfile.asset │ │ ├── CustomMotionVectorDebugProfile.asset.meta │ │ ├── ExampleScene.unity │ │ ├── ExampleScene.unity.meta │ │ ├── ExampleWheelController.cs │ │ ├── ExampleWheelController.cs.meta │ │ ├── Materials.meta │ │ ├── Materials │ │ ├── DebugMotionVectors.mat │ │ ├── DebugMotionVectors.mat.meta │ │ ├── DebugQuad.mat │ │ ├── DebugQuad.mat.meta │ │ ├── UVChecker.mat │ │ ├── UVChecker.mat.meta │ │ ├── WheelMotionVectors.mat │ │ └── WheelMotionVectors.mat.meta │ │ ├── Models.meta │ │ ├── Models │ │ ├── WheelMovecs.FBX │ │ └── WheelMovecs.FBX.meta │ │ ├── Shaders.meta │ │ ├── Shaders │ │ ├── CustomMotionVectorTexture.shader │ │ └── CustomMotionVectorTexture.shader.meta │ │ ├── Textures.meta │ │ └── Textures │ │ ├── DebugMotionVectors.png │ │ ├── DebugMotionVectors.png.meta │ │ ├── UVChecker.png │ │ ├── UVChecker.png.meta │ │ ├── WheelMotionVectors.png │ │ └── WheelMotionVectors.png.meta ├── Scripts.meta ├── Scripts │ ├── Rotation.cs │ └── Rotation.cs.meta ├── Shaders.meta └── Shaders │ ├── ConeOfSight.meta │ ├── ConeOfSight │ ├── ConeOfSight.gif │ ├── ConeOfSight.gif.meta │ ├── ConeOfSight.mat │ ├── ConeOfSight.mat.meta │ ├── ConeOfSight.shader │ ├── ConeOfSight.shader.meta │ ├── ConeOfSight.unity │ ├── ConeOfSight.unity.meta │ ├── ConeOfSightRaycaster.cs │ ├── ConeOfSightRaycaster.cs.meta │ ├── Example1.jpg │ ├── Example1.jpg.meta │ ├── Example2.jpg │ ├── Example2.jpg.meta │ ├── Example3.jpg │ ├── Example3.jpg.meta │ ├── README.md │ └── README.md.meta │ ├── Grass.meta │ ├── Grass │ ├── Football.mat │ ├── Football.mat.meta │ ├── Grass.meta │ ├── Grass.shader │ ├── Grass.shader.meta │ ├── Grass.unity │ ├── Grass.unity.meta │ ├── Grass │ │ ├── LightingData.asset │ │ ├── LightingData.asset.meta │ │ ├── ReflectionProbe-0.exr │ │ ├── ReflectionProbe-0.exr.meta │ │ ├── ReflectionProbe-1.exr │ │ └── ReflectionProbe-1.exr.meta │ ├── GrassBase.jpg │ ├── GrassBase.jpg.meta │ ├── GrassMask.png │ ├── GrassMask.png.meta │ ├── GrassPass.cginc │ ├── GrassPass.cginc.meta │ ├── GrassPlane.mat │ ├── GrassPlane.mat.meta │ ├── PitchDesign.jpg │ ├── PitchDesign.jpg.meta │ ├── PostProcess.asset │ ├── PostProcess.asset.meta │ ├── Preview.PNG │ ├── Preview.PNG.meta │ └── Preview.PNG~ │ ├── Hologram.meta │ ├── Hologram │ ├── Hologram.gif │ ├── Hologram.gif.meta │ ├── Hologram.jpg │ ├── Hologram.jpg.meta │ ├── Hologram.mat │ ├── Hologram.mat.meta │ ├── Hologram.shader │ ├── Hologram.shader.meta │ ├── HologramSource.mat │ ├── HologramSource.mat.meta │ ├── hologram.unity │ ├── hologram.unity.meta │ ├── noise.png │ └── noise.png.meta │ ├── RainyGlass.meta │ └── RainyGlass │ ├── RainyGlass.gif │ ├── RainyGlass.gif.meta │ ├── RainyGlass.mat │ ├── RainyGlass.mat.meta │ ├── RainyGlass.png │ ├── RainyGlass.png.meta │ ├── RainyGlass.shader │ ├── RainyGlass.shader.meta │ ├── RainyGlass.unity │ ├── RainyGlass.unity.meta │ ├── RainyGlassDrops.png │ ├── RainyGlassDrops.png.meta │ ├── RainyGlassNormal.png │ └── RainyGlassNormal.png.meta ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityAdsSettings.asset └── UnityConnectSettings.asset └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | /[Ll]ibrary/ 2 | /[Tt]emp/ 3 | /[Oo]bj/ 4 | /[Bb]uild/ 5 | /[Bb]uilds/ 6 | /Assets/AssetStoreTools* 7 | 8 | # Visual Studio 2015 cache directory 9 | /.vs/ 10 | 11 | # Autogenerated VS/MD/Consulo solution and project files 12 | ExportedObj/ 13 | .consulo/ 14 | *.csproj 15 | *.unityproj 16 | *.sln 17 | *.suo 18 | *.tmp 19 | *.user 20 | *.userprefs 21 | *.pidb 22 | *.booproj 23 | *.svd 24 | *.pdb 25 | 26 | # Unity3D generated meta files 27 | *.pidb.meta 28 | 29 | # Unity3D Generated File On Crash Reports 30 | sysinfo.txt 31 | 32 | # Builds 33 | *.apk 34 | *.unitypackage -------------------------------------------------------------------------------- /Assets/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9824753949c334ebc9c8f7c73589c3cf 3 | folderAsset: yes 4 | timeCreated: 1492072754 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Materials/Blue.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Materials/Blue.mat -------------------------------------------------------------------------------- /Assets/Materials/Blue.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52874e2ee824d4d54857e886acd568c5 3 | timeCreated: 1492072759 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Materials/DarkBlue.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Materials/DarkBlue.mat -------------------------------------------------------------------------------- /Assets/Materials/DarkBlue.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f92d7e858a74456f81a0dfd9aaeb3ea 3 | timeCreated: 1492072759 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Materials/Red.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Materials/Red.mat -------------------------------------------------------------------------------- /Assets/Materials/Red.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c3fea8d87f4bf4612b8d036c4d1baf62 3 | timeCreated: 1492072759 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Materials/Skin.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Materials/Skin.mat -------------------------------------------------------------------------------- /Assets/Materials/Skin.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 386ef1af224d94af1a2330387b431ab9 3 | timeCreated: 1492072759 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ba604aa3001284a1fa67ec06ce3b02da 3 | folderAsset: yes 4 | timeCreated: 1492071869 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Models/Football Ball.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Models/Football Ball.fbx -------------------------------------------------------------------------------- /Assets/Models/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 943a1c7edb7822f409b9e1fb63d932b6 3 | folderAsset: yes 4 | timeCreated: 1496736016 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Models/Materials/Material.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Models/Materials/Material.mat -------------------------------------------------------------------------------- /Assets/Models/Materials/Material.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1f50664b971925d47941be9497e435dc 3 | timeCreated: 1496746082 4 | licenseType: Free 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Models/Materials/New Material.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Models/Materials/New Material.mat -------------------------------------------------------------------------------- /Assets/Models/Materials/New Material.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 96c87d024e33fd9438852e2617592fd2 3 | timeCreated: 1496746744 4 | licenseType: Free 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Models/Materials/No Name.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Models/Materials/No Name.mat -------------------------------------------------------------------------------- /Assets/Models/Materials/No Name.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a434432fb3cdb3a46bfd9b559e565fbb 3 | timeCreated: 1496736017 4 | licenseType: Free 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Models/Materials/T_SatCom1_D.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Models/Materials/T_SatCom1_D.mat -------------------------------------------------------------------------------- /Assets/Models/Materials/T_SatCom1_D.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b2959cd765912b14181f528a55e3ea51 3 | timeCreated: 1496736018 4 | licenseType: Free 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Models/Materials/White.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Models/Materials/White.mat -------------------------------------------------------------------------------- /Assets/Models/Materials/White.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74f83599953102c46ae936f2d9d96502 3 | timeCreated: 1496746400 4 | licenseType: Free 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Models/Materials/aliens body diffuse.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Models/Materials/aliens body diffuse.mat -------------------------------------------------------------------------------- /Assets/Models/Materials/aliens body diffuse.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 63fd2a21f4273a345a35158e4bafb037 3 | timeCreated: 1496736016 4 | licenseType: Free 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Models/Materials/оружие дифуз.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Models/Materials/оружие дифуз.mat -------------------------------------------------------------------------------- /Assets/Models/Materials/оружие дифуз.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 475715dd665e35241838a6047dac30d7 3 | timeCreated: 1496736017 4 | licenseType: Free 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Models/Mesh.FBX: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Models/Mesh.FBX -------------------------------------------------------------------------------- /Assets/Models/S_SatelliteDish_ConceptX.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Models/S_SatelliteDish_ConceptX.fbx -------------------------------------------------------------------------------- /Assets/Models/Spaceship.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Models/Spaceship.fbx -------------------------------------------------------------------------------- /Assets/Models/Stadium N140408.3ds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Models/Stadium N140408.3ds -------------------------------------------------------------------------------- /Assets/PostProcessing.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2da57b30e43d0264a80d9593bfd8903c 3 | folderAsset: yes 4 | timeCreated: 1519162223 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 83715878d3a8db441aa5636641db69a3 3 | folderAsset: yes 4 | timeCreated: 1476176392 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor Resources/Monitors.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e7358848dd8737c459f4636f1c075835 3 | folderAsset: yes 4 | timeCreated: 1460361782 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor Resources/Monitors/HistogramCompute.compute.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 51b7e4b4448c98f4a849081110fd6212 3 | timeCreated: 1459956391 4 | licenseType: Store 5 | ComputeShaderImporter: 6 | currentAPIMask: 4 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor Resources/Monitors/HistogramRender.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 965efa32cf2345647a1c987546e08f86 3 | timeCreated: 1459956391 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor Resources/Monitors/ParadeRender.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ae1bfc1dd20ac04e8b74aa0f2f12eea 3 | timeCreated: 1459956391 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor Resources/Monitors/VectorscopeCompute.compute: -------------------------------------------------------------------------------- 1 | #include "UnityCG.cginc" 2 | 3 | RWStructuredBuffer _Vectorscope; 4 | Texture2D _Source; 5 | 6 | CBUFFER_START (Params) 7 | uint _IsLinear; 8 | float4 _Res; 9 | CBUFFER_END 10 | 11 | #define GROUP_SIZE 32 12 | 13 | float3 RgbToYUV(float3 c) 14 | { 15 | float Y = 0.299 * c.r + 0.587 * c.g + 0.114 * c.b; 16 | float U = -0.169 * c.r - 0.331 * c.g + 0.500 * c.b; 17 | float V = 0.500 * c.r - 0.419 * c.g - 0.081 * c.b; 18 | return float3(Y, U, V); 19 | } 20 | 21 | #pragma kernel KVectorscope 22 | [numthreads(GROUP_SIZE,GROUP_SIZE,1)] 23 | void KVectorscope(uint2 dispatchThreadId : SV_DispatchThreadID) 24 | { 25 | if (dispatchThreadId.x < (uint)_Res.x && dispatchThreadId.y < (uint)_Res.y) 26 | { 27 | float3 color = saturate(_Source[dispatchThreadId].xyz); 28 | if (_IsLinear > 0) 29 | color = LinearToGammaSpace(color); 30 | 31 | float3 yuv = RgbToYUV(color); 32 | 33 | if (length(yuv.yz) > 0.49) 34 | yuv.yz = normalize(yuv.yz) * 0.49; 35 | 36 | yuv.yz += (0.5).xx; 37 | uint u = (uint)floor(yuv.y * _Res.x); 38 | uint v = (uint)floor(yuv.z * _Res.y); 39 | InterlockedAdd(_Vectorscope[v * _Res.x + u], 1); 40 | } 41 | } 42 | 43 | #pragma kernel KVectorscopeClear 44 | [numthreads(GROUP_SIZE,GROUP_SIZE,1)] 45 | void KVectorscopeClear(uint2 dispatchThreadId : SV_DispatchThreadID) 46 | { 47 | if (dispatchThreadId.x < (uint)_Res.x && dispatchThreadId.y < (uint)_Res.y) 48 | _Vectorscope[dispatchThreadId.y * _Res.x + dispatchThreadId.x] = 0u; 49 | } 50 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor Resources/Monitors/VectorscopeCompute.compute.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45de9ff58691e934c9810dc23de2ba50 3 | timeCreated: 1459956391 4 | licenseType: Store 5 | ComputeShaderImporter: 6 | currentAPIMask: 4 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor Resources/Monitors/VectorscopeRender.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c4298cd35ef7834e892898e49d61ecd 3 | timeCreated: 1461756159 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor Resources/Monitors/WaveformCompute.compute: -------------------------------------------------------------------------------- 1 | #include "UnityCG.cginc" 2 | 3 | RWStructuredBuffer _Waveform; 4 | Texture2D _Source; 5 | 6 | CBUFFER_START (Params) 7 | uint _IsLinear; 8 | uint4 _Channels; 9 | CBUFFER_END 10 | 11 | #define COLUMNS 384 12 | 13 | #pragma kernel KWaveform 14 | [numthreads(1,COLUMNS,1)] 15 | void KWaveform(uint2 dispatchThreadId : SV_DispatchThreadID) 16 | { 17 | // We want a gamma corrected colors 18 | float3 color = _Source[dispatchThreadId].rgb; 19 | if (_IsLinear > 0u) 20 | color = LinearToGammaSpace(color); 21 | 22 | color = saturate(color); 23 | 24 | // Convert color & luminance to histogram bins 25 | const float kColumnsMinusOne = COLUMNS - 1.0; 26 | uint3 idx_c = (uint3)(round(color * kColumnsMinusOne)); 27 | uint idx_l = (uint)(round(dot(color.rgb, float3(0.2126, 0.7152, 0.0722)) * kColumnsMinusOne)); 28 | 29 | // A lot of atomic operations will be skipped so there's no need to over-think this one. 30 | uint j = dispatchThreadId.x * COLUMNS; 31 | if (_Channels.x > 0u && idx_c.x > 0u) InterlockedAdd(_Waveform[j + idx_c.x].x, 1u); // Red 32 | if (_Channels.y > 0u && idx_c.y > 0u) InterlockedAdd(_Waveform[j + idx_c.y].y, 1u); // Green 33 | if (_Channels.z > 0u && idx_c.z > 0u) InterlockedAdd(_Waveform[j + idx_c.z].z, 1u); // Blue 34 | if (_Channels.w > 0u) InterlockedAdd(_Waveform[j + idx_l].w, 1u); // Luminance 35 | } 36 | 37 | #pragma kernel KWaveformClear 38 | [numthreads(1, COLUMNS, 1)] 39 | void KWaveformClear(uint2 dispatchThreadId : SV_DispatchThreadID) 40 | { 41 | _Waveform[dispatchThreadId.x * COLUMNS + dispatchThreadId.y] = uint4(0u, 0u, 0u, 0u); 42 | } 43 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor Resources/Monitors/WaveformCompute.compute.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d9b886f7a8fe7b4baf56624c42e3420 3 | timeCreated: 1459956392 4 | licenseType: Store 5 | ComputeShaderImporter: 6 | currentAPIMask: 4 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor Resources/Monitors/WaveformRender.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b3e43c50424ab2428a9c172843bc66d 3 | timeCreated: 1459956391 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor Resources/UI.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df37d60cc69b7b04d9705a74938179e7 3 | folderAsset: yes 4 | timeCreated: 1460627771 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor Resources/UI/CurveBackground.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b1b2bfb2897659e45983f0c3e7dda2c8 3 | timeCreated: 1460970196 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor Resources/UI/MotionBlendingIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Editor Resources/UI/MotionBlendingIcon.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor Resources/UI/MotionBlendingIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c0fa58091049bd24394fa15b0b6d4c5a 3 | timeCreated: 1468326774 4 | licenseType: Store 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | spriteTessellationDetail: -1 50 | textureType: 2 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor Resources/UI/Trackball.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4bf49309c7ab9eb42a86774d2c09b4fa 3 | timeCreated: 1460627788 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e0e418747b892364db5c5f4451e67ede 3 | folderAsset: yes 4 | timeCreated: 1466586258 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Attributes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cc5c690f549b4704eb992a9be781554d 3 | folderAsset: yes 4 | timeCreated: 1466769698 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Attributes/PostProcessingModelEditorAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEditor.PostProcessing 4 | { 5 | public class PostProcessingModelEditorAttribute : Attribute 6 | { 7 | public readonly Type type; 8 | public readonly bool alwaysEnabled; 9 | 10 | public PostProcessingModelEditorAttribute(Type type, bool alwaysEnabled = false) 11 | { 12 | this.type = type; 13 | this.alwaysEnabled = alwaysEnabled; 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Attributes/PostProcessingModelEditorAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c21938aa988055347a2271f03a3e731e 3 | timeCreated: 1466769734 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5341d31985da604db4b100f174142ad 3 | folderAsset: yes 4 | timeCreated: 1466769808 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/AmbientOcclusionModelEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fcb710e23a5a0546a3b8b0ca28c1720 3 | timeCreated: 1467190133 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/AntialiasingModelEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2451939fe695c1a408ba688219837667 3 | timeCreated: 1467190133 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/BloomModelEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a95f3f10e7e437c49ade656f531b30d2 3 | timeCreated: 1467190133 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/BuiltinDebugViewsEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 760ffebbef2ed644c87940a699eb7fe6 3 | timeCreated: 1468237035 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/ChromaticAberrationEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine.PostProcessing; 2 | 3 | namespace UnityEditor.PostProcessing 4 | { 5 | [PostProcessingModelEditor(typeof(ChromaticAberrationModel))] 6 | public class ChromaticaAberrationModelEditor : DefaultPostFxModelEditor 7 | { 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/ChromaticAberrationEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a713f71a0169794a915a081f6242f60 3 | timeCreated: 1467190133 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/ColorGradingModelEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c3e3bce1d5c900d4fa7aa0f2b21814cf 3 | timeCreated: 1467190133 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/DefaultPostFxModelEditor.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace UnityEditor.PostProcessing 4 | { 5 | public class DefaultPostFxModelEditor : PostProcessingModelEditor 6 | { 7 | List m_Properties = new List(); 8 | 9 | public override void OnEnable() 10 | { 11 | var iter = m_SettingsProperty.Copy().GetEnumerator(); 12 | while (iter.MoveNext()) 13 | m_Properties.Add(((SerializedProperty)iter.Current).Copy()); 14 | } 15 | 16 | public override void OnInspectorGUI() 17 | { 18 | foreach (var property in m_Properties) 19 | EditorGUILayout.PropertyField(property); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/DefaultPostFxModelEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c15016a7fef58974f91a6a4d6b132d94 3 | timeCreated: 1467190133 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/DepthOfFieldModelEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine.PostProcessing; 2 | 3 | namespace UnityEditor.PostProcessing 4 | { 5 | using Settings = DepthOfFieldModel.Settings; 6 | 7 | [PostProcessingModelEditor(typeof(DepthOfFieldModel))] 8 | public class DepthOfFieldModelEditor : PostProcessingModelEditor 9 | { 10 | SerializedProperty m_FocusDistance; 11 | SerializedProperty m_Aperture; 12 | SerializedProperty m_FocalLength; 13 | SerializedProperty m_UseCameraFov; 14 | SerializedProperty m_KernelSize; 15 | 16 | public override void OnEnable() 17 | { 18 | m_FocusDistance = FindSetting((Settings x) => x.focusDistance); 19 | m_Aperture = FindSetting((Settings x) => x.aperture); 20 | m_FocalLength = FindSetting((Settings x) => x.focalLength); 21 | m_UseCameraFov = FindSetting((Settings x) => x.useCameraFov); 22 | m_KernelSize = FindSetting((Settings x) => x.kernelSize); 23 | } 24 | 25 | public override void OnInspectorGUI() 26 | { 27 | EditorGUILayout.PropertyField(m_FocusDistance); 28 | EditorGUILayout.PropertyField(m_Aperture, EditorGUIHelper.GetContent("Aperture (f-stop)")); 29 | 30 | EditorGUILayout.PropertyField(m_UseCameraFov, EditorGUIHelper.GetContent("Use Camera FOV")); 31 | if (!m_UseCameraFov.boolValue) 32 | EditorGUILayout.PropertyField(m_FocalLength, EditorGUIHelper.GetContent("Focal Length (mm)")); 33 | 34 | EditorGUILayout.PropertyField(m_KernelSize); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/DepthOfFieldModelEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc2f388440e9f8b4f8fc7bb43c01cc7d 3 | timeCreated: 1467190133 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/DitheringModelEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine.PostProcessing; 2 | 3 | namespace UnityEditor.PostProcessing 4 | { 5 | [PostProcessingModelEditor(typeof(DitheringModel))] 6 | public class DitheringModelEditor : PostProcessingModelEditor 7 | { 8 | public override void OnInspectorGUI() 9 | { 10 | if (profile.grain.enabled && target.enabled) 11 | EditorGUILayout.HelpBox("Grain is enabled, you probably don't need dithering !", MessageType.Warning); 12 | else 13 | EditorGUILayout.HelpBox("Nothing to configure !", MessageType.Info); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/DitheringModelEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 87377c86d84f49a4e912d37d28353e7f 3 | timeCreated: 1485179854 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/EyeAdaptationModelEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 489b5c785ba0f614d90c322fa0827216 3 | timeCreated: 1467190133 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/FogModelEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine.PostProcessing; 2 | 3 | namespace UnityEditor.PostProcessing 4 | { 5 | using Settings = FogModel.Settings; 6 | 7 | [PostProcessingModelEditor(typeof(FogModel))] 8 | public class FogModelEditor : PostProcessingModelEditor 9 | { 10 | SerializedProperty m_ExcludeSkybox; 11 | 12 | public override void OnEnable() 13 | { 14 | m_ExcludeSkybox = FindSetting((Settings x) => x.excludeSkybox); 15 | } 16 | 17 | public override void OnInspectorGUI() 18 | { 19 | EditorGUILayout.HelpBox("This effect adds fog compatibility to the deferred rendering path; enabling it with the forward rendering path won't have any effect. Actual fog settings should be set in the Lighting panel.", MessageType.Info); 20 | EditorGUILayout.PropertyField(m_ExcludeSkybox); 21 | EditorGUI.indentLevel--; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/FogModelEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 44a64b44ec891d24b96ed84d958c3d4f 3 | timeCreated: 1487335049 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/GrainModelEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine.PostProcessing; 2 | 3 | namespace UnityEditor.PostProcessing 4 | { 5 | using Settings = GrainModel.Settings; 6 | 7 | [PostProcessingModelEditor(typeof(GrainModel))] 8 | public class GrainModelEditor : PostProcessingModelEditor 9 | { 10 | SerializedProperty m_Colored; 11 | SerializedProperty m_Intensity; 12 | SerializedProperty m_Size; 13 | SerializedProperty m_LuminanceContribution; 14 | 15 | public override void OnEnable() 16 | { 17 | m_Colored = FindSetting((Settings x) => x.colored); 18 | m_Intensity = FindSetting((Settings x) => x.intensity); 19 | m_Size = FindSetting((Settings x) => x.size); 20 | m_LuminanceContribution = FindSetting((Settings x) => x.luminanceContribution); 21 | } 22 | 23 | public override void OnInspectorGUI() 24 | { 25 | EditorGUILayout.PropertyField(m_Intensity); 26 | EditorGUILayout.PropertyField(m_LuminanceContribution); 27 | EditorGUILayout.PropertyField(m_Size); 28 | EditorGUILayout.PropertyField(m_Colored); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/GrainModelEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8330694e2c90c284f81153ac83b3cb4a 3 | timeCreated: 1467190133 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/MotionBlurModelEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 870806eda355b5144879155e2ba37eb6 3 | timeCreated: 1468325681 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/ScreenSpaceReflectionModelEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57bbe1f20eec7bb4d9bc90fc65ef381b 3 | timeCreated: 1467190133 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/UserLutModelEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b235eb1c486b38c4fa06470234bbfd32 3 | timeCreated: 1466769818 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Models/VignetteModelEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 745ad42620dabf04b94761acc86189ba 3 | timeCreated: 1467190133 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Monitors.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e31078d57ac582944ad5e1e76a84f36a 3 | folderAsset: yes 4 | timeCreated: 1467188891 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Monitors/HistogramMonitor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4581c45ac4aa2264187087659a4cc252 3 | timeCreated: 1460031632 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Monitors/ParadeMonitor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b1f878f3742072e40a280683573bd0ee 3 | timeCreated: 1460031643 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Monitors/VectorscopeMonitor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 805119df0d94800418006c621cc99cc2 3 | timeCreated: 1461748750 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Monitors/WaveformMonitor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d45bc7edb5916446b4fa1ae1b6f9065 3 | timeCreated: 1459957472 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/PostProcessingBehaviourEditor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Linq.Expressions; 3 | using UnityEngine.PostProcessing; 4 | 5 | namespace UnityEditor.PostProcessing 6 | { 7 | [CustomEditor(typeof(PostProcessingBehaviour))] 8 | public class PostProcessingBehaviourEditor : Editor 9 | { 10 | SerializedProperty m_Profile; 11 | 12 | public void OnEnable() 13 | { 14 | m_Profile = FindSetting((PostProcessingBehaviour x) => x.profile); 15 | } 16 | 17 | public override void OnInspectorGUI() 18 | { 19 | serializedObject.Update(); 20 | 21 | EditorGUILayout.PropertyField(m_Profile); 22 | 23 | serializedObject.ApplyModifiedProperties(); 24 | } 25 | 26 | SerializedProperty FindSetting(Expression> expr) 27 | { 28 | return serializedObject.FindProperty(ReflectionUtils.GetFieldPath(expr)); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/PostProcessingBehaviourEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c12e797b02402246a52aa270c45059b 3 | timeCreated: 1476193645 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/PostProcessingFactory.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.PostProcessing; 3 | using UnityEditor.ProjectWindowCallback; 4 | using System.IO; 5 | 6 | namespace UnityEditor.PostProcessing 7 | { 8 | public class PostProcessingFactory 9 | { 10 | [MenuItem("Assets/Create/Post-Processing Profile", priority = 201)] 11 | static void MenuCreatePostProcessingProfile() 12 | { 13 | var icon = EditorGUIUtility.FindTexture("ScriptableObject Icon"); 14 | ProjectWindowUtil.StartNameEditingIfProjectWindowExists(0, ScriptableObject.CreateInstance(), "New Post-Processing Profile.asset", icon, null); 15 | } 16 | 17 | internal static PostProcessingProfile CreatePostProcessingProfileAtPath(string path) 18 | { 19 | var profile = ScriptableObject.CreateInstance(); 20 | profile.name = Path.GetFileName(path); 21 | profile.fog.enabled = true; 22 | AssetDatabase.CreateAsset(profile, path); 23 | return profile; 24 | } 25 | } 26 | 27 | class DoCreatePostProcessingProfile : EndNameEditAction 28 | { 29 | public override void Action(int instanceId, string pathName, string resourceFile) 30 | { 31 | PostProcessingProfile profile = PostProcessingFactory.CreatePostProcessingProfileAtPath(pathName); 32 | ProjectWindowUtil.ShowCreatedAsset(profile); 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/PostProcessingFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0dfcadb180d67014cb0a6e18d6b11f90 3 | timeCreated: 1466586271 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/PostProcessingInspector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 27fa95984763d9d47bbad59e7fdb66fe 3 | timeCreated: 1467188923 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/PostProcessingModelEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: afe296d4ede60a0479734dc8c7df82c2 3 | timeCreated: 1467188923 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/PostProcessingMonitor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace UnityEditor.PostProcessing 5 | { 6 | using MonitorSettings = UnityEngine.PostProcessing.PostProcessingProfile.MonitorSettings; 7 | 8 | public abstract class PostProcessingMonitor : IDisposable 9 | { 10 | protected MonitorSettings m_MonitorSettings; 11 | protected PostProcessingInspector m_BaseEditor; 12 | 13 | public void Init(MonitorSettings monitorSettings, PostProcessingInspector baseEditor) 14 | { 15 | m_MonitorSettings = monitorSettings; 16 | m_BaseEditor = baseEditor; 17 | } 18 | 19 | public abstract bool IsSupported(); 20 | 21 | public abstract GUIContent GetMonitorTitle(); 22 | 23 | public virtual void OnMonitorSettings() 24 | {} 25 | 26 | public abstract void OnMonitorGUI(Rect r); 27 | 28 | public virtual void OnFrameData(RenderTexture source) 29 | {} 30 | 31 | public virtual void Dispose() 32 | {} 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/PostProcessingMonitor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 801186e9e649457469bcddd8ee391c71 3 | timeCreated: 1467188912 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/PropertyDrawers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ced92f1cc2085ae48acacc79a2b8e196 3 | folderAsset: yes 4 | timeCreated: 1467189428 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/PropertyDrawers/GetSetDrawer.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.PostProcessing; 3 | 4 | namespace UnityEditor.PostProcessing 5 | { 6 | [CustomPropertyDrawer(typeof(GetSetAttribute))] 7 | sealed class GetSetDrawer : PropertyDrawer 8 | { 9 | public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) 10 | { 11 | var attribute = (GetSetAttribute)base.attribute; 12 | 13 | EditorGUI.BeginChangeCheck(); 14 | EditorGUI.PropertyField(position, property, label); 15 | 16 | if (EditorGUI.EndChangeCheck()) 17 | { 18 | attribute.dirty = true; 19 | } 20 | else if (attribute.dirty) 21 | { 22 | var parent = ReflectionUtils.GetParentObject(property.propertyPath, property.serializedObject.targetObject); 23 | 24 | var type = parent.GetType(); 25 | var info = type.GetProperty(attribute.name); 26 | 27 | if (info == null) 28 | Debug.LogError("Invalid property name \"" + attribute.name + "\""); 29 | else 30 | info.SetValue(parent, fieldInfo.GetValue(parent), null); 31 | 32 | attribute.dirty = false; 33 | } 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/PropertyDrawers/GetSetDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1a43b92f2bbd914ca2e6b4c6a5dba48 3 | timeCreated: 1460383963 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/PropertyDrawers/MinDrawer.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.PostProcessing; 3 | 4 | namespace UnityEditor.PostProcessing 5 | { 6 | [CustomPropertyDrawer(typeof(MinAttribute))] 7 | sealed class MinDrawer : PropertyDrawer 8 | { 9 | public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) 10 | { 11 | MinAttribute attribute = (MinAttribute)base.attribute; 12 | 13 | if (property.propertyType == SerializedPropertyType.Integer) 14 | { 15 | int v = EditorGUI.IntField(position, label, property.intValue); 16 | property.intValue = (int)Mathf.Max(v, attribute.min); 17 | } 18 | else if (property.propertyType == SerializedPropertyType.Float) 19 | { 20 | float v = EditorGUI.FloatField(position, label, property.floatValue); 21 | property.floatValue = Mathf.Max(v, attribute.min); 22 | } 23 | else 24 | { 25 | EditorGUI.LabelField(position, label.text, "Use Min with float or int."); 26 | } 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/PropertyDrawers/MinDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8995f52f410f0fb4cb1bdaa71a16e04e 3 | timeCreated: 1467364278 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/PropertyDrawers/TrackballGroupDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a668d493c5ed56d448b53c19b2c3dfd2 3 | timeCreated: 1460563239 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Utils.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b52c69ccefdae7545bfb4d0bf9b7df71 3 | folderAsset: yes 4 | timeCreated: 1467189428 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Utils/CurveEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: afb349ef0bffd144db2bdd25630f648e 3 | timeCreated: 1472650750 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Utils/EditorGUIHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7226e17fa48c86148a3d15584e21b4cb 3 | timeCreated: 1460477750 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Utils/EditorResources.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace UnityEditor.PostProcessing 4 | { 5 | using UnityObject = Object; 6 | 7 | static class EditorResources 8 | { 9 | static string m_EditorResourcesPath = string.Empty; 10 | 11 | internal static string editorResourcesPath 12 | { 13 | get 14 | { 15 | if (string.IsNullOrEmpty(m_EditorResourcesPath)) 16 | { 17 | string path; 18 | 19 | if (SearchForEditorResourcesPath(out path)) 20 | m_EditorResourcesPath = path; 21 | else 22 | Debug.LogError("Unable to locate editor resources. Make sure the PostProcessing package has been installed correctly."); 23 | } 24 | 25 | return m_EditorResourcesPath; 26 | } 27 | } 28 | 29 | internal static T Load(string name) 30 | where T : UnityObject 31 | { 32 | return AssetDatabase.LoadAssetAtPath(editorResourcesPath + name); 33 | } 34 | 35 | static bool SearchForEditorResourcesPath(out string path) 36 | { 37 | path = string.Empty; 38 | 39 | string searchStr = "/PostProcessing/Editor Resources/"; 40 | string str = null; 41 | 42 | foreach (var assetPath in AssetDatabase.GetAllAssetPaths()) 43 | { 44 | if (assetPath.Contains(searchStr)) 45 | { 46 | str = assetPath; 47 | break; 48 | } 49 | } 50 | 51 | if (str == null) 52 | return false; 53 | 54 | path = str.Substring(0, str.LastIndexOf(searchStr) + searchStr.Length); 55 | return true; 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Utils/EditorResources.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a66d7b0165140a1439be89b5afc000fb 3 | timeCreated: 1476177015 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Utils/FxStyles.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8f31cf52f05e80c4ea48570d0c3c8f59 3 | timeCreated: 1461744717 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Editor/Utils/ReflectionUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71f7e805a7fc35046afbcf5c2639d116 3 | timeCreated: 1466604313 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52380717b4884c04ebc31c46dda84909 3 | folderAsset: yes 4 | timeCreated: 1466585230 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2be7cf05ee8fb17438022d4869299900 3 | folderAsset: yes 4 | timeCreated: 1485107615 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/COPYING.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa3fc398fe396744c9299e70b63bfdd7 3 | timeCreated: 1485181015 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_0.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_1.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_10.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_11.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_12.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_13.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_14.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_15.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_16.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_17.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_18.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_19.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_2.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_20.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_21.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_22.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_23.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_24.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_25.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_26.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_26.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_27.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_27.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_28.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_28.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_29.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_3.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_30.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_30.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_31.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_32.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_33.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_33.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_34.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_34.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_35.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_35.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_36.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_37.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_37.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_38.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_38.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_39.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_39.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_4.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_40.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_41.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_41.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_42.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_42.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_43.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_43.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_44.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_44.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_45.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_45.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_46.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_46.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_47.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_47.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_48.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_49.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_49.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_5.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_50.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_51.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_51.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_52.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_52.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_53.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_53.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_54.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_54.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_55.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_55.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_56.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_56.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_57.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_58.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_58.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_59.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_59.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_6.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_60.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_61.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_61.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_62.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_62.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_63.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_63.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_7.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_8.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Resources/Bluenoise64/LDR_LLL1_9.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LICENSE.txt: -------------------------------------------------------------------------------- 1 | To the extent possible under law, Christoph Peters has waived all copyright and 2 | related or neighboring rights to the files in this directory and its 3 | subdirectories. This work is published from: Germany. 4 | 5 | The work is made available under the terms of the Creative Commons CC0 Public 6 | Domain Dedication. 7 | 8 | For more information please visit: 9 | https://creativecommons.org/publicdomain/zero/1.0/ 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Bluenoise64/LICENSE.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48ffda675aa0afa4f9eec3a5d5487aeb 3 | timeCreated: 1485181015 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e039bcc30d13c9341aa224f4e89f21b3 3 | folderAsset: yes 4 | timeCreated: 1462199729 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/ACES.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8d56fc3449f426408c23c723b58d7b5 3 | timeCreated: 1460363486 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/AmbientOcclusion.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 447591ee3d9d4204899be5fe25968ea0 3 | timeCreated: 1473323470 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/AmbientOcclusion.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e881ae5627d1cc84395303acfbca6fb2 3 | timeCreated: 1462280790 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/Blit.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/Post FX/Blit" 2 | { 3 | Properties 4 | { 5 | _MainTex("Main Texture", 2D) = "white" {} 6 | } 7 | 8 | CGINCLUDE 9 | 10 | #include "UnityCG.cginc" 11 | #include "Common.cginc" 12 | 13 | struct Varyings 14 | { 15 | float2 uv : TEXCOORD0; 16 | float4 vertex : SV_POSITION; 17 | }; 18 | 19 | Varyings VertBlit(AttributesDefault v) 20 | { 21 | Varyings o; 22 | o.vertex = UnityObjectToClipPos(v.vertex); 23 | o.uv = UnityStereoScreenSpaceUVAdjust(v.texcoord, _MainTex_ST); 24 | return o; 25 | } 26 | 27 | half4 FragBlit(Varyings i) : SV_Target 28 | { 29 | half4 col = tex2D(_MainTex, i.uv); 30 | return col; 31 | } 32 | 33 | ENDCG 34 | 35 | SubShader 36 | { 37 | Cull Off ZWrite Off ZTest Always 38 | 39 | Pass 40 | { 41 | CGPROGRAM 42 | 43 | #pragma vertex VertBlit 44 | #pragma fragment FragBlit 45 | 46 | ENDCG 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/Blit.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d89469544dfa214eabdbf37fca76f40 3 | timeCreated: 1474297975 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/Bloom.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d1f4dd94c8e6e940b0730076ea7d6d9 3 | timeCreated: 1462980395 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/Bloom.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4ceb73bc148699b469361531d6062548 3 | timeCreated: 1462953634 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/BuiltinDebugViews.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72127ba7dd8c6b04bb3f29c7ee669813 3 | timeCreated: 1468224802 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/ColorGrading.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 26a62c2e30be83547bdfa9fe837165e3 3 | timeCreated: 1460363486 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/Common.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb88496804341c648b32a75843d92ccb 3 | timeCreated: 1465205118 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/DepthOfField.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ddc2c19b8a216d748a357ffe32ba4dc1 3 | timeCreated: 1472211508 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/DepthOfField.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac8ed710934a3564686a096bb351caee 3 | timeCreated: 1465484939 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/DiskKernels.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: faeb738b5a2c3ff43bd104dd5b1a275c 3 | timeCreated: 1476954194 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/EyeAdaptation.cginc: -------------------------------------------------------------------------------- 1 | #ifndef __EYE_ADAPTATION__ 2 | #define __EYE_ADAPTATION__ 3 | 4 | // Optimal values for PS4/GCN 5 | // Using a group size of 32x32 seems to be a bit faster on Kepler/Maxwell 6 | // Don't forget to update 'EyeAdaptationController.cs' if you change these values ! 7 | #define HISTOGRAM_BINS 64 8 | #define HISTOGRAM_TEXELS HISTOGRAM_BINS / 4 9 | #define HISTOGRAM_THREAD_X 16 10 | #define HISTOGRAM_THREAD_Y 16 11 | 12 | float GetHistogramBinFromLuminance(float value, float2 scaleOffset) 13 | { 14 | return saturate(log2(value) * scaleOffset.x + scaleOffset.y); 15 | } 16 | 17 | float GetLuminanceFromHistogramBin(float bin, float2 scaleOffset) 18 | { 19 | return exp2((bin - scaleOffset.y) / scaleOffset.x); 20 | } 21 | 22 | #endif // __EYE_ADAPTATION__ 23 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/EyeAdaptation.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d2f406cad28afda489b94594fb3ce0af 3 | timeCreated: 1465898178 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/EyeAdaptation.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81899cddfbc72494497a6db0ae045f2c 3 | timeCreated: 1465903628 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/EyeHistogram.compute.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e213272ad8ff213409a6e13b5c26b4e4 3 | timeCreated: 1464341416 4 | licenseType: Store 5 | ComputeShaderImporter: 6 | currentAPIMask: 4 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/FXAA.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 291f0d5b6045f4646847c59b4ce13ac5 3 | timeCreated: 1462350540 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/FXAA3.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 613b4036a9f55c34fb054bde02455e46 3 | timeCreated: 1462350552 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/Fog.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a72fc91cbae3cc4686a6143e8517993 3 | timeCreated: 1487335480 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/GrainGen.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 11852d1b1b034654bb03e7c8fda28fbf 3 | timeCreated: 1476347976 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/LutGen.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d248d4d1588851f43a9fa18a4e6f0209 3 | timeCreated: 1460361871 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/MotionBlur.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c83956915580e42489479d2a109470ab 3 | timeCreated: 1470404606 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/MotionBlur.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ab8493603d8f8e408750b81666a95f1 3 | timeCreated: 1468327385 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/ScreenSpaceRaytrace.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a92d6fdbe2c35f94190497c18b88f9af 3 | timeCreated: 1464350148 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/ScreenSpaceReflection.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 607a5643efb168f429e438f7d6ad270a 3 | timeCreated: 1464350149 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/TAA.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 241b7a6a033e9dc4da9d2595cef7f477 3 | timeCreated: 1472807158 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/TAA.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec6c5af987867f54aa08fba81ee279bd 3 | timeCreated: 1472807140 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/Tonemapping.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a999e641c982a14d9c68dfd53a98afc 3 | timeCreated: 1469104178 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/Uber.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ce0a6f4c8cae334d8a5617f302b6769 3 | timeCreated: 1459956426 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/UberSecondPass.cginc: -------------------------------------------------------------------------------- 1 | #include "ColorGrading.cginc" 2 | 3 | // Grain 4 | half2 _Grain_Params1; // x: lum_contrib, y: intensity 5 | half4 _Grain_Params2; // x: xscale, h: yscale, z: xoffset, w: yoffset 6 | sampler2D _GrainTex; 7 | 8 | // Dithering 9 | sampler2D _DitheringTex; 10 | float4 _DitheringCoords; 11 | 12 | float3 UberSecondPass(half3 color, float2 uv) 13 | { 14 | // Grain 15 | #if GRAIN 16 | { 17 | float3 grain = tex2D(_GrainTex, uv * _Grain_Params2.xy + _Grain_Params2.zw).rgb; 18 | 19 | // Noisiness response curve based on scene luminance 20 | float lum = 1.0 - sqrt(AcesLuminance(color)); 21 | lum = lerp(1.0, lum, _Grain_Params1.x); 22 | 23 | color += color * grain * _Grain_Params1.y * lum; 24 | } 25 | #endif 26 | 27 | // Blue noise dithering 28 | #if DITHERING 29 | { 30 | // Symmetric triangular distribution on [-1,1] with maximal density at 0 31 | float noise = tex2D(_DitheringTex, uv * _DitheringCoords.xy + _DitheringCoords.zw).a * 2.0 - 1.0; 32 | noise = sign(noise) * (1.0 - sqrt(1.0 - abs(noise))) / 255.0; 33 | 34 | color += noise; 35 | } 36 | #endif 37 | 38 | return color; 39 | } 40 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Resources/Shaders/UberSecondPass.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6e42614562a56445ba4b5d90301f06f 3 | timeCreated: 1487080088 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b79d54138d9d1a498085393504c7d02 3 | folderAsset: yes 4 | timeCreated: 1466585248 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Attributes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68327f748e8ffd94889a47317b7d327b 3 | folderAsset: yes 4 | timeCreated: 1460383911 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Attributes/GetSetAttribute.cs: -------------------------------------------------------------------------------- 1 | namespace UnityEngine.PostProcessing 2 | { 3 | public sealed class GetSetAttribute : PropertyAttribute 4 | { 5 | public readonly string name; 6 | public bool dirty; 7 | 8 | public GetSetAttribute(string name) 9 | { 10 | this.name = name; 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Attributes/GetSetAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f17e8602928ea02419dae051ec79c5a2 3 | timeCreated: 1460383955 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Attributes/MinAttribute.cs: -------------------------------------------------------------------------------- 1 | namespace UnityEngine.PostProcessing 2 | { 3 | public sealed class MinAttribute : PropertyAttribute 4 | { 5 | public readonly float min; 6 | 7 | public MinAttribute(float min) 8 | { 9 | this.min = min; 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Attributes/MinAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9af2f505033843c46a362e251937acb1 3 | timeCreated: 1462281908 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Attributes/TrackballAttribute.cs: -------------------------------------------------------------------------------- 1 | namespace UnityEngine.PostProcessing 2 | { 3 | public sealed class TrackballAttribute : PropertyAttribute 4 | { 5 | public readonly string method; 6 | 7 | public TrackballAttribute(string method) 8 | { 9 | this.method = method; 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Attributes/TrackballAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 65e30143f4e114f45b84a1d9cba8f469 3 | timeCreated: 1463400829 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Attributes/TrackballGroupAttribute.cs: -------------------------------------------------------------------------------- 1 | namespace UnityEngine.PostProcessing 2 | { 3 | public sealed class TrackballGroupAttribute : PropertyAttribute 4 | { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Attributes/TrackballGroupAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aa62a51ebe4821e4b89a64d267b30a27 3 | timeCreated: 1460563239 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Components.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1f765b2bd3d2ad49b2677f6478a9ba3 3 | folderAsset: yes 4 | timeCreated: 1466585494 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Components/AmbientOcclusionComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6e33ce72d3776b408121f946283403d 3 | timeCreated: 1467275948 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Components/BloomComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: acd4204a794b09048b928b1e987500c5 3 | timeCreated: 1473089954 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Components/BuiltinDebugViewsComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fd834b6165e82e64f9da2d4ed9f4e236 3 | timeCreated: 1473163679 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Components/ChromaticAberrationComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b9c65642df654a84d84ded1b07448a4c 3 | timeCreated: 1473085971 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Components/ColorGradingComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9baf73db7c9fc1b478f4a0a1000c86f5 3 | timeCreated: 1473086520 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Components/DepthOfFieldComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d862c8701bf34c342b95cf9058d0b70c 3 | timeCreated: 1468410915 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Components/DitheringComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 35ceb4b3cfab56d43a3f0efeb9d68c43 3 | timeCreated: 1485179235 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Components/EyeAdaptationComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c227d71a4040d304c943c26e0914bdeb 3 | timeCreated: 1473088756 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Components/FogComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0363c1cc7de62b4989190994103f5e2 3 | timeCreated: 1487334918 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Components/FxaaComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d4e1109c5030ca04e9a28243a35155ff 3 | timeCreated: 1473088423 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Components/GrainComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ff793ec42153c34799eed059982bac3 3 | timeCreated: 1473084716 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Components/MotionBlurComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9a9ae59cbb7c53e40851df7f32805098 3 | timeCreated: 1468325905 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Components/ScreenSpaceReflectionComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd75f795d6a798f44a7801082f6a703f 3 | timeCreated: 1467626205 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Components/TaaComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f28703283e17be54180fd04a7c70e1d5 3 | timeCreated: 1472806965 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Components/UserLutComponent.cs: -------------------------------------------------------------------------------- 1 | namespace UnityEngine.PostProcessing 2 | { 3 | public sealed class UserLutComponent : PostProcessingComponentRenderTexture 4 | { 5 | static class Uniforms 6 | { 7 | internal static readonly int _UserLut = Shader.PropertyToID("_UserLut"); 8 | internal static readonly int _UserLut_Params = Shader.PropertyToID("_UserLut_Params"); 9 | } 10 | 11 | public override bool active 12 | { 13 | get 14 | { 15 | var settings = model.settings; 16 | return model.enabled 17 | && settings.lut != null 18 | && settings.contribution > 0f 19 | && settings.lut.height == (int)Mathf.Sqrt(settings.lut.width) 20 | && !context.interrupted; 21 | } 22 | } 23 | 24 | public override void Prepare(Material uberMaterial) 25 | { 26 | var settings = model.settings; 27 | uberMaterial.EnableKeyword("USER_LUT"); 28 | uberMaterial.SetTexture(Uniforms._UserLut, settings.lut); 29 | uberMaterial.SetVector(Uniforms._UserLut_Params, new Vector4(1f / settings.lut.width, 1f / settings.lut.height, settings.lut.height - 1f, settings.contribution)); 30 | } 31 | 32 | public void OnGUI() 33 | { 34 | var settings = model.settings; 35 | var rect = new Rect(context.viewport.x * Screen.width + 8f, 8f, settings.lut.width, settings.lut.height); 36 | GUI.DrawTexture(rect, settings.lut); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Components/UserLutComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 63cb071fb8442a14f85c02e6ddba9b72 3 | timeCreated: 1473086193 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Components/VignetteComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39074aa97f4be23438147346f081c7f3 3 | timeCreated: 1473083872 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d5a699332eb8a9499077fa4bcd4e0a0 3 | folderAsset: yes 4 | timeCreated: 1459757852 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/AmbientOcclusionModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 564228afc5cbd5f49beb80038b4b7af2 3 | timeCreated: 1462280796 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/AntialiasingModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb9a239ec5f20ca4cb5d0391441588de 3 | timeCreated: 1467126855 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/BloomModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e215a6ec29d100f489c186f289526f06 3 | timeCreated: 1467126855 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/BuiltinDebugViewsModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 33d6d1a4b7b3dec40819019a25605191 3 | timeCreated: 1467970684 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/ChromaticAberrationModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.PostProcessing 4 | { 5 | [Serializable] 6 | public class ChromaticAberrationModel : PostProcessingModel 7 | { 8 | [Serializable] 9 | public struct Settings 10 | { 11 | [Tooltip("Shift the hue of chromatic aberrations.")] 12 | public Texture2D spectralTexture; 13 | 14 | [Range(0f, 1f), Tooltip("Amount of tangential distortion.")] 15 | public float intensity; 16 | 17 | public static Settings defaultSettings 18 | { 19 | get 20 | { 21 | return new Settings 22 | { 23 | spectralTexture = null, 24 | intensity = 0.1f 25 | }; 26 | } 27 | } 28 | } 29 | 30 | [SerializeField] 31 | Settings m_Settings = Settings.defaultSettings; 32 | public Settings settings 33 | { 34 | get { return m_Settings; } 35 | set { m_Settings = value; } 36 | } 37 | 38 | public override void Reset() 39 | { 40 | m_Settings = Settings.defaultSettings; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/ChromaticAberrationModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8da01668697617e43879715e835a2367 3 | timeCreated: 1467126855 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/ColorGradingModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe146bcdc1fb8ae4ab7dd803982d3489 3 | timeCreated: 1467126855 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/DepthOfFieldModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2626b17c595c71e43811d654eb28d30d 3 | timeCreated: 1467126855 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/DitheringModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.PostProcessing 4 | { 5 | [Serializable] 6 | public class DitheringModel : PostProcessingModel 7 | { 8 | [Serializable] 9 | public struct Settings 10 | { 11 | public static Settings defaultSettings 12 | { 13 | get { return new Settings(); } 14 | } 15 | } 16 | 17 | [SerializeField] 18 | Settings m_Settings = Settings.defaultSettings; 19 | public Settings settings 20 | { 21 | get { return m_Settings; } 22 | set { m_Settings = value; } 23 | } 24 | 25 | public override void Reset() 26 | { 27 | m_Settings = Settings.defaultSettings; 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/DitheringModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 41209882cdbcf31429d2a457a2164801 3 | timeCreated: 1485179235 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/EyeAdaptationModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: edf6d216ca4b60942a0c533c14f26d53 3 | timeCreated: 1467126855 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/FogModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.PostProcessing 4 | { 5 | [Serializable] 6 | public class FogModel : PostProcessingModel 7 | { 8 | [Serializable] 9 | public struct Settings 10 | { 11 | [Tooltip("Should the fog affect the skybox?")] 12 | public bool excludeSkybox; 13 | 14 | public static Settings defaultSettings 15 | { 16 | get 17 | { 18 | return new Settings 19 | { 20 | excludeSkybox = true 21 | }; 22 | } 23 | } 24 | } 25 | 26 | [SerializeField] 27 | Settings m_Settings = Settings.defaultSettings; 28 | public Settings settings 29 | { 30 | get { return m_Settings; } 31 | set { m_Settings = value; } 32 | } 33 | 34 | public override void Reset() 35 | { 36 | m_Settings = Settings.defaultSettings; 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/FogModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e20e66aa2deb7943993c444137d9acd 3 | timeCreated: 1487328709 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/GrainModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.PostProcessing 4 | { 5 | [Serializable] 6 | public class GrainModel : PostProcessingModel 7 | { 8 | [Serializable] 9 | public struct Settings 10 | { 11 | [Tooltip("Enable the use of colored grain.")] 12 | public bool colored; 13 | 14 | [Range(0f, 1f), Tooltip("Grain strength. Higher means more visible grain.")] 15 | public float intensity; 16 | 17 | [Range(0.3f, 3f), Tooltip("Grain particle size.")] 18 | public float size; 19 | 20 | [Range(0f, 1f), Tooltip("Controls the noisiness response curve based on scene luminance. Lower values mean less noise in dark areas.")] 21 | public float luminanceContribution; 22 | 23 | public static Settings defaultSettings 24 | { 25 | get 26 | { 27 | return new Settings 28 | { 29 | colored = true, 30 | intensity = 0.5f, 31 | size = 1f, 32 | luminanceContribution = 0.8f 33 | }; 34 | } 35 | } 36 | } 37 | 38 | [SerializeField] 39 | Settings m_Settings = Settings.defaultSettings; 40 | public Settings settings 41 | { 42 | get { return m_Settings; } 43 | set { m_Settings = value; } 44 | } 45 | 46 | public override void Reset() 47 | { 48 | m_Settings = Settings.defaultSettings; 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/GrainModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4fbcdb7f7a3c76489f32ffea74e6bb3 3 | timeCreated: 1467126855 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/MotionBlurModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.PostProcessing 4 | { 5 | [Serializable] 6 | public class MotionBlurModel : PostProcessingModel 7 | { 8 | [Serializable] 9 | public struct Settings 10 | { 11 | [Range(0f, 360f), Tooltip("The angle of rotary shutter. Larger values give longer exposure.")] 12 | public float shutterAngle; 13 | 14 | [Range(4, 32), Tooltip("The amount of sample points, which affects quality and performances.")] 15 | public int sampleCount; 16 | 17 | [Range(0f, 1f), Tooltip("The strength of multiple frame blending. The opacity of preceding frames are determined from this coefficient and time differences.")] 18 | public float frameBlending; 19 | 20 | public static Settings defaultSettings 21 | { 22 | get 23 | { 24 | return new Settings 25 | { 26 | shutterAngle = 270f, 27 | sampleCount = 10, 28 | frameBlending = 0f 29 | }; 30 | } 31 | } 32 | } 33 | 34 | [SerializeField] 35 | Settings m_Settings = Settings.defaultSettings; 36 | public Settings settings 37 | { 38 | get { return m_Settings; } 39 | set { m_Settings = value; } 40 | } 41 | 42 | public override void Reset() 43 | { 44 | m_Settings = Settings.defaultSettings; 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/MotionBlurModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bb4df227c906dd342bd34767914d292c 3 | timeCreated: 1468325392 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/ScreenSpaceReflectionModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e841012229e57cd408a146561435e90d 3 | timeCreated: 1467126855 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/UserLutModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.PostProcessing 4 | { 5 | [Serializable] 6 | public class UserLutModel : PostProcessingModel 7 | { 8 | [Serializable] 9 | public struct Settings 10 | { 11 | [Tooltip("Custom lookup texture (strip format, e.g. 256x16).")] 12 | public Texture2D lut; 13 | 14 | [Range(0f, 1f), Tooltip("Blending factor.")] 15 | public float contribution; 16 | 17 | public static Settings defaultSettings 18 | { 19 | get 20 | { 21 | return new Settings 22 | { 23 | lut = null, 24 | contribution = 1f 25 | }; 26 | } 27 | } 28 | } 29 | 30 | [SerializeField] 31 | Settings m_Settings = Settings.defaultSettings; 32 | public Settings settings 33 | { 34 | get { return m_Settings; } 35 | set { m_Settings = value; } 36 | } 37 | 38 | public override void Reset() 39 | { 40 | m_Settings = Settings.defaultSettings; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/UserLutModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a7afd753a89c4140b80c855e15f69d6 3 | timeCreated: 1467126855 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Models/VignetteModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7aa967ba692363448f1b25d0728b9bd 3 | timeCreated: 1467126855 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/PostProcessingBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff26db721962cdf4a8edcdfa9a767d2a 3 | timeCreated: 1459757354 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/PostProcessingComponent.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine.Rendering; 2 | 3 | namespace UnityEngine.PostProcessing 4 | { 5 | public abstract class PostProcessingComponentBase 6 | { 7 | public PostProcessingContext context; 8 | 9 | public virtual DepthTextureMode GetCameraFlags() 10 | { 11 | return DepthTextureMode.None; 12 | } 13 | 14 | public abstract bool active { get; } 15 | 16 | public virtual void OnEnable() 17 | {} 18 | 19 | public virtual void OnDisable() 20 | {} 21 | 22 | public abstract PostProcessingModel GetModel(); 23 | } 24 | 25 | public abstract class PostProcessingComponent : PostProcessingComponentBase 26 | where T : PostProcessingModel 27 | { 28 | public T model { get; internal set; } 29 | 30 | public virtual void Init(PostProcessingContext pcontext, T pmodel) 31 | { 32 | context = pcontext; 33 | model = pmodel; 34 | } 35 | 36 | public override PostProcessingModel GetModel() 37 | { 38 | return model; 39 | } 40 | } 41 | 42 | public abstract class PostProcessingComponentCommandBuffer : PostProcessingComponent 43 | where T : PostProcessingModel 44 | { 45 | public abstract CameraEvent GetCameraEvent(); 46 | 47 | public abstract string GetName(); 48 | 49 | public abstract void PopulateCommandBuffer(CommandBuffer cb); 50 | } 51 | 52 | public abstract class PostProcessingComponentRenderTexture : PostProcessingComponent 53 | where T : PostProcessingModel 54 | { 55 | public virtual void Prepare(Material material) 56 | {} 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/PostProcessingComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef3277e9c14f78546a1ecaab0d293b77 3 | timeCreated: 1473009349 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/PostProcessingContext.cs: -------------------------------------------------------------------------------- 1 | namespace UnityEngine.PostProcessing 2 | { 3 | public class PostProcessingContext 4 | { 5 | public PostProcessingProfile profile; 6 | public Camera camera; 7 | 8 | public MaterialFactory materialFactory; 9 | public RenderTextureFactory renderTextureFactory; 10 | 11 | public bool interrupted { get; private set; } 12 | 13 | public void Interrupt() 14 | { 15 | interrupted = true; 16 | } 17 | 18 | public PostProcessingContext Reset() 19 | { 20 | profile = null; 21 | camera = null; 22 | materialFactory = null; 23 | renderTextureFactory = null; 24 | interrupted = false; 25 | return this; 26 | } 27 | 28 | #region Helpers 29 | public bool isGBufferAvailable 30 | { 31 | get { return camera.actualRenderingPath == RenderingPath.DeferredShading; } 32 | } 33 | 34 | public bool isHdr 35 | { 36 | // No UNITY_5_6_OR_NEWER defined in early betas of 5.6 37 | #if UNITY_5_6 || UNITY_5_6_OR_NEWER 38 | get { return camera.allowHDR; } 39 | #else 40 | get { return camera.hdr; } 41 | #endif 42 | } 43 | 44 | public int width 45 | { 46 | get { return camera.pixelWidth; } 47 | } 48 | 49 | public int height 50 | { 51 | get { return camera.pixelHeight; } 52 | } 53 | 54 | public Rect viewport 55 | { 56 | get { return camera.rect; } // Normalized coordinates 57 | } 58 | #endregion 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/PostProcessingContext.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 63da4b6536f11834fa026e327087bd7b 3 | timeCreated: 1467630780 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/PostProcessingModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.PostProcessing 4 | { 5 | [Serializable] 6 | public abstract class PostProcessingModel 7 | { 8 | [SerializeField, GetSet("enabled")] 9 | bool m_Enabled; 10 | public bool enabled 11 | { 12 | get { return m_Enabled; } 13 | set 14 | { 15 | m_Enabled = value; 16 | 17 | if (value) 18 | OnValidate(); 19 | } 20 | } 21 | 22 | public abstract void Reset(); 23 | 24 | public virtual void OnValidate() 25 | {} 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/PostProcessingModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28413153a26e53342baf1a7b2c3711c3 3 | timeCreated: 1466586474 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/PostProcessingProfile.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a3bdb2cd68f901469e7cc149151eb49 3 | timeCreated: 1459756301 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Utils.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 18fb6a6b698945843a16c2d0111a7af2 3 | folderAsset: yes 4 | timeCreated: 1459945070 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Utils/ColorGradingCurve.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.PostProcessing 4 | { 5 | // Small wrapper on top of AnimationCurve to handle zero-key curves and keyframe looping 6 | 7 | [Serializable] 8 | public sealed class ColorGradingCurve 9 | { 10 | public AnimationCurve curve; 11 | 12 | [SerializeField] 13 | bool m_Loop; 14 | 15 | [SerializeField] 16 | float m_ZeroValue; 17 | 18 | [SerializeField] 19 | float m_Range; 20 | 21 | AnimationCurve m_InternalLoopingCurve; 22 | 23 | public ColorGradingCurve(AnimationCurve curve, float zeroValue, bool loop, Vector2 bounds) 24 | { 25 | this.curve = curve; 26 | m_ZeroValue = zeroValue; 27 | m_Loop = loop; 28 | m_Range = bounds.magnitude; 29 | } 30 | 31 | public void Cache() 32 | { 33 | if (!m_Loop) 34 | return; 35 | 36 | var length = curve.length; 37 | 38 | if (length < 2) 39 | return; 40 | 41 | if (m_InternalLoopingCurve == null) 42 | m_InternalLoopingCurve = new AnimationCurve(); 43 | 44 | var prev = curve[length - 1]; 45 | prev.time -= m_Range; 46 | var next = curve[0]; 47 | next.time += m_Range; 48 | m_InternalLoopingCurve.keys = curve.keys; 49 | m_InternalLoopingCurve.AddKey(prev); 50 | m_InternalLoopingCurve.AddKey(next); 51 | } 52 | 53 | public float Evaluate(float t) 54 | { 55 | if (curve.length == 0) 56 | return m_ZeroValue; 57 | 58 | if (!m_Loop || curve.length == 1) 59 | return curve.Evaluate(t); 60 | 61 | return m_InternalLoopingCurve.Evaluate(t); 62 | } 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Utils/ColorGradingCurve.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1bb6f2275f7eff940b6f0d72681e7877 3 | timeCreated: 1473847739 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Utils/GraphicsUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f40f0a1acf6ce2f419f2b71c667e8973 3 | timeCreated: 1467635425 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Utils/MaterialFactory.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace UnityEngine.PostProcessing 5 | { 6 | using UnityObject = Object; 7 | 8 | public sealed class MaterialFactory : IDisposable 9 | { 10 | Dictionary m_Materials; 11 | 12 | public MaterialFactory() 13 | { 14 | m_Materials = new Dictionary(); 15 | } 16 | 17 | public Material Get(string shaderName) 18 | { 19 | Material material; 20 | 21 | if (!m_Materials.TryGetValue(shaderName, out material)) 22 | { 23 | var shader = Shader.Find(shaderName); 24 | 25 | if (shader == null) 26 | throw new ArgumentException(string.Format("Shader not found ({0})", shaderName)); 27 | 28 | material = new Material(shader) 29 | { 30 | name = string.Format("PostFX - {0}", shaderName.Substring(shaderName.LastIndexOf("/") + 1)), 31 | hideFlags = HideFlags.DontSave 32 | }; 33 | 34 | m_Materials.Add(shaderName, material); 35 | } 36 | 37 | return material; 38 | } 39 | 40 | public void Dispose() 41 | { 42 | var enumerator = m_Materials.GetEnumerator(); 43 | while (enumerator.MoveNext()) 44 | { 45 | var material = enumerator.Current.Value; 46 | GraphicsUtils.Destroy(material); 47 | } 48 | 49 | m_Materials.Clear(); 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Utils/MaterialFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 594fad000c373f746864717c588e1815 3 | timeCreated: 1466586851 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Runtime/Utils/RenderTextureFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aec5694806c4d75449e231cfae69c329 3 | timeCreated: 1467361102 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e15c29a7abfa52743a8cb7714389c3c7 3 | folderAsset: yes 4 | timeCreated: 1466585230 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Textures/LUTs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 499867e2df2e54e4aad0b9333221f875 3 | folderAsset: yes 4 | timeCreated: 1473255405 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Textures/LUTs/NeutralLUT_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Textures/LUTs/NeutralLUT_16.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Textures/LUTs/NeutralLUT_16.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e45483e270a314c4bbc6e317771d56ab 3 | timeCreated: 1463066524 4 | licenseType: Store 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: 3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 0 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 5 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Textures/LUTs/NeutralLUT_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Textures/LUTs/NeutralLUT_32.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Textures/LUTs/NeutralLUT_32.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f98e9c96c8a48541b5eb704e92d99b8 3 | timeCreated: 1463066534 4 | licenseType: Store 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: 3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 0 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 5 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Textures/Lens Dirt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 705e7922061713741885ae52a3e0bea4 3 | folderAsset: yes 4 | timeCreated: 1472737148 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Textures/Lens Dirt/LensDirt00.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Textures/Lens Dirt/LensDirt00.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Textures/Spectral LUTs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 67d9249960fda4c41b0a23a65573a8a2 3 | folderAsset: yes 4 | timeCreated: 1473255405 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Textures/Spectral LUTs/SpectralLut_BlueRed.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Textures/Spectral LUTs/SpectralLut_BlueRed.tga -------------------------------------------------------------------------------- /Assets/PostProcessing/Textures/Spectral LUTs/SpectralLut_BlueRed.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 318cbcd94840f1d48aca4d86234dc2e7 3 | timeCreated: 1473255656 4 | licenseType: Store 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 32 31 | textureSettings: 32 | filterMode: 1 33 | aniso: 0 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: 5 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Textures/Spectral LUTs/SpectralLut_GreenPurple.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Textures/Spectral LUTs/SpectralLut_GreenPurple.tga -------------------------------------------------------------------------------- /Assets/PostProcessing/Textures/Spectral LUTs/SpectralLut_GreenPurple.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a8f054acfbd08043a931cd22760758d 3 | timeCreated: 1473255985 4 | licenseType: Store 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 32 31 | textureSettings: 32 | filterMode: 1 33 | aniso: 0 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: 5 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Textures/Spectral LUTs/SpectralLut_PurpleGreen.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Textures/Spectral LUTs/SpectralLut_PurpleGreen.tga -------------------------------------------------------------------------------- /Assets/PostProcessing/Textures/Spectral LUTs/SpectralLut_PurpleGreen.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 42183971d24cfe443a346e7ec6e83bbb 3 | timeCreated: 1473256088 4 | licenseType: Store 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 32 31 | textureSettings: 32 | filterMode: 1 33 | aniso: 0 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: 5 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Textures/Spectral LUTs/SpectralLut_RedBlue.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Textures/Spectral LUTs/SpectralLut_RedBlue.tga -------------------------------------------------------------------------------- /Assets/PostProcessing/Textures/Spectral LUTs/SpectralLut_RedBlue.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff5f3317371838d4fa16ac6c2acf2040 3 | timeCreated: 1473255656 4 | licenseType: Store 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 32 31 | textureSettings: 32 | filterMode: 1 33 | aniso: 0 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: 5 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 478d405e757b044f2bd9c4b777026b7e 3 | folderAsset: yes 4 | timeCreated: 1487339997 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b271143f6e834d6bb7a4309f2c781f2 3 | folderAsset: yes 4 | timeCreated: 1487339997 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/CustomMotionVectorDebugProfile.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Utilities/CustomMotionTexture/CustomMotionVectorDebugProfile.asset -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/CustomMotionVectorDebugProfile.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d982e879ff67b4d3fb6522d08c3cd5af 3 | timeCreated: 1487341088 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/ExampleScene.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Utilities/CustomMotionTexture/ExampleScene.unity -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/ExampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed3a9f41209f84f6db99e07013da9628 3 | timeCreated: 1487347827 4 | licenseType: Store 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/ExampleWheelController.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class ExampleWheelController : MonoBehaviour 4 | { 5 | public float acceleration; 6 | public Renderer motionVectorRenderer; // Reference to the custom motion vector renderer 7 | 8 | Rigidbody m_Rigidbody; 9 | 10 | static class Uniforms 11 | { 12 | internal static readonly int _MotionAmount = Shader.PropertyToID("_MotionAmount"); 13 | } 14 | 15 | void Start() 16 | { 17 | m_Rigidbody = GetComponent(); // Get reference to rigidbody 18 | m_Rigidbody.maxAngularVelocity = 100; // Set max velocity for rigidbody 19 | } 20 | 21 | void Update() 22 | { 23 | if (Input.GetKey (KeyCode.UpArrow)) // Rotate forward 24 | m_Rigidbody.AddRelativeTorque(new Vector3(-1 * acceleration, 0, 0), ForceMode.Acceleration); // Add forward torque to mesh 25 | else if (Input.GetKey (KeyCode.DownArrow)) // Rotate backward 26 | m_Rigidbody.AddRelativeTorque(new Vector3(1 * acceleration, 0, 0), ForceMode.Acceleration); // Add backward torque to mesh 27 | 28 | float m = -m_Rigidbody.angularVelocity.x / 100; // Calculate multiplier for motion vector texture 29 | 30 | if (motionVectorRenderer) // If the custom motion vector texture renderer exists 31 | motionVectorRenderer.material.SetFloat(Uniforms._MotionAmount, Mathf.Clamp(m, -0.25f, 0.25f)); // Set the multiplier on the renderer's material 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/ExampleWheelController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 840c928746809454cb5b9309b640dbd7 3 | timeCreated: 1479836093 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c4b2008f2662a41e587c4351609053c4 3 | folderAsset: yes 4 | timeCreated: 1487340121 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Materials/DebugMotionVectors.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Utilities/CustomMotionTexture/Materials/DebugMotionVectors.mat -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Materials/DebugMotionVectors.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7daeefbca4f14360bac0e1df1bdacd4 3 | timeCreated: 1479896287 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Materials/DebugQuad.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Utilities/CustomMotionTexture/Materials/DebugQuad.mat -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Materials/DebugQuad.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c40c8fdc50a841579d7cb15882ac9d9 3 | timeCreated: 1479896287 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Materials/UVChecker.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Utilities/CustomMotionTexture/Materials/UVChecker.mat -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Materials/UVChecker.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 944463113244f4bf8b05c1757cd838a4 3 | timeCreated: 1487340121 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Materials/WheelMotionVectors.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Utilities/CustomMotionTexture/Materials/WheelMotionVectors.mat -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Materials/WheelMotionVectors.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 055f7217f136349d9b68e82b9e987dae 3 | timeCreated: 1479896287 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef5ce588de3614b39b5ba7b0613cbe43 3 | folderAsset: yes 4 | timeCreated: 1487348152 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Models/WheelMovecs.FBX: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Utilities/CustomMotionTexture/Models/WheelMovecs.FBX -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e565c240745c49628f96f0573adfa76 3 | folderAsset: yes 4 | timeCreated: 1487348368 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Shaders/CustomMotionVectorTexture.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9189229324e2342b8b69f7c1904dceba 3 | timeCreated: 1479826273 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92c42dce939f844cea2248583e06bd55 3 | folderAsset: yes 4 | timeCreated: 1487348131 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Textures/DebugMotionVectors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Utilities/CustomMotionTexture/Textures/DebugMotionVectors.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Textures/UVChecker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Utilities/CustomMotionTexture/Textures/UVChecker.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Textures/UVChecker.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a08960dd6e8274e7f8fca616e09c48ed 3 | timeCreated: 1487340672 4 | licenseType: Store 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 4 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | sRGBTexture: 1 12 | linearTexture: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 6 25 | cubemapConvolution: 0 26 | seamlessCubemap: 0 27 | textureFormat: 1 28 | maxTextureSize: 2048 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | compressionQuality: 50 37 | spriteMode: 0 38 | spriteExtrude: 1 39 | spriteMeshType: 1 40 | alignment: 0 41 | spritePivot: {x: 0.5, y: 0.5} 42 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 43 | spritePixelsToUnits: 100 44 | alphaUsage: 1 45 | alphaIsTransparency: 0 46 | spriteTessellationDetail: -1 47 | textureType: 0 48 | textureShape: 1 49 | maxTextureSizeSet: 0 50 | compressionQualitySet: 0 51 | textureFormatSet: 0 52 | platformSettings: 53 | - buildTarget: DefaultTexturePlatform 54 | maxTextureSize: 2048 55 | textureFormat: -1 56 | textureCompression: 1 57 | compressionQuality: 50 58 | crunchedCompression: 0 59 | allowsAlphaSplitting: 0 60 | overridden: 0 61 | spriteSheet: 62 | serializedVersion: 2 63 | sprites: [] 64 | outline: [] 65 | spritePackingTag: 66 | userData: 67 | assetBundleName: 68 | assetBundleVariant: 69 | -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Textures/WheelMotionVectors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/PostProcessing/Utilities/CustomMotionTexture/Textures/WheelMotionVectors.png -------------------------------------------------------------------------------- /Assets/PostProcessing/Utilities/CustomMotionTexture/Textures/WheelMotionVectors.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d1cc06458fe724df8837423c0a2f8f93 3 | timeCreated: 1487348028 4 | licenseType: Store 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 4 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | sRGBTexture: 1 12 | linearTexture: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 6 25 | cubemapConvolution: 0 26 | seamlessCubemap: 0 27 | textureFormat: 1 28 | maxTextureSize: 2048 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | compressionQuality: 50 37 | spriteMode: 0 38 | spriteExtrude: 1 39 | spriteMeshType: 1 40 | alignment: 0 41 | spritePivot: {x: 0.5, y: 0.5} 42 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 43 | spritePixelsToUnits: 100 44 | alphaUsage: 1 45 | alphaIsTransparency: 0 46 | spriteTessellationDetail: -1 47 | textureType: 0 48 | textureShape: 1 49 | maxTextureSizeSet: 0 50 | compressionQualitySet: 0 51 | textureFormatSet: 0 52 | platformSettings: 53 | - buildTarget: DefaultTexturePlatform 54 | maxTextureSize: 2048 55 | textureFormat: -1 56 | textureCompression: 1 57 | compressionQuality: 50 58 | crunchedCompression: 0 59 | allowsAlphaSplitting: 0 60 | overridden: 0 61 | spriteSheet: 62 | serializedVersion: 2 63 | sprites: [] 64 | outline: [] 65 | spritePackingTag: 66 | userData: 67 | assetBundleName: 68 | assetBundleVariant: 69 | -------------------------------------------------------------------------------- /Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d77185ebad8f243b0ae9839312c541f3 3 | folderAsset: yes 4 | timeCreated: 1492071901 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/Rotation.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class Rotation : MonoBehaviour { 5 | 6 | public float Speed= 3000f; 7 | 8 | // Use this for initialization 9 | void Start () { 10 | 11 | } 12 | 13 | // Update is called once per frame 14 | void Update () { 15 | 16 | } 17 | 18 | void FixedUpdate(){ 19 | this.transform.Rotate(Vector3.up * Speed * Time.deltaTime); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Assets/Scripts/Rotation.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57d73dffc3c3e4692b73c8129d778434 3 | timeCreated: 1492005832 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 888b226d66b834ca5aaf6fa0628c030c 3 | folderAsset: yes 4 | timeCreated: 1490955553 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/ConeOfSight.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e466f10b522714eb6b017e34f311ccad 3 | folderAsset: yes 4 | timeCreated: 1492000922 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/ConeOfSight/ConeOfSight.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/ConeOfSight/ConeOfSight.gif -------------------------------------------------------------------------------- /Assets/Shaders/ConeOfSight/ConeOfSight.gif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85594a8600e56469db23dab872fe0dc5 3 | timeCreated: 1494240356 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/Shaders/ConeOfSight/ConeOfSight.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/ConeOfSight/ConeOfSight.mat -------------------------------------------------------------------------------- /Assets/Shaders/ConeOfSight/ConeOfSight.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb3fc7ee90c484d2bb747a467d341b06 3 | timeCreated: 1492072135 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Shaders/ConeOfSight/ConeOfSight.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa4962fe6b7ca45209e748b2843d1065 3 | timeCreated: 1492072149 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/ConeOfSight/ConeOfSight.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/ConeOfSight/ConeOfSight.unity -------------------------------------------------------------------------------- /Assets/Shaders/ConeOfSight/ConeOfSight.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 001264256c8a545e080cabba44aeff3a 3 | timeCreated: 1492007624 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Shaders/ConeOfSight/ConeOfSightRaycaster.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd2e0a9cc30f04c6a9e547d754a049ae 3 | timeCreated: 1492087694 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Shaders/ConeOfSight/Example1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/ConeOfSight/Example1.jpg -------------------------------------------------------------------------------- /Assets/Shaders/ConeOfSight/Example1.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c7e94c43c0b1444d88692e21c851c29 3 | timeCreated: 1494241337 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/Shaders/ConeOfSight/Example2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/ConeOfSight/Example2.jpg -------------------------------------------------------------------------------- /Assets/Shaders/ConeOfSight/Example2.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c22305caae7e4815b2f1c94a0bc99a0 3 | timeCreated: 1494241337 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/Shaders/ConeOfSight/Example3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/ConeOfSight/Example3.jpg -------------------------------------------------------------------------------- /Assets/Shaders/ConeOfSight/Example3.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bcb947cbaff514ed9951089dd7613879 3 | timeCreated: 1494241337 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/Shaders/ConeOfSight/README.md: -------------------------------------------------------------------------------- 1 | ## Cone of Sight Shader 2 | 3 | ![Cone of Sight Shader](https://raw.githubusercontent.com/joscanper/unity_shaders/master/Assets/Shaders/ConeOfSight/ConeOfSight.gif) 4 | 5 | This effect is commonly used in order to show to the player the field of view of enemy troops. It was a main element in the game mechanic of games like Commandos and Desperados. 6 | 7 | The effect can also be modified in order to create a rudimentary torch light. 8 | 9 | The shader uses a quad with its center located at the viewer's eyes, so the cone is drawn in that specific quad. That means it isn't projected on the level/terrain surface. 10 | 11 | The shader is highly customizable, see below some of the variations that can be achieved. 12 | 13 | ![Example1](https://raw.githubusercontent.com/joscanper/unity_shaders/master/Assets/Shaders/ConeOfSight/Example1.jpg) 14 | ![Example2](https://raw.githubusercontent.com/joscanper/unity_shaders/master/Assets/Shaders/ConeOfSight/Example2.jpg) 15 | ![Example3](https://raw.githubusercontent.com/joscanper/unity_shaders/master/Assets/Shaders/ConeOfSight/Example3.jpg) 16 | 17 | -------------------------------------------------------------------------------- /Assets/Shaders/ConeOfSight/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e58cec811a1f493b933131869fc14bb 3 | timeCreated: 1494243631 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Shaders/Grass.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c184543350cbe7a4caa7e1a2deb72c59 3 | folderAsset: yes 4 | timeCreated: 1496736397 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/Grass/Football.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/Grass/Football.mat -------------------------------------------------------------------------------- /Assets/Shaders/Grass/Football.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 229f04359869d0a49acc1aa75dc4d193 3 | timeCreated: 1496749035 4 | licenseType: Free 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/Grass/Grass.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cc31db2fc50ac88448f188e7d826ec72 3 | folderAsset: yes 4 | timeCreated: 1496751771 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/Grass/Grass.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06f4531754ee3dd47a545799d2639340 3 | timeCreated: 1496736414 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/Grass/Grass.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/Grass/Grass.unity -------------------------------------------------------------------------------- /Assets/Shaders/Grass/Grass.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b168c3eebae091c41a875c346447b5c9 3 | timeCreated: 1496736457 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Shaders/Grass/Grass/LightingData.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/Grass/Grass/LightingData.asset -------------------------------------------------------------------------------- /Assets/Shaders/Grass/Grass/LightingData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 143cef951cbc331468324875d99c4de3 3 | timeCreated: 1496751978 4 | licenseType: Free 5 | NativeFormatImporter: 6 | mainObjectFileID: 25800000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/Grass/Grass/ReflectionProbe-0.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/Grass/Grass/ReflectionProbe-0.exr -------------------------------------------------------------------------------- /Assets/Shaders/Grass/Grass/ReflectionProbe-0.exr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e3c34096990359a41a2c54baba0cb94d 3 | timeCreated: 1496751977 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: 7 | 8900000: generatedCubemap 8 | serializedVersion: 4 9 | mipmaps: 10 | mipMapMode: 0 11 | enableMipMap: 1 12 | sRGBTexture: 1 13 | linearTexture: 0 14 | fadeOut: 0 15 | borderMipMap: 0 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | grayScaleToAlpha: 0 25 | generateCubemap: 6 26 | cubemapConvolution: 1 27 | seamlessCubemap: 1 28 | textureFormat: 1 29 | maxTextureSize: 2048 30 | textureSettings: 31 | filterMode: 2 32 | aniso: 0 33 | mipBias: 0 34 | wrapMode: 1 35 | nPOTScale: 1 36 | lightmap: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: 0.5, y: 0.5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaUsage: 1 46 | alphaIsTransparency: 0 47 | spriteTessellationDetail: -1 48 | textureType: 0 49 | textureShape: 2 50 | maxTextureSizeSet: 0 51 | compressionQualitySet: 0 52 | textureFormatSet: 0 53 | platformSettings: 54 | - buildTarget: DefaultTexturePlatform 55 | maxTextureSize: 2048 56 | textureFormat: -1 57 | textureCompression: 1 58 | compressionQuality: 100 59 | crunchedCompression: 0 60 | allowsAlphaSplitting: 0 61 | overridden: 0 62 | spriteSheet: 63 | serializedVersion: 2 64 | sprites: [] 65 | outline: [] 66 | spritePackingTag: 67 | userData: 68 | assetBundleName: 69 | assetBundleVariant: 70 | -------------------------------------------------------------------------------- /Assets/Shaders/Grass/Grass/ReflectionProbe-1.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/Grass/Grass/ReflectionProbe-1.exr -------------------------------------------------------------------------------- /Assets/Shaders/Grass/GrassBase.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/Grass/GrassBase.jpg -------------------------------------------------------------------------------- /Assets/Shaders/Grass/GrassBase.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8cd60a25d93a734aa4da603f362d44b 3 | timeCreated: 1496744027 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 4 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | sRGBTexture: 1 12 | linearTexture: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 6 25 | cubemapConvolution: 0 26 | seamlessCubemap: 0 27 | textureFormat: 1 28 | maxTextureSize: 2048 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | compressionQuality: 50 37 | spriteMode: 0 38 | spriteExtrude: 1 39 | spriteMeshType: 1 40 | alignment: 0 41 | spritePivot: {x: 0.5, y: 0.5} 42 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 43 | spritePixelsToUnits: 100 44 | alphaUsage: 1 45 | alphaIsTransparency: 0 46 | spriteTessellationDetail: -1 47 | textureType: 0 48 | textureShape: 1 49 | maxTextureSizeSet: 0 50 | compressionQualitySet: 0 51 | textureFormatSet: 0 52 | platformSettings: 53 | - buildTarget: DefaultTexturePlatform 54 | maxTextureSize: 2048 55 | textureFormat: -1 56 | textureCompression: 1 57 | compressionQuality: 50 58 | crunchedCompression: 0 59 | allowsAlphaSplitting: 0 60 | overridden: 0 61 | spriteSheet: 62 | serializedVersion: 2 63 | sprites: [] 64 | outline: [] 65 | spritePackingTag: 66 | userData: 67 | assetBundleName: 68 | assetBundleVariant: 69 | -------------------------------------------------------------------------------- /Assets/Shaders/Grass/GrassMask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/Grass/GrassMask.png -------------------------------------------------------------------------------- /Assets/Shaders/Grass/GrassPass.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3e56ccbac45698a4f8f9ee6e440b772e 3 | timeCreated: 1496738507 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/Grass/GrassPlane.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/Grass/GrassPlane.mat -------------------------------------------------------------------------------- /Assets/Shaders/Grass/GrassPlane.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9abeaf17e0700ba44979ea662ec2c760 3 | timeCreated: 1496737074 4 | licenseType: Free 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/Grass/PitchDesign.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/Grass/PitchDesign.jpg -------------------------------------------------------------------------------- /Assets/Shaders/Grass/PitchDesign.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b597da86bb299643bf69679100eab89 3 | timeCreated: 1519163539 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 4 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | sRGBTexture: 1 12 | linearTexture: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapsPreserveCoverage: 0 16 | alphaTestReferenceValue: 0.5 17 | mipMapFadeDistanceStart: 1 18 | mipMapFadeDistanceEnd: 3 19 | bumpmap: 20 | convertToNormalMap: 0 21 | externalNormalMap: 0 22 | heightScale: 0.25 23 | normalMapFilter: 0 24 | isReadable: 0 25 | grayScaleToAlpha: 0 26 | generateCubemap: 6 27 | cubemapConvolution: 0 28 | seamlessCubemap: 0 29 | textureFormat: 1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | serializedVersion: 2 33 | filterMode: -1 34 | aniso: -1 35 | mipBias: -1 36 | wrapU: -1 37 | wrapV: -1 38 | wrapW: -1 39 | nPOTScale: 1 40 | lightmap: 0 41 | compressionQuality: 50 42 | spriteMode: 0 43 | spriteExtrude: 1 44 | spriteMeshType: 1 45 | alignment: 0 46 | spritePivot: {x: 0.5, y: 0.5} 47 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 48 | spritePixelsToUnits: 100 49 | alphaUsage: 1 50 | alphaIsTransparency: 0 51 | spriteTessellationDetail: -1 52 | textureType: 0 53 | textureShape: 1 54 | maxTextureSizeSet: 0 55 | compressionQualitySet: 0 56 | textureFormatSet: 0 57 | platformSettings: 58 | - buildTarget: DefaultTexturePlatform 59 | maxTextureSize: 2048 60 | textureFormat: -1 61 | textureCompression: 1 62 | compressionQuality: 50 63 | crunchedCompression: 0 64 | allowsAlphaSplitting: 0 65 | overridden: 0 66 | spriteSheet: 67 | serializedVersion: 2 68 | sprites: [] 69 | outline: [] 70 | physicsShape: [] 71 | spritePackingTag: 72 | userData: 73 | assetBundleName: 74 | assetBundleVariant: 75 | -------------------------------------------------------------------------------- /Assets/Shaders/Grass/PostProcess.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/Grass/PostProcess.asset -------------------------------------------------------------------------------- /Assets/Shaders/Grass/PostProcess.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c4d8a9f35e93b14fbc8097a4add8754 3 | timeCreated: 1519162359 4 | licenseType: Free 5 | NativeFormatImporter: 6 | mainObjectFileID: 11400000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/Grass/Preview.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/Grass/Preview.PNG -------------------------------------------------------------------------------- /Assets/Shaders/Grass/Preview.PNG.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b4894f22695102479ab5133f8318c01 3 | timeCreated: 1519201301 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 4 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | sRGBTexture: 1 12 | linearTexture: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapsPreserveCoverage: 0 16 | alphaTestReferenceValue: 0.5 17 | mipMapFadeDistanceStart: 1 18 | mipMapFadeDistanceEnd: 3 19 | bumpmap: 20 | convertToNormalMap: 0 21 | externalNormalMap: 0 22 | heightScale: 0.25 23 | normalMapFilter: 0 24 | isReadable: 0 25 | grayScaleToAlpha: 0 26 | generateCubemap: 6 27 | cubemapConvolution: 0 28 | seamlessCubemap: 0 29 | textureFormat: 1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | serializedVersion: 2 33 | filterMode: -1 34 | aniso: -1 35 | mipBias: -1 36 | wrapU: -1 37 | wrapV: -1 38 | wrapW: -1 39 | nPOTScale: 1 40 | lightmap: 0 41 | compressionQuality: 50 42 | spriteMode: 0 43 | spriteExtrude: 1 44 | spriteMeshType: 1 45 | alignment: 0 46 | spritePivot: {x: 0.5, y: 0.5} 47 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 48 | spritePixelsToUnits: 100 49 | alphaUsage: 1 50 | alphaIsTransparency: 0 51 | spriteTessellationDetail: -1 52 | textureType: 0 53 | textureShape: 1 54 | maxTextureSizeSet: 0 55 | compressionQualitySet: 0 56 | textureFormatSet: 0 57 | platformSettings: 58 | - buildTarget: DefaultTexturePlatform 59 | maxTextureSize: 2048 60 | textureFormat: -1 61 | textureCompression: 1 62 | compressionQuality: 50 63 | crunchedCompression: 0 64 | allowsAlphaSplitting: 0 65 | overridden: 0 66 | spriteSheet: 67 | serializedVersion: 2 68 | sprites: [] 69 | outline: [] 70 | physicsShape: [] 71 | spritePackingTag: 72 | userData: 73 | assetBundleName: 74 | assetBundleVariant: 75 | -------------------------------------------------------------------------------- /Assets/Shaders/Grass/Preview.PNG~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/Grass/Preview.PNG~ -------------------------------------------------------------------------------- /Assets/Shaders/Hologram.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06d4e62e5173b46788bedbf7c0b9eb9d 3 | folderAsset: yes 4 | timeCreated: 1492000892 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/Hologram/Hologram.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/Hologram/Hologram.gif -------------------------------------------------------------------------------- /Assets/Shaders/Hologram/Hologram.gif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 24a104805acad475fbc187ca25612930 3 | timeCreated: 1492006360 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/Shaders/Hologram/Hologram.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/Hologram/Hologram.jpg -------------------------------------------------------------------------------- /Assets/Shaders/Hologram/Hologram.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5af0d210d0fe84c68b5266114dd255d7 3 | timeCreated: 1492005565 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/Shaders/Hologram/Hologram.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/Hologram/Hologram.mat -------------------------------------------------------------------------------- /Assets/Shaders/Hologram/Hologram.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ccf12bbf8ad44d4ea9fca82a5ae9c45 3 | timeCreated: 1492001640 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Shaders/Hologram/Hologram.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b91294aecc69141aa821da2f11541514 3 | timeCreated: 1492001659 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/Hologram/HologramSource.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/Hologram/HologramSource.mat -------------------------------------------------------------------------------- /Assets/Shaders/Hologram/HologramSource.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2a140352d12a4848b6e06a3d13e358f 3 | timeCreated: 1494252124 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Shaders/Hologram/hologram.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/Hologram/hologram.unity -------------------------------------------------------------------------------- /Assets/Shaders/Hologram/hologram.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a176469e2e40846119458bf3a610d26d 3 | timeCreated: 1492001062 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Shaders/Hologram/noise.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/Hologram/noise.png -------------------------------------------------------------------------------- /Assets/Shaders/Hologram/noise.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c09ca5ecf1d154fdea239b90901e9bc1 3 | timeCreated: 1494244238 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/Shaders/RainyGlass.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e46e07046bdda495f90a0af65453e817 3 | folderAsset: yes 4 | timeCreated: 1490975477 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/RainyGlass/RainyGlass.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/RainyGlass/RainyGlass.gif -------------------------------------------------------------------------------- /Assets/Shaders/RainyGlass/RainyGlass.gif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ddb1d49f725b45e48e9f047f52dcb37 3 | timeCreated: 1490975675 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/Shaders/RainyGlass/RainyGlass.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/RainyGlass/RainyGlass.mat -------------------------------------------------------------------------------- /Assets/Shaders/RainyGlass/RainyGlass.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a9c0b2f4ec6d4cbcb3a76668ffb8bbc 3 | timeCreated: 1490955562 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Shaders/RainyGlass/RainyGlass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/RainyGlass/RainyGlass.png -------------------------------------------------------------------------------- /Assets/Shaders/RainyGlass/RainyGlass.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d2fa713a6d714f9c8a77dbd51609b53 3 | timeCreated: 1490964366 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: 0 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: 52 | - buildTarget: Standalone 53 | maxTextureSize: 2048 54 | textureFormat: -3 55 | compressionQuality: 50 56 | allowsAlphaSplitting: 0 57 | spriteSheet: 58 | serializedVersion: 2 59 | sprites: [] 60 | outline: [] 61 | spritePackingTag: 62 | userData: 63 | assetBundleName: 64 | assetBundleVariant: 65 | -------------------------------------------------------------------------------- /Assets/Shaders/RainyGlass/RainyGlass.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c04c1228392541f7bb8034a9384893a 3 | timeCreated: 1490955590 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/RainyGlass/RainyGlass.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/RainyGlass/RainyGlass.unity -------------------------------------------------------------------------------- /Assets/Shaders/RainyGlass/RainyGlass.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 537f2c7fe44314a3a980d4f68ff30f5c 3 | timeCreated: 1490955533 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Shaders/RainyGlass/RainyGlassDrops.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/RainyGlass/RainyGlassDrops.png -------------------------------------------------------------------------------- /Assets/Shaders/RainyGlass/RainyGlassDrops.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7959e8ed01fee45529453905eefda486 3 | timeCreated: 1490967078 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/Shaders/RainyGlass/RainyGlassNormal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/Assets/Shaders/RainyGlass/RainyGlassNormal.png -------------------------------------------------------------------------------- /Assets/Shaders/RainyGlass/RainyGlassNormal.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c0c72419791a459ea7f68df552a807e 3 | timeCreated: 1490959435 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/ProjectSettings/AudioManager.asset -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/ProjectSettings/ClusterInputManager.asset -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/ProjectSettings/DynamicsManager.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/ProjectSettings/EditorBuildSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/ProjectSettings/EditorSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/ProjectSettings/GraphicsSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/ProjectSettings/InputManager.asset -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/ProjectSettings/NavMeshAreas.asset -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/ProjectSettings/NetworkManager.asset -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/ProjectSettings/Physics2DSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/ProjectSettings/ProjectSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2017.1.1f1 2 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/ProjectSettings/QualitySettings.asset -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/ProjectSettings/TagManager.asset -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/ProjectSettings/TimeManager.asset -------------------------------------------------------------------------------- /ProjectSettings/UnityAdsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/ProjectSettings/UnityAdsSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joscanper/unity_shaders/31a36fefc64ce93212f7de6b3145f2578721613f/ProjectSettings/UnityConnectSettings.asset -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Unity Shaders 2 | 3 | This repository contains a set of shaders that I have created trying to achieve cool effects for my games or as an attempt to replicate interesting effects that I have seen in other games. 4 | 5 | ## Pitch grass 6 | ![Pitch Grass](https://raw.githubusercontent.com/joscanper/unity_shaders/master/Assets/Shaders/Grass/Preview.PNG) 7 | 8 | ## Cone of Sight 9 | ![Cone of Sight Shader](https://raw.githubusercontent.com/joscanper/unity_shaders/master/Assets/Shaders/ConeOfSight/ConeOfSight.gif) 10 | 11 | [More information about the shader](https://github.com/joscanper/unity_shaders/tree/master/Assets/Shaders/ConeOfSight) 12 | 13 | ## Rainy Window 14 | ![Rainy Window Shader](https://raw.githubusercontent.com/joscanper/unity_shaders/master/Assets/Shaders/RainyGlass/RainyGlass.gif) 15 | 16 | ## Hologram 17 | ![Hologram](https://github.com/joscanper/unity_shaders/blob/master/Assets/Shaders/Hologram/Hologram.gif) 18 | --------------------------------------------------------------------------------