├── .gitignore ├── HairWorksIntegration ├── Assets │ ├── Editor.meta │ ├── Editor │ │ ├── ImageEffects.meta │ │ └── ImageEffects │ │ │ ├── AntialiasingEditor.cs │ │ │ ├── AntialiasingEditor.cs.meta │ │ │ ├── BloomAndFlaresEditor.cs │ │ │ ├── BloomAndFlaresEditor.cs.meta │ │ │ ├── BloomEditor.cs │ │ │ ├── BloomEditor.cs.meta │ │ │ ├── CameraMotionBlurEditor.cs │ │ │ ├── CameraMotionBlurEditor.cs.meta │ │ │ ├── ColorCorrectionCurvesEditor.cs │ │ │ ├── ColorCorrectionCurvesEditor.cs.meta │ │ │ ├── ColorCorrectionLookupEditor.cs │ │ │ ├── ColorCorrectionLookupEditor.cs.meta │ │ │ ├── CreaseShadingEditor.cs │ │ │ ├── CreaseShadingEditor.cs.meta │ │ │ ├── DepthOfFieldDeprecatedEditor.cs │ │ │ ├── DepthOfFieldDeprecatedEditor.cs.meta │ │ │ ├── DepthOfFieldEditor.cs │ │ │ ├── DepthOfFieldEditor.cs.meta │ │ │ ├── EdgeDetectionEditor.cs │ │ │ ├── EdgeDetectionEditor.cs.meta │ │ │ ├── NoiseAndGrainEditor.cs │ │ │ ├── NoiseAndGrainEditor.cs.meta │ │ │ ├── SunShaftsEditor.cs │ │ │ ├── SunShaftsEditor.cs.meta │ │ │ ├── TonemappingEditor.cs │ │ │ ├── TonemappingEditor.cs.meta │ │ │ ├── VignetteAndChromaticAberrationEditor.cs │ │ │ └── VignetteAndChromaticAberrationEditor.cs.meta │ ├── Example.meta │ ├── Example │ │ ├── Animations.meta │ │ ├── Animations │ │ │ ├── Hair.controller │ │ │ ├── Hair.controller.meta │ │ │ ├── Shake.anim │ │ │ └── Shake.anim.meta │ │ ├── Prefabs.meta │ │ ├── Prefabs │ │ │ ├── FrameRateCounter.prefab │ │ │ └── FrameRateCounter.prefab.meta │ │ ├── Scripts.meta │ │ └── Scripts │ │ │ ├── CameraControl.cs │ │ │ ├── CameraControl.cs.meta │ │ │ ├── FrameRateCounter.cs │ │ │ └── FrameRateCounter.cs.meta │ ├── Packaging.cs │ ├── Packaging.cs.meta │ ├── Standard Assets.meta │ ├── Standard Assets │ │ ├── Effects.meta │ │ └── Effects │ │ │ ├── GlassRefraction.meta │ │ │ ├── GlassRefraction │ │ │ ├── Materials.meta │ │ │ ├── Materials │ │ │ │ ├── GlassRefractive.mat │ │ │ │ └── GlassRefractive.mat.meta │ │ │ ├── Shaders.meta │ │ │ ├── Shaders │ │ │ │ ├── GlassStainedBumpDistort.shader │ │ │ │ └── GlassStainedBumpDistort.shader.meta │ │ │ ├── Textures.meta │ │ │ └── Textures │ │ │ │ ├── GlassStainedAlbedo.tif │ │ │ │ ├── GlassStainedAlbedo.tif.meta │ │ │ │ ├── GlassStainedNormals.tif │ │ │ │ └── GlassStainedNormals.tif.meta │ │ │ ├── ImageEffects.meta │ │ │ ├── ImageEffects │ │ │ ├── Scripts.meta │ │ │ ├── Scripts │ │ │ │ ├── Antialiasing.cs │ │ │ │ ├── Antialiasing.cs.meta │ │ │ │ ├── Bloom.cs │ │ │ │ ├── Bloom.cs.meta │ │ │ │ ├── BloomAndFlares.cs │ │ │ │ ├── BloomAndFlares.cs.meta │ │ │ │ ├── BloomOptimized.cs │ │ │ │ ├── BloomOptimized.cs.meta │ │ │ │ ├── Blur.cs │ │ │ │ ├── Blur.cs.meta │ │ │ │ ├── BlurOptimized.cs │ │ │ │ ├── BlurOptimized.cs.meta │ │ │ │ ├── CameraMotionBlur.cs │ │ │ │ ├── CameraMotionBlur.cs.meta │ │ │ │ ├── ColorCorrectionCurves.cs │ │ │ │ ├── ColorCorrectionCurves.cs.meta │ │ │ │ ├── ColorCorrectionLookup.cs │ │ │ │ ├── ColorCorrectionLookup.cs.meta │ │ │ │ ├── ColorCorrectionRamp.cs │ │ │ │ ├── ColorCorrectionRamp.cs.meta │ │ │ │ ├── ContrastEnhance.cs │ │ │ │ ├── ContrastEnhance.cs.meta │ │ │ │ ├── ContrastStretch.cs │ │ │ │ ├── ContrastStretch.cs.meta │ │ │ │ ├── CreaseShading.cs │ │ │ │ ├── CreaseShading.cs.meta │ │ │ │ ├── DepthOfField.cs │ │ │ │ ├── DepthOfField.cs.meta │ │ │ │ ├── DepthOfFieldDeprecated.cs │ │ │ │ ├── DepthOfFieldDeprecated.cs.meta │ │ │ │ ├── EdgeDetection.cs │ │ │ │ ├── EdgeDetection.cs.meta │ │ │ │ ├── Fisheye.cs │ │ │ │ ├── Fisheye.cs.meta │ │ │ │ ├── GlobalFog.cs │ │ │ │ ├── GlobalFog.cs.meta │ │ │ │ ├── Grayscale.cs │ │ │ │ ├── Grayscale.cs.meta │ │ │ │ ├── ImageEffectBase.cs │ │ │ │ ├── ImageEffectBase.cs.meta │ │ │ │ ├── ImageEffects.cs │ │ │ │ ├── ImageEffects.cs.meta │ │ │ │ ├── MotionBlur.cs │ │ │ │ ├── MotionBlur.cs.meta │ │ │ │ ├── NoiseAndGrain.cs │ │ │ │ ├── NoiseAndGrain.cs.meta │ │ │ │ ├── NoiseAndScratches.cs │ │ │ │ ├── NoiseAndScratches.cs.meta │ │ │ │ ├── PostEffectsBase.cs │ │ │ │ ├── PostEffectsBase.cs.meta │ │ │ │ ├── PostEffectsHelper.cs │ │ │ │ ├── PostEffectsHelper.cs.meta │ │ │ │ ├── Quads.cs │ │ │ │ ├── Quads.cs.meta │ │ │ │ ├── ScreenOverlay.cs │ │ │ │ ├── ScreenOverlay.cs.meta │ │ │ │ ├── ScreenSpaceAmbientObscurance.cs │ │ │ │ ├── ScreenSpaceAmbientObscurance.cs.meta │ │ │ │ ├── ScreenSpaceAmbientOcclusion.cs │ │ │ │ ├── ScreenSpaceAmbientOcclusion.cs.meta │ │ │ │ ├── SepiaTone.cs │ │ │ │ ├── SepiaTone.cs.meta │ │ │ │ ├── SunShafts.cs │ │ │ │ ├── SunShafts.cs.meta │ │ │ │ ├── TiltShift.cs │ │ │ │ ├── TiltShift.cs.meta │ │ │ │ ├── Tonemapping.cs │ │ │ │ ├── Tonemapping.cs.meta │ │ │ │ ├── Triangles.cs │ │ │ │ ├── Triangles.cs.meta │ │ │ │ ├── Twirl.cs │ │ │ │ ├── Twirl.cs.meta │ │ │ │ ├── VignetteAndChromaticAberration.cs │ │ │ │ ├── VignetteAndChromaticAberration.cs.meta │ │ │ │ ├── Vortex.cs │ │ │ │ └── Vortex.cs.meta │ │ │ ├── Shaders.meta │ │ │ ├── Shaders │ │ │ │ ├── BlendModesOverlay.shader │ │ │ │ ├── BlendModesOverlay.shader.meta │ │ │ │ ├── BlurEffectConeTaps.shader │ │ │ │ ├── BlurEffectConeTaps.shader.meta │ │ │ │ ├── CameraMotionBlur.shader │ │ │ │ ├── CameraMotionBlur.shader.meta │ │ │ │ ├── CameraMotionBlurDX11.shader │ │ │ │ ├── CameraMotionBlurDX11.shader.meta │ │ │ │ ├── ChromaticAberrationShader.shader │ │ │ │ ├── ChromaticAberrationShader.shader.meta │ │ │ │ ├── ColorCorrection3DLut.shader │ │ │ │ ├── ColorCorrection3DLut.shader.meta │ │ │ │ ├── ColorCorrectionCurves.shader │ │ │ │ ├── ColorCorrectionCurves.shader.meta │ │ │ │ ├── ColorCorrectionCurvesSimple.shader │ │ │ │ ├── ColorCorrectionCurvesSimple.shader.meta │ │ │ │ ├── ColorCorrectionEffect.shader │ │ │ │ ├── ColorCorrectionEffect.shader.meta │ │ │ │ ├── ColorCorrectionSelective.shader │ │ │ │ ├── ColorCorrectionSelective.shader.meta │ │ │ │ ├── Contrast Stretch.meta │ │ │ │ ├── Contrast Stretch │ │ │ │ │ ├── Adaptation.shader │ │ │ │ │ ├── Adaptation.shader.meta │ │ │ │ │ ├── Apply.shader │ │ │ │ │ ├── Apply.shader.meta │ │ │ │ │ ├── Luminance.shader │ │ │ │ │ ├── Luminance.shader.meta │ │ │ │ │ ├── MinMaxReduction.shader │ │ │ │ │ └── MinMaxReduction.shader.meta │ │ │ │ ├── ContrastComposite.shader │ │ │ │ ├── ContrastComposite.shader.meta │ │ │ │ ├── ConvertDepth.shader │ │ │ │ ├── ConvertDepth.shader.meta │ │ │ │ ├── CreaseApply.shader │ │ │ │ ├── CreaseApply.shader.meta │ │ │ │ ├── EdgeDetectNormals.shader │ │ │ │ ├── EdgeDetectNormals.shader.meta │ │ │ │ ├── FisheyeShader.shader │ │ │ │ ├── FisheyeShader.shader.meta │ │ │ │ ├── GlobalFog.shader │ │ │ │ ├── GlobalFog.shader.meta │ │ │ │ ├── GrayscaleEffect.shader │ │ │ │ ├── GrayscaleEffect.shader.meta │ │ │ │ ├── MotionBlur.shader │ │ │ │ ├── MotionBlur.shader.meta │ │ │ │ ├── MotionBlurClear.shader │ │ │ │ ├── MotionBlurClear.shader.meta │ │ │ │ ├── NoiseAndGrain.shader │ │ │ │ ├── NoiseAndGrain.shader.meta │ │ │ │ ├── NoiseAndGrainDX11.shader │ │ │ │ ├── NoiseAndGrainDX11.shader.meta │ │ │ │ ├── NoiseEffectShaderRGB.shader │ │ │ │ ├── NoiseEffectShaderRGB.shader.meta │ │ │ │ ├── NoiseEffectShaderYUV.shader │ │ │ │ ├── NoiseEffectShaderYUV.shader.meta │ │ │ │ ├── PrepareSunShaftsBlur.shader │ │ │ │ ├── PrepareSunShaftsBlur.shader.meta │ │ │ │ ├── RadialBlur.shader │ │ │ │ ├── RadialBlur.shader.meta │ │ │ │ ├── SSAOShader.shader │ │ │ │ ├── SSAOShader.shader.meta │ │ │ │ ├── ScreenSpaceAmbientObscurance.shader │ │ │ │ ├── ScreenSpaceAmbientObscurance.shader.meta │ │ │ │ ├── SepiaToneEffect.shader │ │ │ │ ├── SepiaToneEffect.shader.meta │ │ │ │ ├── ShowAlphaChannel.shader │ │ │ │ ├── ShowAlphaChannel.shader.meta │ │ │ │ ├── SimpleClear.shader │ │ │ │ ├── SimpleClear.shader.meta │ │ │ │ ├── SunShaftsComposite.shader │ │ │ │ ├── SunShaftsComposite.shader.meta │ │ │ │ ├── Tonemapper.shader │ │ │ │ ├── Tonemapper.shader.meta │ │ │ │ ├── TwirlEffect.shader │ │ │ │ ├── TwirlEffect.shader.meta │ │ │ │ ├── VignettingShader.shader │ │ │ │ ├── VignettingShader.shader.meta │ │ │ │ ├── VortexEffect.shader │ │ │ │ ├── VortexEffect.shader.meta │ │ │ │ ├── _Antialiasing.meta │ │ │ │ ├── _Antialiasing │ │ │ │ │ ├── DLAA.shader │ │ │ │ │ ├── DLAA.shader.meta │ │ │ │ │ ├── FXAA2.shader │ │ │ │ │ ├── FXAA2.shader.meta │ │ │ │ │ ├── FXAA3Console.shader │ │ │ │ │ ├── FXAA3Console.shader.meta │ │ │ │ │ ├── FXAAPreset2.shader │ │ │ │ │ ├── FXAAPreset2.shader.meta │ │ │ │ │ ├── FXAAPreset3.shader │ │ │ │ │ ├── FXAAPreset3.shader.meta │ │ │ │ │ ├── NFAA.shader │ │ │ │ │ ├── NFAA.shader.meta │ │ │ │ │ ├── SSAA.shader │ │ │ │ │ └── SSAA.shader.meta │ │ │ │ ├── _BloomAndFlares.meta │ │ │ │ ├── _BloomAndFlares │ │ │ │ │ ├── Blend.shader │ │ │ │ │ ├── Blend.shader.meta │ │ │ │ │ ├── BlendForBloom.shader │ │ │ │ │ ├── BlendForBloom.shader.meta │ │ │ │ │ ├── BlendOneOne.shader │ │ │ │ │ ├── BlendOneOne.shader.meta │ │ │ │ │ ├── BlurAndFlares.shader │ │ │ │ │ ├── BlurAndFlares.shader.meta │ │ │ │ │ ├── BrightPassFilter.shader │ │ │ │ │ ├── BrightPassFilter.shader.meta │ │ │ │ │ ├── BrightPassFilter2.shader │ │ │ │ │ ├── BrightPassFilter2.shader.meta │ │ │ │ │ ├── LensFlareCreate.shader │ │ │ │ │ ├── LensFlareCreate.shader.meta │ │ │ │ │ ├── MobileBloom.shader │ │ │ │ │ ├── MobileBloom.shader.meta │ │ │ │ │ ├── MobileBlur.shader │ │ │ │ │ ├── MobileBlur.shader.meta │ │ │ │ │ ├── MultiPassHollywoodFlares.shader │ │ │ │ │ ├── MultiPassHollywoodFlares.shader.meta │ │ │ │ │ ├── SeparableBlurPlus.shader │ │ │ │ │ ├── SeparableBlurPlus.shader.meta │ │ │ │ │ ├── VignetteShader.shader │ │ │ │ │ └── VignetteShader.shader.meta │ │ │ │ ├── _DepthOfField.meta │ │ │ │ ├── _DepthOfField │ │ │ │ │ ├── Bokeh34.shader │ │ │ │ │ ├── Bokeh34.shader.meta │ │ │ │ │ ├── DepthOfField34.shader │ │ │ │ │ ├── DepthOfField34.shader.meta │ │ │ │ │ ├── DepthOfFieldDX11.shader │ │ │ │ │ ├── DepthOfFieldDX11.shader.meta │ │ │ │ │ ├── DepthOfFieldScatter.shader │ │ │ │ │ ├── DepthOfFieldScatter.shader.meta │ │ │ │ │ ├── SeparableBlur.shader │ │ │ │ │ ├── SeparableBlur.shader.meta │ │ │ │ │ ├── SeparableWeightedBlurDof34.shader │ │ │ │ │ ├── SeparableWeightedBlurDof34.shader.meta │ │ │ │ │ ├── TiltShiftHdrLensBlur.shader │ │ │ │ │ └── TiltShiftHdrLensBlur.shader.meta │ │ │ │ ├── frag_ao.cginc │ │ │ │ └── frag_ao.cginc.meta │ │ │ ├── Textures.meta │ │ │ └── Textures │ │ │ │ ├── ContrastEnhanced3D16.png │ │ │ │ ├── ContrastEnhanced3D16.png.meta │ │ │ │ ├── HexShape.psd │ │ │ │ ├── HexShape.psd.meta │ │ │ │ ├── MotionBlurJitter.png │ │ │ │ ├── MotionBlurJitter.png.meta │ │ │ │ ├── Neutral3D16.png │ │ │ │ ├── Neutral3D16.png.meta │ │ │ │ ├── Noise.png │ │ │ │ ├── Noise.png.meta │ │ │ │ ├── NoiseAndGrain.png │ │ │ │ ├── NoiseAndGrain.png.meta │ │ │ │ ├── NoiseEffectGrain.png │ │ │ │ ├── NoiseEffectGrain.png.meta │ │ │ │ ├── NoiseEffectScratch.png │ │ │ │ ├── NoiseEffectScratch.png.meta │ │ │ │ ├── RandomVectors.png │ │ │ │ ├── RandomVectors.png.meta │ │ │ │ ├── SphereShape.psd │ │ │ │ ├── SphereShape.psd.meta │ │ │ │ ├── VignetteMask.png │ │ │ │ ├── VignetteMask.png.meta │ │ │ │ ├── color correction ramp.png │ │ │ │ ├── color correction ramp.png.meta │ │ │ │ ├── grayscale ramp.png │ │ │ │ └── grayscale ramp.png.meta │ │ │ ├── LightCookies.meta │ │ │ ├── LightCookies │ │ │ ├── Textures.meta │ │ │ └── Textures │ │ │ │ ├── FlashlightCookie.tif │ │ │ │ ├── FlashlightCookie.tif.meta │ │ │ │ ├── FlashlightIrregularCookie.tif │ │ │ │ ├── FlashlightIrregularCookie.tif.meta │ │ │ │ ├── LightHardCookie.psd │ │ │ │ ├── LightHardCookie.psd.meta │ │ │ │ ├── LightSoftCookie.tif │ │ │ │ ├── LightSoftCookie.tif.meta │ │ │ │ ├── LightSquareCookie.psd │ │ │ │ └── LightSquareCookie.psd.meta │ │ │ ├── LightFlares.meta │ │ │ ├── LightFlares │ │ │ ├── Flares.meta │ │ │ ├── Flares │ │ │ │ ├── 50mmZoom.flare │ │ │ │ ├── 50mmZoom.flare.meta │ │ │ │ ├── FlareSmall.flare │ │ │ │ ├── FlareSmall.flare.meta │ │ │ │ ├── Sun.flare │ │ │ │ └── Sun.flare.meta │ │ │ ├── Materials.meta │ │ │ ├── Materials │ │ │ │ ├── Flare50mm.mat │ │ │ │ └── Flare50mm.mat.meta │ │ │ ├── Textures.meta │ │ │ └── Textures │ │ │ │ ├── Flare50mm.psd │ │ │ │ ├── Flare50mm.psd.meta │ │ │ │ ├── FlareStar.psd │ │ │ │ └── FlareStar.psd.meta │ │ │ ├── Projectors.meta │ │ │ ├── Projectors │ │ │ ├── Guidelines.txt │ │ │ ├── Guidelines.txt.meta │ │ │ ├── Materials.meta │ │ │ ├── Materials │ │ │ │ ├── GridProjector.mat │ │ │ │ ├── GridProjector.mat.meta │ │ │ │ ├── LightProjector.mat │ │ │ │ ├── LightProjector.mat.meta │ │ │ │ ├── ShadowProjector.mat │ │ │ │ └── ShadowProjector.mat.meta │ │ │ ├── Prefabs.meta │ │ │ ├── Prefabs │ │ │ │ ├── BlobLightProjector.prefab │ │ │ │ ├── BlobLightProjector.prefab.meta │ │ │ │ ├── BlobShadowProjector.prefab │ │ │ │ ├── BlobShadowProjector.prefab.meta │ │ │ │ ├── GridProjector.prefab │ │ │ │ └── GridProjector.prefab.meta │ │ │ ├── Shaders.meta │ │ │ ├── Shaders │ │ │ │ ├── ProjectorLight.shader │ │ │ │ ├── ProjectorLight.shader.meta │ │ │ │ ├── ProjectorMultiply.shader │ │ │ │ └── ProjectorMultiply.shader.meta │ │ │ ├── Textures.meta │ │ │ └── Textures │ │ │ │ ├── Falloff.psd │ │ │ │ ├── Falloff.psd.meta │ │ │ │ ├── Grid.psd │ │ │ │ ├── Grid.psd.meta │ │ │ │ ├── Light.psd │ │ │ │ ├── Light.psd.meta │ │ │ │ ├── Shadow.psd │ │ │ │ └── Shadow.psd.meta │ │ │ ├── TessellationShaders.meta │ │ │ ├── TessellationShaders │ │ │ ├── Materials.meta │ │ │ ├── Materials │ │ │ │ ├── TesselatedBumpSpecular.mat │ │ │ │ ├── TesselatedBumpSpecular.mat.meta │ │ │ │ ├── TesselatedBumpSpecularDisplacement.mat │ │ │ │ ├── TesselatedBumpSpecularDisplacement.mat.meta │ │ │ │ ├── TesselatedBumpSpecularSmooth.mat │ │ │ │ └── TesselatedBumpSpecularSmooth.mat.meta │ │ │ ├── Models.meta │ │ │ ├── Models │ │ │ │ ├── LowPolySphere.fbx │ │ │ │ └── LowPolySphere.fbx.meta │ │ │ ├── Scenes.meta │ │ │ ├── Scenes │ │ │ │ ├── TessellationSample.unity │ │ │ │ └── TessellationSample.unity.meta │ │ │ ├── Shaders.meta │ │ │ ├── Shaders │ │ │ │ ├── BumpedSpecularDisplacement.shader │ │ │ │ ├── BumpedSpecularDisplacement.shader.meta │ │ │ │ ├── BumpedSpecularSmooth.shader │ │ │ │ └── BumpedSpecularSmooth.shader.meta │ │ │ ├── Textures.meta │ │ │ └── Textures │ │ │ │ ├── CliffHeight.png │ │ │ │ ├── CliffHeight.png.meta │ │ │ │ ├── CliffNormals.png │ │ │ │ └── CliffNormals.png.meta │ │ │ ├── ToonShading.meta │ │ │ └── ToonShading │ │ │ ├── Materials.meta │ │ │ ├── Materials │ │ │ ├── ToonBasic.mat │ │ │ ├── ToonBasic.mat.meta │ │ │ ├── ToonBasicOutline.mat │ │ │ ├── ToonBasicOutline.mat.meta │ │ │ ├── ToonLit.mat │ │ │ ├── ToonLit.mat.meta │ │ │ ├── ToonLitOutline.mat │ │ │ └── ToonLitOutline.mat.meta │ │ │ ├── Shaders.meta │ │ │ ├── Shaders │ │ │ ├── ToonBasic.shader │ │ │ ├── ToonBasic.shader.meta │ │ │ ├── ToonBasicOutline.shader │ │ │ ├── ToonBasicOutline.shader.meta │ │ │ ├── ToonLit.shader │ │ │ ├── ToonLit.shader.meta │ │ │ ├── ToonLitOutline.shader │ │ │ └── ToonLitOutline.shader.meta │ │ │ ├── Textures.meta │ │ │ └── Textures │ │ │ ├── ToonLit.psd │ │ │ ├── ToonLit.psd.meta │ │ │ ├── UtilToonGradient.png │ │ │ └── UtilToonGradient.png.meta │ ├── StreamingAssets.meta │ ├── StreamingAssets │ │ ├── UTJ.meta │ │ └── UTJ │ │ │ ├── HairWorksIntegration.meta │ │ │ └── HairWorksIntegration │ │ │ ├── DefaultHairShader.cso │ │ │ ├── DefaultHairShader.cso.meta │ │ │ ├── ExampleAsset.apx │ │ │ ├── ExampleAsset.apx.meta │ │ │ ├── License.txt │ │ │ └── License.txt.meta │ ├── UTJ.meta │ ├── UTJ │ │ ├── HairWorksIntegration.meta │ │ ├── HairWorksIntegration │ │ │ ├── Editor.meta │ │ │ ├── Editor │ │ │ │ ├── HairInstanceEditor.cs │ │ │ │ ├── HairInstanceEditor.cs.meta │ │ │ │ ├── HairLightEditor.cs │ │ │ │ └── HairLightEditor.cs.meta │ │ │ ├── Example.meta │ │ │ ├── Example │ │ │ │ ├── Simple.unity │ │ │ │ └── Simple.unity.meta │ │ │ ├── Scripts.meta │ │ │ └── Scripts │ │ │ │ ├── HairInstance.cs │ │ │ │ ├── HairInstance.cs.meta │ │ │ │ ├── HairLight.cs │ │ │ │ ├── HairLight.cs.meta │ │ │ │ ├── hwi.cs │ │ │ │ └── hwi.cs.meta │ │ ├── Misc.meta │ │ ├── Misc │ │ │ ├── Editor.meta │ │ │ ├── Editor │ │ │ │ ├── MiscDebugMenu.cs │ │ │ │ └── MiscDebugMenu.cs.meta │ │ │ ├── Scripts.meta │ │ │ └── Scripts │ │ │ │ ├── Bool.cs │ │ │ │ ├── Bool.cs.meta │ │ │ │ ├── DataPath.cs │ │ │ │ ├── DataPath.cs.meta │ │ │ │ ├── FixDeltaTime.cs │ │ │ │ └── FixDeltaTime.cs.meta │ │ ├── Plugins.meta │ │ └── Plugins │ │ │ ├── x86.meta │ │ │ ├── x86 │ │ │ └── HairWorksIntegration.dll.meta │ │ │ ├── x86_64.meta │ │ │ └── x86_64 │ │ │ └── HairWorksIntegration.dll.meta │ ├── smcs.rsp │ └── smcs.rsp.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 ├── Packages └── HairWorksIntegration.unitypackage ├── Plugin ├── Externals │ ├── PatchLibrary │ │ ├── PatchLibrary32.dll │ │ ├── PatchLibrary64.dll │ │ ├── PatchLibraryProxy32.exe │ │ └── PatchLibraryProxy64.exe │ └── UnityPluginInterface │ │ ├── IUnityGraphics.h │ │ ├── IUnityGraphicsD3D11.h │ │ ├── IUnityGraphicsD3D12.h │ │ ├── IUnityGraphicsD3D9.h │ │ └── IUnityInterface.h ├── HairWorksIntegration.cpp ├── HairWorksIntegration.h ├── HairWorksIntegration.sln ├── HairWorksIntegration.vcxproj ├── HairWorksIntegration.vcxproj.filters ├── Shaders │ └── DefaultHairShader.hlsl ├── exports_x86.def ├── hwContext.cpp ├── hwContext.h ├── hwInternal.h ├── pch.cpp └── pch.h ├── README.md └── doc ├── fbx_import_settings.png ├── grass.gif ├── hair_instance.png ├── hair_light.png └── mite.gif /.gitignore: -------------------------------------------------------------------------------- 1 | *.obj 2 | *.pch 3 | *.lib 4 | *.exe 5 | *.dll 6 | *.exp 7 | *.ilk 8 | *.ipch 9 | *.pdb 10 | *.suo 11 | *.sdf 12 | *.opensdf 13 | *.user 14 | *.log 15 | *.tlog 16 | *.db 17 | *.opendb 18 | 19 | GFSDK_HairWorks.win64.dll* 20 | HairWorksIntegration/*.sln 21 | HairWorksIntegration/*.csproj 22 | 23 | _out/ 24 | _tmp/ 25 | Externals/ 26 | Library/ 27 | Temp/ 28 | Build/ 29 | Hidden/ 30 | Hidden.meta 31 | obj/ 32 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2cb8e7736686d044280cad6af0e6c774 3 | folderAsset: yes 4 | timeCreated: 1441800097 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Editor/ImageEffects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 225198e07aaae3547a6d1f6e7177555f 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Editor/ImageEffects/AntialiasingEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ba15fa37442517749a3c4640a4ad4054 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Editor/ImageEffects/BloomAndFlaresEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4deca87cb459d1642ac8f734856ca84e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Editor/ImageEffects/BloomEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43fcc28c40e404d4eabfc88b1dbda7b5 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Editor/ImageEffects/CameraMotionBlurEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80cbbe1c107bf5e43a96347d3dfc2658 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Editor/ImageEffects/ColorCorrectionCurvesEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4a9489f73e4f0344ab3fc97bdf5170b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Editor/ImageEffects/ColorCorrectionLookupEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66c17be95fbf398439ea09f8892a8b43 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Editor/ImageEffects/CreaseShadingEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6788af605d2f1244789565913bb4e7f6 3 | timeCreated: 1434032656 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Editor/ImageEffects/DepthOfFieldDeprecatedEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 943c59645eb905144a0990b57e13a6f9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Editor/ImageEffects/DepthOfFieldEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 427fdf36119bab44a9131abd19b90f57 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Editor/ImageEffects/EdgeDetectionEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b5f1618d14cd80f4da910f00b04af37f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Editor/ImageEffects/NoiseAndGrainEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: abd63abcc46fbcb4588164b671b52d3b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Editor/ImageEffects/SunShaftsEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 54f6f6313f2aecc4d81035ec0031e313 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Editor/ImageEffects/TonemappingEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0f7cab214f141f642b87a5bdbd14653e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Editor/ImageEffects/VignetteAndChromaticAberrationEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08126bf2baa528c4cb9c60340a24e5d6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Example.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 60a0a05b8c90a73419f630bd72de7015 3 | folderAsset: yes 4 | timeCreated: 1441358882 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Example/Animations.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e2738b3636af17742a1b2bc6e4953f06 3 | folderAsset: yes 4 | timeCreated: 1442043429 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Example/Animations/Hair.controller: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Example/Animations/Hair.controller -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Example/Animations/Hair.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d763ee0b7c58d146a73aa159c904f36 3 | timeCreated: 1442043429 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Example/Animations/Shake.anim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Example/Animations/Shake.anim -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Example/Animations/Shake.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 210810d23956d0843b52e9a253f9958c 3 | timeCreated: 1442043429 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Example/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 98598aa9e9678584db005c477db08439 3 | folderAsset: yes 4 | timeCreated: 1441358997 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Example/Prefabs/FrameRateCounter.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Example/Prefabs/FrameRateCounter.prefab -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Example/Prefabs/FrameRateCounter.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d354555475239704c8e75ba6c0f088bf 3 | timeCreated: 1428656997 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Example/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7c8fa8a4525bf01489f3b8ac5dd156fd 3 | folderAsset: yes 4 | timeCreated: 1441358894 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Example/Scripts/CameraControl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cbebbe0f7a8ad7b47a7ad82aed9d20d8 3 | timeCreated: 1426421297 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Example/Scripts/FrameRateCounter.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | [RequireComponent(typeof(GUIText))] 5 | public class FrameRateCounter : MonoBehaviour 6 | { 7 | public float m_update_interval = 0.5f; 8 | private float m_last_time; 9 | private float m_accum = 0.0f; // FPS accumulated over the interval 10 | private int m_frames = 0; // Frames drawn over the interval 11 | private float m_time_left; // Left time for current interval 12 | private float m_result; 13 | 14 | void Start() 15 | { 16 | m_time_left = m_update_interval; 17 | m_last_time = Time.realtimeSinceStartup; 18 | } 19 | 20 | void Update() 21 | { 22 | float now = Time.realtimeSinceStartup; 23 | float delta = now - m_last_time; 24 | m_last_time = now; 25 | m_time_left -= delta; 26 | m_accum += 1.0f / delta; 27 | ++m_frames; 28 | 29 | // Interval ended - update result 30 | if (m_time_left <= 0.0) 31 | { 32 | m_result = m_accum / m_frames; 33 | GetComponent().text = m_result.ToString("f2"); 34 | m_time_left = m_update_interval; 35 | m_accum = 0.0f; 36 | m_frames = 0; 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Example/Scripts/FrameRateCounter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df845f9544e8e00409ea0b3102335733 3 | timeCreated: 1428656934 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Packaging.cs: -------------------------------------------------------------------------------- 1 | #if UNITY_EDITOR 2 | using System; 3 | using System.Collections; 4 | using UnityEngine; 5 | using UnityEngine.Rendering; 6 | using UnityEditor; 7 | 8 | 9 | public class Packaging 10 | { 11 | [MenuItem("Assets/Hair Works Integration/Make Package")] 12 | public static void MakePackage() 13 | { 14 | string[] files = new string[] 15 | { 16 | "Assets/UTJ/HairWorksIntegration", 17 | "Assets/UTJ/Misc", 18 | "Assets/UTJ/Plugins/x86/HairWorksIntegration.dll", 19 | "Assets/UTJ/Plugins/x86_64/HairWorksIntegration.dll", 20 | "Assets/StreamingAssets/UTJ/HairWorksIntegration", 21 | "Assets/smcs.rsp", 22 | }; 23 | AssetDatabase.ExportPackage(files, "HairWorksIntegration.unitypackage", ExportPackageOptions.Recurse); 24 | } 25 | 26 | } 27 | #endif 28 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Packaging.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d66f96743ca93e546ba3c2105d363a6e 3 | timeCreated: 1441118256 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c94d50561902e2945b0b9731354344c2 3 | folderAsset: yes 4 | timeCreated: 1441800097 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 115d1f9d9bd29064ab981e57c8fc8cdf 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/GlassRefraction.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c788335fe2df44ca9bbf95bc580ce4d 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/GlassRefraction/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db69b3da6ede2444b92c479f24b48999 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/GlassRefraction/Materials/GlassRefractive.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 3 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: GlassRefractive 10 | m_Shader: {fileID: 4800000, guid: 963484209d11fd7f110076aa44295342, type: 3} 11 | m_ShaderKeywords: [] 12 | m_CustomRenderQueue: -1 13 | m_SavedProperties: 14 | serializedVersion: 2 15 | m_TexEnvs: 16 | data: 17 | first: 18 | name: _MainTex 19 | second: 20 | m_Texture: {fileID: 2800000, guid: 19555d7d9d114c7f1100f5ab44295342, type: 3} 21 | m_Scale: {x: 1, y: 1} 22 | m_Offset: {x: 0, y: 0} 23 | data: 24 | first: 25 | name: _BumpMap 26 | second: 27 | m_Texture: {fileID: 2800000, guid: 4b8d081e9d114c7f1100f5ab44295342, type: 3} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | m_Floats: 31 | data: 32 | first: 33 | name: _Shininess 34 | second: 1 35 | data: 36 | first: 37 | name: _BumpAmt 38 | second: 128 39 | m_Colors: 40 | data: 41 | first: 42 | name: _Color 43 | second: {r: .423392087, g: .423392087, b: .423392087, a: 0} 44 | data: 45 | first: 46 | name: _SpecColor 47 | second: {r: .981927693, g: .963855445, b: 1, a: 1} 48 | --- !u!1002 &2100001 49 | EditorExtensionImpl: 50 | serializedVersion: 6 51 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/GlassRefraction/Materials/GlassRefractive.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 848918a99d11f25f110026ca44295342 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/GlassRefraction/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 194c5f733c7534ed790e101791e86518 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/GlassRefraction/Shaders/GlassStainedBumpDistort.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 963484209d11fd7f110076aa44295342 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/GlassRefraction/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8869f43d702ae4d6d8930649833d6bee 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/GlassRefraction/Textures/GlassStainedAlbedo.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/GlassRefraction/Textures/GlassStainedAlbedo.tif -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/GlassRefraction/Textures/GlassStainedAlbedo.tif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 19555d7d9d114c7f1100f5ab44295342 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 2 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 256 29 | textureSettings: 30 | filterMode: 2 31 | aniso: 1 32 | mipBias: 0 33 | wrapMode: 0 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 0 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/GlassRefraction/Textures/GlassStainedNormals.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/GlassRefraction/Textures/GlassStainedNormals.tif -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/GlassRefraction/Textures/GlassStainedNormals.tif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b8d081e9d114c7f1100f5ab44295342 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 1 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 2 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 1 17 | externalNormalMap: 1 18 | heightScale: .117766477 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 512 29 | textureSettings: 30 | filterMode: 2 31 | aniso: 1 32 | mipBias: 0 33 | wrapMode: 0 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 1 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6e0c95a128e14227939c51b5d9ad74e 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd3e1490c3d9a7a498538315414d5129 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/Antialiasing.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 646b5bc27a658f447b1d929fd5ffbd70 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - ssaaShader: {fileID: 4800000, guid: b3728d1488b02490cbd196c7941bf1f8, type: 3} 7 | - dlaaShader: {fileID: 4800000, guid: 017ca72b9e8a749058d13ebd527e98fa, type: 3} 8 | - nfaaShader: {fileID: 4800000, guid: ce0cb2621f6d84e21a87414e471a3cce, type: 3} 9 | - shaderFXAAPreset2: {fileID: 4800000, guid: 6f1418cffd12146f2a83be795f6fa5a7, type: 3} 10 | - shaderFXAAPreset3: {fileID: 4800000, guid: c182fa94a5a0a4c02870641efcd38cd5, type: 3} 11 | - shaderFXAAII: {fileID: 4800000, guid: cd5b323dcc592457790ff18b528f5e67, type: 3} 12 | - shaderFXAAIII: {fileID: 4800000, guid: c547503fff0e8482ea5793727057041c, type: 3} 13 | executionOrder: 0 14 | icon: {instanceID: 0} 15 | userData: 16 | assetBundleName: 17 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/Bloom.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7fceaeb339b971b429c4cc600acabd13 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - lensFlareVignetteMask: {fileID: 2800000, guid: 95ef4804fe0be4c999ddaa383536cde8, 7 | type: 3} 8 | - lensFlareShader: {fileID: 4800000, guid: 459fe69d2f6d74ddb92f04dbf45a866b, type: 3} 9 | - screenBlendShader: {fileID: 4800000, guid: 7856cbff0a0ca45c787d5431eb805bb0, type: 3} 10 | - blurAndFlaresShader: {fileID: 4800000, guid: be6e39cf196f146d5be72fbefb18ed75, 11 | type: 3} 12 | - brightPassFilterShader: {fileID: 4800000, guid: 0aeaa4cb29f5d4e9c8455f04c8575c8c, 13 | type: 3} 14 | executionOrder: 0 15 | icon: {instanceID: 0} 16 | userData: 17 | assetBundleName: 18 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/BloomAndFlares.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02536f33053638549ab5c50ff3ecc0de 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - lensFlareVignetteMask: {fileID: 2800000, guid: 95ef4804fe0be4c999ddaa383536cde8, 7 | type: 3} 8 | - lensFlareShader: {fileID: 4800000, guid: 459fe69d2f6d74ddb92f04dbf45a866b, type: 3} 9 | - vignetteShader: {fileID: 4800000, guid: 627943dc7a9a74286b70a4f694a0acd5, type: 3} 10 | - separableBlurShader: {fileID: 4800000, guid: a9df009a214e24a5ebbf271595f8d5b6, 11 | type: 3} 12 | - addBrightStuffOneOneShader: {fileID: 4800000, guid: f7898d203e9b94c0dbe2bf9dd5cb32c0, 13 | type: 3} 14 | - screenBlendShader: {fileID: 4800000, guid: 53b3960ee3d3d4a5caa8d5473d120187, type: 3} 15 | - hollywoodFlaresShader: {fileID: 4800000, guid: e2baf3cae8edc4daf94c9adc2154be00, 16 | type: 3} 17 | - brightPassFilterShader: {fileID: 4800000, guid: 186c4c0d31e314f049595dcbaf4ca129, 18 | type: 3} 19 | executionOrder: 0 20 | icon: {instanceID: 0} 21 | userData: 22 | assetBundleName: 23 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/BloomOptimized.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4975a6e437fc3b149a8cd508ce5bdd69 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - fastBloomShader: {fileID: 4800000, guid: 68a00c837b82e4c6d92e7da765dc5f1d, type: 3} 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/Blur.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 34382083ad114a07d000fbfb8d76c639 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - blurShader: {fileID: 4800000, guid: 57e6deea7c2924e22a5138e2b70bb4dc, type: 3} 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/BlurOptimized.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7fc6bde01469c7b4badee5362f191d96 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - blurShader: {fileID: 4800000, guid: f9d5fa183cd6b45eeb1491f74863cd91, type: 3} 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/CameraMotionBlur.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 97e9b95cf609d96409b6c40519432957 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - shader: {fileID: 4800000, guid: 85a88efa8c871af4a9d17c64791b6f4f, type: 3} 7 | - dx11MotionBlurShader: {fileID: 4800000, guid: f1b13d7a80660504a858ea24cfa418c6, 8 | type: 3} 9 | - replacementClear: {fileID: 4800000, guid: 7699c5fbfa27745a1abe111ab7bf9785, type: 3} 10 | - noiseTexture: {fileID: 2800000, guid: 31f5a8611c4ed1245b18456206e798dc, type: 3} 11 | executionOrder: 0 12 | icon: {instanceID: 0} 13 | userData: 14 | assetBundleName: 15 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/ColorCorrectionCurves.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1fd999d1b2cf94a45a5b0a47ce074bef 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - colorCorrectionCurvesShader: {fileID: 4800000, guid: 62bcade1028c24ca1a39760ed84b9487, 7 | type: 3} 8 | - simpleColorCorrectionCurvesShader: {fileID: 4800000, guid: 438ddd58d82c84d9eb1fdc56111702e1, 9 | type: 3} 10 | - colorCorrectionSelectiveShader: {fileID: 4800000, guid: e515e0f94cefc4c0db54b45cba621544, 11 | type: 3} 12 | executionOrder: 0 13 | icon: {instanceID: 0} 14 | userData: 15 | assetBundleName: 16 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/ColorCorrectionLookup.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8cde8c0fd649d9b46bb403ba5e157391 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - shader: {fileID: 4800000, guid: b61f0d8d8244b4b28aa66b0c8cb46a8d, type: 3} 7 | - converted3DLut: {instanceID: 0} 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/ColorCorrectionRamp.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace UnityStandardAssets.ImageEffects 5 | { 6 | [ExecuteInEditMode] 7 | [AddComponentMenu("Image Effects/Color Adjustments/Color Correction (Ramp)")] 8 | public class ColorCorrectionRamp : ImageEffectBase { 9 | public Texture textureRamp; 10 | 11 | // Called by camera to apply image effect 12 | void OnRenderImage (RenderTexture source, RenderTexture destination) { 13 | material.SetTexture ("_RampTex", textureRamp); 14 | Graphics.Blit (source, destination, material); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/ColorCorrectionRamp.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea59781cad112c75d0008dfa8d76c639 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - shader: {fileID: 4800000, guid: 67f8781cad112c75d0008dfa8d76c639, type: 3} 7 | - textureRamp: {fileID: 2800000, guid: d440902fad11e807d00044888d76c639, type: 3} 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/ContrastEnhance.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3309686a9fbbe6e42a182d5e0257704c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - separableBlurShader: {fileID: 4800000, guid: e97c14fbb5ea04c3a902cc533d7fc5d1, 7 | type: 3} 8 | - contrastCompositeShader: {fileID: 4800000, guid: 273404942eede4ea1883ca1fb2942507, 9 | type: 3} 10 | executionOrder: 0 11 | icon: {instanceID: 0} 12 | userData: 13 | assetBundleName: 14 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/ContrastStretch.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec92b071d2d424aecb3e46f28eb63174 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - shaderLum: {fileID: 4800000, guid: befbb4b9c320b4b18a08ef7afb93b6c9, type: 3} 7 | - shaderReduce: {fileID: 4800000, guid: 57b33a14b6d5347c5a85c36f6cb3b280, type: 3} 8 | - shaderAdapt: {fileID: 4800000, guid: 257bc83cbeb544540bd0e558aa9b1383, type: 3} 9 | - shaderApply: {fileID: 4800000, guid: f4901f25d4e1542589348bbb89563d8e, type: 3} 10 | executionOrder: 0 11 | icon: {instanceID: 0} 12 | userData: 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/CreaseShading.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d64b4f3a592f28b44bf19223ac8b6cd2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - blurShader: {fileID: 4800000, guid: e97c14fbb5ea04c3a902cc533d7fc5d1, type: 3} 7 | - depthFetchShader: {fileID: 4800000, guid: 14768d3865b1342e3a861fbe19ba2db2, type: 3} 8 | - creaseApplyShader: {fileID: 4800000, guid: b59984d82af624bd3b0c777f038276f2, type: 3} 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/DepthOfField.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd70d448b18cfbc46af26466f752332c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - focalTransform: {instanceID: 0} 7 | - dofHdrShader: {fileID: 4800000, guid: acd613035ff3e455e8abf23fdc8c8c24, type: 3} 8 | - dx11BokehShader: {fileID: 4800000, guid: d8e82664aa8686642a424c88ab10164a, type: 3} 9 | - dx11BokehTexture: {fileID: 2800000, guid: a4cdca73d61814d33ac1587f6c163bca, type: 3} 10 | executionOrder: 0 11 | icon: {instanceID: 0} 12 | userData: 13 | assetBundleName: 14 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/DepthOfFieldDeprecated.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 83d8db0ec466c14429f58c68c16398a1 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - objectFocus: {instanceID: 0} 7 | - dofBlurShader: {fileID: 4800000, guid: bb4af680337344a4abad65a4e8873c50, type: 3} 8 | - dofShader: {fileID: 4800000, guid: 987fb0677d01f43ce8a9dbf12271e668, type: 3} 9 | - bokehShader: {fileID: 4800000, guid: 57cdacf9b217546aaa18edf39a6151c0, type: 3} 10 | - bokehTexture: {fileID: 2800000, guid: fc00ec05a89da4ff695a4273715cd5ce, type: 3} 11 | executionOrder: 0 12 | icon: {instanceID: 0} 13 | userData: 14 | assetBundleName: 15 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/EdgeDetection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 730475ee64f9a894bbac0d9e6f22e813 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - edgeDetectShader: {fileID: 4800000, guid: 0d1644bdf064147baa97f235fc5b4903, type: 3} 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/Fisheye.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4739c22ef73ad62488fe344c8fe9addd 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - fishEyeShader: {fileID: 4800000, guid: 874ceab4425f64bccb1d14032f4452b1, type: 3} 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/GlobalFog.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 76b5ec6153a1d55438228df10fe66844 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - fogShader: {fileID: 4800000, guid: 70d8568987ac0499f952b54c7c13e265, type: 3} 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/Grayscale.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace UnityStandardAssets.ImageEffects 5 | { 6 | [ExecuteInEditMode] 7 | [AddComponentMenu("Image Effects/Color Adjustments/Grayscale")] 8 | public class Grayscale : ImageEffectBase { 9 | public Texture textureRamp; 10 | 11 | [Range(-1.0f,1.0f)] 12 | public float rampOffset; 13 | 14 | // Called by camera to apply image effect 15 | void OnRenderImage (RenderTexture source, RenderTexture destination) { 16 | material.SetTexture("_RampTex", textureRamp); 17 | material.SetFloat("_RampOffset", rampOffset); 18 | Graphics.Blit (source, destination, material); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/Grayscale.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 243a781cad112c75d0008dfa8d76c639 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - shader: {fileID: 4800000, guid: daf9781cad112c75d0008dfa8d76c639, type: 3} 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/ImageEffectBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f6469eb0ad1119d6d00011d98d76c639 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/ImageEffects.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 89a037199d11087f1100e2b844295342 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - blitCopyShader: {fileID: 4800000, guid: 3338b5ea2f3cb594698fae65cf060346, type: 3} 7 | - blitMultiplyShader: {fileID: 4800000, guid: 7034c801b78acab448cdcf845f7c352d, 8 | type: 3} 9 | - blitMultiply2XShader: {fileID: 4800000, guid: cde82987e0a884c4788c65f7b54390e8, 10 | type: 3} 11 | - blitAddShader: {fileID: 4800000, guid: c7515f214a63bdb42b6ae6335a00a8a4, type: 3} 12 | - blitAddSmoothShader: {fileID: 4800000, guid: 7741a77a7c455d0418bc429bd508dc87, 13 | type: 3} 14 | - blitBlendShader: {fileID: 4800000, guid: f1cf7e9c98754c4429ff0f7cc1d9dd7b, type: 3} 15 | executionOrder: 0 16 | icon: {instanceID: 0} 17 | userData: 18 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/MotionBlur.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 478a2083ad114a07d000fbfb8d76c639 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - shader: {fileID: 4800000, guid: e9ba2083ad114a07d000fbfb8d76c639, type: 3} 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/NoiseAndGrain.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9191284b058eef549b7108b5f04e1117 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - noiseTexture: {fileID: 2800000, guid: 7a632f967e8ad42f5bd275898151ab6a, type: 3} 7 | - noiseShader: {fileID: 4800000, guid: b0249d8c935344451aa4de6db76f0688, type: 3} 8 | - dx11NoiseShader: {fileID: 4800000, guid: 8b30686bb4322ab42ad5eb50a0210b58, type: 3} 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/NoiseAndScratches.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a88a26a276b4e47619ce2c5adad33fab 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - grainTexture: {fileID: 2800000, guid: ffa9c02760c2b4e8eb9814ec06c4b05b, type: 3} 7 | - scratchTexture: {fileID: 2800000, guid: 6205c27cc031f4e66b8ea90d1bfaa158, type: 3} 8 | - shaderRGB: {fileID: 4800000, guid: 5d7f4c401ae8946bcb0d6ff68a9e7466, type: 3} 9 | - shaderYUV: {fileID: 4800000, guid: 0e447868506ba49f0a73235b8a8b647a, type: 3} 10 | executionOrder: 0 11 | icon: {instanceID: 0} 12 | userData: 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/PostEffectsBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6f4318ec6c2bf643a0f9edfeeaba0ec 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/PostEffectsHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 50b03df8f04b5c441aaac5b7fccb4734 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/Quads.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a20852ce049f64e4695a48b6a354be83 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/ScreenOverlay.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f19108706fdce9469603d07980eb8ad 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - texture: {instanceID: 0} 7 | - overlayShader: {fileID: 4800000, guid: 8c81db0e527d24acc9bcec04e87781bd, type: 3} 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/ScreenSpaceAmbientObscurance.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 75febd242c999f04d9654522a10c006b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - rand: {fileID: 2800000, guid: a181ca8e3c62f3e4b8f183f6c586b032, type: 3} 7 | - aoShader: {fileID: 4800000, guid: 95616c020c5604dda96cf76afbbc0272, type: 3} 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/ScreenSpaceAmbientOcclusion.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b0923359e9e352a4b9b11c7b7161ad67 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - m_SSAOShader: {fileID: 4800000, guid: 43ca18288c424f645aaa1e9e07f04c50, type: 3} 7 | - m_RandomTexture: {fileID: 2800000, guid: a181ca8e3c62f3e4b8f183f6c586b032, type: 3} 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/SepiaTone.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace UnityStandardAssets.ImageEffects 5 | { 6 | [ExecuteInEditMode] 7 | [AddComponentMenu("Image Effects/Color Adjustments/Sepia Tone")] 8 | public class SepiaTone : ImageEffectBase 9 | { 10 | // Called by camera to apply image effect 11 | void OnRenderImage (RenderTexture source, RenderTexture destination) 12 | { 13 | Graphics.Blit (source, destination, material); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/SepiaTone.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a07a781cad112c75d0008dfa8d76c639 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - shader: {fileID: 4800000, guid: b6aa781cad112c75d0008dfa8d76c639, type: 3} 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/SunShafts.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 60e318a6043c1cb4a8ce1c8805bab930 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - sunTransform: {instanceID: 0} 7 | - sunShaftsShader: {fileID: 4800000, guid: d3b1c8c1036784176946f5cfbfb7fe4c, type: 3} 8 | - simpleClearShader: {fileID: 4800000, guid: f688f89ed5eb847c5b19c934a0f1e772, type: 3} 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/TiltShift.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a22b3a7095a744a428c134b5e26ad68e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - tiltShiftShader: {fileID: 4800000, guid: bf34d2a25450349699e8ae6456fa7ca9, type: 3} 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/Tonemapping.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e50e925fb93c78246bf995d9dc3a2330 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - tonemapper: {fileID: 4800000, guid: 003377fc2620a44939dadde6fe3f8190, type: 3} 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/Triangles.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 18b91636de2ba3445913e4cf38528dc8 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/Twirl.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace UnityStandardAssets.ImageEffects 5 | { 6 | [ExecuteInEditMode] 7 | [AddComponentMenu("Image Effects/Displacement/Twirl")] 8 | public class Twirl : ImageEffectBase 9 | { 10 | public Vector2 radius = new Vector2(0.3F,0.3F); 11 | [Range(0.0f,360.0f)] 12 | public float angle = 50; 13 | public Vector2 center = new Vector2 (0.5F, 0.5F); 14 | 15 | 16 | // Called by camera to apply image effect 17 | void OnRenderImage (RenderTexture source, RenderTexture destination) 18 | { 19 | ImageEffects.RenderDistortion (material, source, destination, angle, center, radius); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/Twirl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bdda781cad112c75d0008dfa8d76c639 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - shader: {fileID: 4800000, guid: 641b781cad112c75d0008dfa8d76c639, type: 3} 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/VignetteAndChromaticAberration.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd6d4281e5d7cd44d8c6e38bc2c1b8d8 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - vignetteShader: {fileID: 4800000, guid: 627943dc7a9a74286b70a4f694a0acd5, type: 3} 7 | - separableBlurShader: {fileID: 4800000, guid: e97c14fbb5ea04c3a902cc533d7fc5d1, 8 | type: 3} 9 | - chromAberrationShader: {fileID: 4800000, guid: 2b4f29398d9484ccfa9fd220449f5eee, 10 | type: 3} 11 | executionOrder: 0 12 | icon: {instanceID: 0} 13 | userData: 14 | assetBundleName: 15 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/Vortex.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace UnityStandardAssets.ImageEffects 5 | { 6 | [ExecuteInEditMode] 7 | [AddComponentMenu("Image Effects/Displacement/Vortex")] 8 | public class Vortex : ImageEffectBase 9 | { 10 | public Vector2 radius = new Vector2(0.4F,0.4F); 11 | public float angle = 50; 12 | public Vector2 center = new Vector2(0.5F, 0.5F); 13 | 14 | // Called by camera to apply image effect 15 | void OnRenderImage (RenderTexture source, RenderTexture destination) 16 | { 17 | ImageEffects.RenderDistortion (material, source, destination, angle, center, radius); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Scripts/Vortex.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a94b781cad112c75d0008dfa8d76c639 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: 6 | - shader: {fileID: 4800000, guid: 708b781cad112c75d0008dfa8d76c639, type: 3} 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b2145489f7c704db8acb14a52bddeee9 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/BlendModesOverlay.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8c81db0e527d24acc9bcec04e87781bd 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/BlurEffectConeTaps.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/BlurEffectConeTap" { 2 | Properties { _MainTex ("", any) = "" {} } 3 | CGINCLUDE 4 | #include "UnityCG.cginc" 5 | struct v2f { 6 | float4 pos : SV_POSITION; 7 | half2 uv : TEXCOORD0; 8 | half2 taps[4] : TEXCOORD1; 9 | }; 10 | sampler2D _MainTex; 11 | half4 _MainTex_TexelSize; 12 | half4 _BlurOffsets; 13 | v2f vert( appdata_img v ) { 14 | v2f o; 15 | o.pos = mul(UNITY_MATRIX_MVP, v.vertex); 16 | o.uv = v.texcoord - _BlurOffsets.xy * _MainTex_TexelSize.xy; // hack, see BlurEffect.cs for the reason for this. let's make a new blur effect soon 17 | o.taps[0] = o.uv + _MainTex_TexelSize * _BlurOffsets.xy; 18 | o.taps[1] = o.uv - _MainTex_TexelSize * _BlurOffsets.xy; 19 | o.taps[2] = o.uv + _MainTex_TexelSize * _BlurOffsets.xy * half2(1,-1); 20 | o.taps[3] = o.uv - _MainTex_TexelSize * _BlurOffsets.xy * half2(1,-1); 21 | return o; 22 | } 23 | half4 frag(v2f i) : SV_Target { 24 | half4 color = tex2D(_MainTex, i.taps[0]); 25 | color += tex2D(_MainTex, i.taps[1]); 26 | color += tex2D(_MainTex, i.taps[2]); 27 | color += tex2D(_MainTex, i.taps[3]); 28 | return color * 0.25; 29 | } 30 | ENDCG 31 | SubShader { 32 | Pass { 33 | ZTest Always Cull Off ZWrite Off 34 | 35 | CGPROGRAM 36 | #pragma vertex vert 37 | #pragma fragment frag 38 | ENDCG 39 | } 40 | } 41 | Fallback off 42 | } 43 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/BlurEffectConeTaps.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57e6deea7c2924e22a5138e2b70bb4dc 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/CameraMotionBlur.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85a88efa8c871af4a9d17c64791b6f4f 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/CameraMotionBlurDX11.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1b13d7a80660504a858ea24cfa418c6 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/ChromaticAberrationShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2b4f29398d9484ccfa9fd220449f5eee 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/ColorCorrection3DLut.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/ColorCorrection3DLut" { 2 | Properties { 3 | _MainTex ("Base (RGB)", 2D) = "" {} 4 | } 5 | 6 | CGINCLUDE 7 | 8 | #include "UnityCG.cginc" 9 | 10 | struct v2f { 11 | float4 pos : SV_POSITION; 12 | float2 uv : TEXCOORD0; 13 | }; 14 | 15 | sampler2D _MainTex; 16 | sampler3D _ClutTex; 17 | 18 | float _Scale; 19 | float _Offset; 20 | 21 | v2f vert( appdata_img v ) 22 | { 23 | v2f o; 24 | o.pos = mul(UNITY_MATRIX_MVP, v.vertex); 25 | o.uv = v.texcoord.xy; 26 | return o; 27 | } 28 | 29 | float4 frag(v2f i) : SV_Target 30 | { 31 | float4 c = tex2D(_MainTex, i.uv); 32 | c.rgb = tex3D(_ClutTex, c.rgb * _Scale + _Offset).rgb; 33 | return c; 34 | } 35 | 36 | float4 fragLinear(v2f i) : SV_Target 37 | { 38 | float4 c = tex2D(_MainTex, i.uv); 39 | c.rgb= sqrt(c.rgb); 40 | c.rgb = tex3D(_ClutTex, c.rgb * _Scale + _Offset).rgb; 41 | c.rgb = c.rgb*c.rgb; 42 | return c; 43 | } 44 | 45 | ENDCG 46 | 47 | 48 | Subshader 49 | { 50 | Pass 51 | { 52 | ZTest Always Cull Off ZWrite Off 53 | 54 | CGPROGRAM 55 | #pragma vertex vert 56 | #pragma fragment frag 57 | #pragma target 3.0 58 | ENDCG 59 | } 60 | 61 | Pass 62 | { 63 | ZTest Always Cull Off ZWrite Off 64 | 65 | CGPROGRAM 66 | #pragma vertex vert 67 | #pragma fragment fragLinear 68 | #pragma target 3.0 69 | ENDCG 70 | } 71 | } 72 | 73 | Fallback off 74 | } 75 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/ColorCorrection3DLut.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b61f0d8d8244b4b28aa66b0c8cb46a8d 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/ColorCorrectionCurves.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 62bcade1028c24ca1a39760ed84b9487 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/ColorCorrectionCurvesSimple.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/ColorCorrectionCurvesSimple" { 2 | Properties { 3 | _MainTex ("Base (RGB)", 2D) = "" {} 4 | _RgbTex ("_RgbTex (RGB)", 2D) = "" {} 5 | } 6 | 7 | // Shader code pasted into all further CGPROGRAM blocks 8 | CGINCLUDE 9 | 10 | #include "UnityCG.cginc" 11 | 12 | struct v2f { 13 | float4 pos : SV_POSITION; 14 | half2 uv : TEXCOORD0; 15 | }; 16 | 17 | sampler2D _MainTex; 18 | sampler2D _RgbTex; 19 | fixed _Saturation; 20 | 21 | v2f vert( appdata_img v ) 22 | { 23 | v2f o; 24 | o.pos = mul(UNITY_MATRIX_MVP, v.vertex); 25 | o.uv = v.texcoord.xy; 26 | return o; 27 | } 28 | 29 | fixed4 frag(v2f i) : SV_Target 30 | { 31 | fixed4 color = tex2D(_MainTex, i.uv); 32 | 33 | fixed3 red = tex2D(_RgbTex, half2(color.r, 0.5/4.0)).rgb * fixed3(1,0,0); 34 | fixed3 green = tex2D(_RgbTex, half2(color.g, 1.5/4.0)).rgb * fixed3(0,1,0); 35 | fixed3 blue = tex2D(_RgbTex, half2(color.b, 2.5/4.0)).rgb * fixed3(0,0,1); 36 | 37 | color = fixed4(red+green+blue, color.a); 38 | 39 | fixed lum = Luminance(color.rgb); 40 | color.rgb = lerp(fixed3(lum,lum,lum), color.rgb, _Saturation); 41 | return color; 42 | } 43 | 44 | ENDCG 45 | 46 | Subshader { 47 | Pass { 48 | ZTest Always Cull Off ZWrite Off 49 | 50 | CGPROGRAM 51 | #pragma vertex vert 52 | #pragma fragment frag 53 | ENDCG 54 | } 55 | } 56 | 57 | Fallback off 58 | 59 | } // shader 60 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/ColorCorrectionCurvesSimple.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 438ddd58d82c84d9eb1fdc56111702e1 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/ColorCorrectionEffect.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/Color Correction Effect" { 2 | Properties { 3 | _MainTex ("Base (RGB)", 2D) = "white" {} 4 | _RampTex ("Base (RGB)", 2D) = "grayscaleRamp" {} 5 | } 6 | 7 | SubShader { 8 | Pass { 9 | ZTest Always Cull Off ZWrite Off 10 | 11 | CGPROGRAM 12 | #pragma vertex vert_img 13 | #pragma fragment frag 14 | #include "UnityCG.cginc" 15 | 16 | uniform sampler2D _MainTex; 17 | uniform sampler2D _RampTex; 18 | 19 | fixed4 frag (v2f_img i) : SV_Target 20 | { 21 | fixed4 orig = tex2D(_MainTex, i.uv); 22 | 23 | fixed rr = tex2D(_RampTex, orig.rr).r; 24 | fixed gg = tex2D(_RampTex, orig.gg).g; 25 | fixed bb = tex2D(_RampTex, orig.bb).b; 26 | 27 | fixed4 color = fixed4(rr, gg, bb, orig.a); 28 | 29 | return color; 30 | } 31 | ENDCG 32 | 33 | } 34 | } 35 | 36 | Fallback off 37 | 38 | } 39 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/ColorCorrectionEffect.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 67f8781cad112c75d0008dfa8d76c639 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/ColorCorrectionSelective.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/ColorCorrectionSelective" { 2 | Properties { 3 | _MainTex ("Base (RGB)", 2D) = "" {} 4 | } 5 | 6 | CGINCLUDE 7 | 8 | #include "UnityCG.cginc" 9 | 10 | struct v2f { 11 | float4 pos : SV_POSITION; 12 | float2 uv : TEXCOORD0; 13 | }; 14 | 15 | sampler2D _MainTex; 16 | 17 | float4 selColor; 18 | float4 targetColor; 19 | 20 | v2f vert( appdata_img v ) { 21 | v2f o; 22 | o.pos = mul (UNITY_MATRIX_MVP, v.vertex); 23 | o.uv = v.texcoord.xy; 24 | return o; 25 | } 26 | 27 | fixed4 frag(v2f i) : SV_Target { 28 | fixed4 color = tex2D (_MainTex, i.uv); 29 | 30 | fixed diff = saturate (2.0 * length (color.rgb - selColor.rgb)); 31 | color = lerp (targetColor, color, diff); 32 | return color; 33 | } 34 | 35 | ENDCG 36 | 37 | Subshader { 38 | Pass { 39 | ZTest Always Cull Off ZWrite Off 40 | 41 | CGPROGRAM 42 | 43 | #pragma vertex vert 44 | #pragma fragment frag 45 | 46 | ENDCG 47 | } 48 | } 49 | 50 | Fallback off 51 | 52 | } 53 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/ColorCorrectionSelective.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e515e0f94cefc4c0db54b45cba621544 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/Contrast Stretch.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a40c1b84cf7fe418bae97a29041b85a4 3 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/Contrast Stretch/Adaptation.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 257bc83cbeb544540bd0e558aa9b1383 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/Contrast Stretch/Apply.shader: -------------------------------------------------------------------------------- 1 | // Final pass in the contrast stretch effect: apply 2 | // color stretch to the original image, based on currently 3 | // adapted to minimum/maximum luminances. 4 | 5 | Shader "Hidden/Contrast Stretch Apply" { 6 | Properties { 7 | _MainTex ("Base (RGB)", 2D) = "white" {} 8 | _AdaptTex ("Base (RGB)", 2D) = "white" {} 9 | } 10 | 11 | Category { 12 | SubShader { 13 | Pass { 14 | ZTest Always Cull Off ZWrite Off 15 | 16 | CGPROGRAM 17 | #pragma vertex vert 18 | #pragma fragment frag 19 | #include "UnityCG.cginc" 20 | 21 | struct v2f { 22 | float4 pos : SV_POSITION; 23 | float2 uv[2] : TEXCOORD0; 24 | }; 25 | 26 | uniform sampler2D _MainTex; 27 | uniform sampler2D _AdaptTex; 28 | 29 | v2f vert (appdata_img v) 30 | { 31 | v2f o; 32 | o.pos = mul (UNITY_MATRIX_MVP, v.vertex); 33 | o.uv[0] = MultiplyUV (UNITY_MATRIX_TEXTURE0, v.texcoord); 34 | o.uv[1] = float2(0.5,0.5); 35 | return o; 36 | } 37 | 38 | float4 frag (v2f i) : SV_Target 39 | { 40 | float4 col = tex2D(_MainTex, i.uv[0]); 41 | float4 adapted = tex2D(_AdaptTex, i.uv[1]); 42 | float vmul = 1.0 / adapted.z; 43 | float vadd = -adapted.w; 44 | col.rgb = col.rgb * vmul + vadd; 45 | return col; 46 | } 47 | ENDCG 48 | 49 | } 50 | } 51 | } 52 | 53 | Fallback off 54 | 55 | } 56 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/Contrast Stretch/Apply.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4901f25d4e1542589348bbb89563d8e 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/Contrast Stretch/Luminance.shader: -------------------------------------------------------------------------------- 1 | // Outputs luminance (grayscale) of the input image _MainTex 2 | 3 | Shader "Hidden/Contrast Stretch Luminance" { 4 | 5 | Properties { 6 | _MainTex ("Base (RGB)", 2D) = "white" {} 7 | } 8 | 9 | Category { 10 | SubShader { 11 | Pass { 12 | ZTest Always Cull Off ZWrite Off 13 | 14 | CGPROGRAM 15 | #pragma vertex vert_img 16 | #pragma fragment frag 17 | #include "UnityCG.cginc" 18 | 19 | uniform sampler2D _MainTex; 20 | 21 | float4 frag (v2f_img i) : SV_Target 22 | { 23 | float4 col = tex2D(_MainTex, i.uv); 24 | col.rgb = Luminance(col.rgb) * (1+col.a*2); 25 | return col; 26 | } 27 | ENDCG 28 | 29 | } 30 | } 31 | } 32 | 33 | Fallback off 34 | 35 | } 36 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/Contrast Stretch/Luminance.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: befbb4b9c320b4b18a08ef7afb93b6c9 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/Contrast Stretch/MinMaxReduction.shader: -------------------------------------------------------------------------------- 1 | // Reduces input image (_MainTex) by 2x2. 2 | // Outputs maximum value in R, minimum in G. 3 | Shader "Hidden/Contrast Stretch Reduction" { 4 | 5 | Properties { 6 | _MainTex ("Base (RGB)", 2D) = "white" {} 7 | } 8 | 9 | Category { 10 | SubShader { 11 | Pass { 12 | ZTest Always Cull Off ZWrite Off 13 | 14 | CGPROGRAM 15 | #pragma vertex vert 16 | #pragma fragment frag 17 | #include "UnityCG.cginc" 18 | 19 | struct v2f { 20 | float4 position : SV_POSITION; 21 | float2 uv[4] : TEXCOORD0; 22 | }; 23 | 24 | uniform sampler2D _MainTex; 25 | 26 | v2f vert (appdata_img v) { 27 | v2f o; 28 | o.position = mul (UNITY_MATRIX_MVP, v.vertex); 29 | float2 uv = MultiplyUV (UNITY_MATRIX_TEXTURE0, v.texcoord); 30 | 31 | // Compute UVs to sample 2x2 pixel block. 32 | o.uv[0] = uv + float2(0,0); 33 | o.uv[1] = uv + float2(0,1); 34 | o.uv[2] = uv + float2(1,0); 35 | o.uv[3] = uv + float2(1,1); 36 | return o; 37 | } 38 | 39 | float4 frag (v2f i) : SV_Target 40 | { 41 | // Sample pixel block 42 | float4 v00 = tex2D(_MainTex, i.uv[0]); 43 | float2 v01 = tex2D(_MainTex, i.uv[1]).xy; 44 | float2 v10 = tex2D(_MainTex, i.uv[2]).xy; 45 | float2 v11 = tex2D(_MainTex, i.uv[3]).xy; 46 | 47 | float4 res; 48 | // output x: maximum of the four values 49 | res.x = max( max(v00.x,v01.x), max(v10.x,v11.x) ); 50 | // output y: minimum of the four values 51 | res.y = min( min(v00.y,v01.y), min(v10.y,v11.y) ); 52 | // output zw unchanged from the first pixel 53 | res.zw = v00.zw; 54 | 55 | return res; 56 | } 57 | ENDCG 58 | 59 | } 60 | } 61 | } 62 | 63 | Fallback off 64 | 65 | } 66 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/Contrast Stretch/MinMaxReduction.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57b33a14b6d5347c5a85c36f6cb3b280 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/ContrastComposite.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/ContrastComposite" { 2 | Properties { 3 | _MainTex ("Base (RGB)", 2D) = "" {} 4 | _MainTexBlurred ("Base Blurred (RGB)", 2D) = "" {} 5 | } 6 | 7 | // Shader code pasted into all further CGPROGRAM blocks 8 | CGINCLUDE 9 | 10 | #include "UnityCG.cginc" 11 | 12 | struct v2f { 13 | float4 pos : SV_POSITION; 14 | float2 uv[2] : TEXCOORD0; 15 | }; 16 | 17 | sampler2D _MainTex; 18 | sampler2D _MainTexBlurred; 19 | 20 | float4 _MainTex_TexelSize; 21 | 22 | float intensity; 23 | float threshold; 24 | 25 | v2f vert( appdata_img v ) { 26 | v2f o; 27 | o.pos = mul(UNITY_MATRIX_MVP, v.vertex); 28 | 29 | o.uv[0] = v.texcoord.xy; 30 | o.uv[1] = v.texcoord.xy; 31 | #if UNITY_UV_STARTS_AT_TOP 32 | if (_MainTex_TexelSize.y < 0) 33 | o.uv[0].y = 1-o.uv[0].y; 34 | #endif 35 | return o; 36 | } 37 | 38 | half4 frag(v2f i) : SV_Target 39 | { 40 | half4 color = tex2D (_MainTex, i.uv[1]); 41 | half4 blurred = tex2D (_MainTexBlurred, (i.uv[0])); 42 | 43 | half4 difference = color - blurred; 44 | half4 signs = sign (difference); 45 | 46 | half4 enhancement = saturate (abs(difference) - threshold) * signs * 1.0/(1.0-threshold); 47 | color += enhancement * intensity; 48 | 49 | return color; 50 | } 51 | 52 | ENDCG 53 | 54 | Subshader { 55 | Pass { 56 | ZTest Always Cull Off ZWrite Off 57 | 58 | CGPROGRAM 59 | #pragma vertex vert 60 | #pragma fragment frag 61 | ENDCG 62 | } 63 | } 64 | 65 | Fallback off 66 | 67 | } // shader 68 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/ContrastComposite.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 273404942eede4ea1883ca1fb2942507 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/ConvertDepth.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/ConvertDepth" { 2 | Properties { 3 | _MainTex ("Base (RGB)", 2D) = "" {} 4 | } 5 | 6 | // Shader code pasted into all further CGPROGRAM blocks 7 | CGINCLUDE 8 | 9 | #include "UnityCG.cginc" 10 | 11 | struct v2f { 12 | float4 pos : SV_POSITION; 13 | float2 uv : TEXCOORD0; 14 | }; 15 | 16 | sampler2D _MainTex; 17 | sampler2D_float _CameraDepthTexture; 18 | 19 | v2f vert( appdata_img v ) 20 | { 21 | v2f o; 22 | o.pos = mul(UNITY_MATRIX_MVP, v.vertex); 23 | o.uv = v.texcoord.xy; 24 | return o; 25 | } 26 | 27 | half4 frag(v2f i) : SV_Target 28 | { 29 | float d = SAMPLE_DEPTH_TEXTURE(_CameraDepthTexture, i.uv.xy); 30 | d = Linear01Depth(d); 31 | 32 | if(d>0.99999) 33 | return half4(1,1,1,1); 34 | else 35 | return EncodeFloatRGBA(d); 36 | } 37 | 38 | ENDCG 39 | 40 | Subshader { 41 | 42 | Pass { 43 | ZTest Always Cull Off ZWrite Off 44 | 45 | CGPROGRAM 46 | #pragma vertex vert 47 | #pragma fragment frag 48 | ENDCG 49 | } 50 | } 51 | 52 | Fallback off 53 | 54 | } // shader 55 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/ConvertDepth.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 14768d3865b1342e3a861fbe19ba2db2 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/CreaseApply.shader: -------------------------------------------------------------------------------- 1 | 2 | 3 | Shader "Hidden/CreaseApply" { 4 | Properties { 5 | _MainTex ("Base (RGB)", 2D) = "white" {} 6 | _HrDepthTex ("Base (RGB)", 2D) = "white" {} 7 | _LrDepthTex ("Base (RGB)", 2D) = "white" {} 8 | } 9 | 10 | SubShader { 11 | Pass { 12 | ZTest Always Cull Off ZWrite Off 13 | 14 | CGPROGRAM 15 | #pragma vertex vert 16 | #pragma fragment frag 17 | #include "UnityCG.cginc" 18 | 19 | sampler2D _MainTex; 20 | sampler2D _HrDepthTex; 21 | sampler2D _LrDepthTex; 22 | 23 | uniform float4 _MainTex_TexelSize; 24 | 25 | uniform float intensity; 26 | 27 | struct v2f { 28 | float4 pos : SV_POSITION; 29 | float2 uv : TEXCOORD0; 30 | }; 31 | 32 | v2f vert( appdata_img v ) 33 | { 34 | v2f o; 35 | o.pos = mul (UNITY_MATRIX_MVP, v.vertex); 36 | o.uv.xy = v.texcoord.xy; 37 | return o; 38 | } 39 | 40 | half4 frag (v2f i) : SV_Target 41 | { 42 | float4 hrDepth = tex2D(_HrDepthTex, i.uv); 43 | float4 lrDepth = tex2D(_LrDepthTex, i.uv); 44 | 45 | hrDepth.a = DecodeFloatRGBA(hrDepth); 46 | lrDepth.a = DecodeFloatRGBA(lrDepth); 47 | 48 | float4 color = tex2D(_MainTex, i.uv); 49 | 50 | return color * (1.0-abs(hrDepth.a-lrDepth.a)*intensity); 51 | } 52 | 53 | ENDCG 54 | 55 | 56 | } 57 | } 58 | 59 | Fallback off 60 | 61 | } 62 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/CreaseApply.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b59984d82af624bd3b0c777f038276f2 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/EdgeDetectNormals.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d1644bdf064147baa97f235fc5b4903 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/FisheyeShader.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/FisheyeShader" { 2 | Properties { 3 | _MainTex ("Base (RGB)", 2D) = "" {} 4 | } 5 | 6 | // Shader code pasted into all further CGPROGRAM blocks 7 | CGINCLUDE 8 | 9 | #include "UnityCG.cginc" 10 | 11 | struct v2f { 12 | float4 pos : SV_POSITION; 13 | float2 uv : TEXCOORD0; 14 | }; 15 | 16 | sampler2D _MainTex; 17 | 18 | float2 intensity; 19 | 20 | v2f vert( appdata_img v ) 21 | { 22 | v2f o; 23 | o.pos = mul(UNITY_MATRIX_MVP, v.vertex); 24 | o.uv = v.texcoord.xy; 25 | return o; 26 | } 27 | 28 | half4 frag(v2f i) : SV_Target 29 | { 30 | half2 coords = i.uv; 31 | coords = (coords - 0.5) * 2.0; 32 | 33 | half2 realCoordOffs; 34 | realCoordOffs.x = (1-coords.y * coords.y) * intensity.y * (coords.x); 35 | realCoordOffs.y = (1-coords.x * coords.x) * intensity.x * (coords.y); 36 | 37 | half4 color = tex2D (_MainTex, i.uv - realCoordOffs); 38 | 39 | return color; 40 | } 41 | 42 | ENDCG 43 | 44 | Subshader { 45 | Pass { 46 | ZTest Always Cull Off ZWrite Off 47 | 48 | CGPROGRAM 49 | #pragma vertex vert 50 | #pragma fragment frag 51 | ENDCG 52 | } 53 | 54 | } 55 | 56 | Fallback off 57 | 58 | } // shader 59 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/FisheyeShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 874ceab4425f64bccb1d14032f4452b1 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/GlobalFog.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70d8568987ac0499f952b54c7c13e265 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/GrayscaleEffect.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/Grayscale Effect" { 2 | Properties { 3 | _MainTex ("Base (RGB)", 2D) = "white" {} 4 | _RampTex ("Base (RGB)", 2D) = "grayscaleRamp" {} 5 | } 6 | 7 | SubShader { 8 | Pass { 9 | ZTest Always Cull Off ZWrite Off 10 | 11 | CGPROGRAM 12 | #pragma vertex vert_img 13 | #pragma fragment frag 14 | #include "UnityCG.cginc" 15 | 16 | uniform sampler2D _MainTex; 17 | uniform sampler2D _RampTex; 18 | uniform half _RampOffset; 19 | 20 | fixed4 frag (v2f_img i) : SV_Target 21 | { 22 | fixed4 original = tex2D(_MainTex, i.uv); 23 | fixed grayscale = Luminance(original.rgb); 24 | half2 remap = half2 (grayscale + _RampOffset, .5); 25 | fixed4 output = tex2D(_RampTex, remap); 26 | output.a = original.a; 27 | return output; 28 | } 29 | ENDCG 30 | 31 | } 32 | } 33 | 34 | Fallback off 35 | 36 | } 37 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/GrayscaleEffect.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: daf9781cad112c75d0008dfa8d76c639 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/MotionBlur.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e9ba2083ad114a07d000fbfb8d76c639 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/MotionBlurClear.shader: -------------------------------------------------------------------------------- 1 | 2 | Shader "Hidden/MotionBlurClear" 3 | { 4 | 5 | Properties { } 6 | 7 | SubShader { 8 | Pass { 9 | //ZTest LEqual 10 | ZTest Always // lame depth test 11 | ZWrite Off // lame depth test 12 | 13 | CGPROGRAM 14 | 15 | #pragma vertex vert 16 | #pragma fragment frag 17 | 18 | #include "UnityCG.cginc" 19 | 20 | struct vs_input { 21 | float4 vertex : POSITION; 22 | }; 23 | 24 | struct ps_input { 25 | float4 pos : SV_POSITION; 26 | float4 screen : TEXCOORD0; 27 | }; 28 | 29 | sampler2D_float _CameraDepthTexture; 30 | 31 | ps_input vert (vs_input v) 32 | { 33 | ps_input o; 34 | o.pos = mul (UNITY_MATRIX_MVP, v.vertex); 35 | o.screen = ComputeScreenPos(o.pos); 36 | COMPUTE_EYEDEPTH(o.screen.z); 37 | return o; 38 | } 39 | 40 | float4 frag (ps_input i) : SV_Target 41 | { 42 | // superlame: manual depth test needed as we can't bind depth, FIXME for 4.x 43 | // alternatively implement SM > 3 version where we write out custom depth 44 | 45 | float d = SAMPLE_DEPTH_TEXTURE_PROJ(_CameraDepthTexture, UNITY_PROJ_COORD(i.screen)); 46 | d = LinearEyeDepth(d); 47 | 48 | clip(d - i.screen.z + 1e-2f); 49 | return float4(0, 0, 0, 0); 50 | } 51 | 52 | ENDCG 53 | 54 | } 55 | } 56 | 57 | Fallback Off 58 | } 59 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/MotionBlurClear.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7699c5fbfa27745a1abe111ab7bf9785 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/NoiseAndGrain.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b0249d8c935344451aa4de6db76f0688 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/NoiseAndGrainDX11.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b30686bb4322ab42ad5eb50a0210b58 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/NoiseEffectShaderRGB.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/Noise Shader RGB" { 2 | Properties { 3 | _MainTex ("Base (RGB)", 2D) = "white" {} 4 | _GrainTex ("Base (RGB)", 2D) = "gray" {} 5 | _ScratchTex ("Base (RGB)", 2D) = "gray" {} 6 | } 7 | 8 | SubShader { 9 | Pass { 10 | ZTest Always Cull Off ZWrite Off 11 | 12 | CGPROGRAM 13 | #pragma vertex vert 14 | #pragma fragment frag 15 | #include "UnityCG.cginc" 16 | 17 | struct v2f { 18 | float4 pos : SV_POSITION; 19 | float2 uv : TEXCOORD0; 20 | float2 uvg : TEXCOORD1; // grain 21 | float2 uvs : TEXCOORD2; // scratch 22 | }; 23 | 24 | uniform sampler2D _MainTex; 25 | uniform sampler2D _GrainTex; 26 | uniform sampler2D _ScratchTex; 27 | 28 | uniform float4 _GrainOffsetScale; 29 | uniform float4 _ScratchOffsetScale; 30 | uniform fixed4 _Intensity; // x=grain, y=scratch 31 | 32 | v2f vert (appdata_img v) 33 | { 34 | v2f o; 35 | o.pos = mul (UNITY_MATRIX_MVP, v.vertex); 36 | o.uv = MultiplyUV (UNITY_MATRIX_TEXTURE0, v.texcoord); 37 | o.uvg = v.texcoord.xy * _GrainOffsetScale.zw + _GrainOffsetScale.xy; 38 | o.uvs = v.texcoord.xy * _ScratchOffsetScale.zw + _ScratchOffsetScale.xy; 39 | return o; 40 | } 41 | 42 | fixed4 frag (v2f i) : SV_Target 43 | { 44 | fixed4 col = tex2D(_MainTex, i.uv); 45 | 46 | // sample noise texture and do a signed add 47 | fixed3 grain = tex2D(_GrainTex, i.uvg).rgb * 2 - 1; 48 | col.rgb += grain * _Intensity.x; 49 | 50 | // sample scratch texture and do a signed add 51 | fixed3 scratch = tex2D(_ScratchTex, i.uvs).rgb * 2 - 1; 52 | col.rgb += scratch * _Intensity.y; 53 | 54 | return col; 55 | } 56 | ENDCG 57 | } 58 | } 59 | 60 | Fallback off 61 | 62 | } 63 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/NoiseEffectShaderRGB.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5d7f4c401ae8946bcb0d6ff68a9e7466 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/NoiseEffectShaderYUV.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e447868506ba49f0a73235b8a8b647a 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/PrepareSunShaftsBlur.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ad381ed8492840ab9f165df743e4826 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/RadialBlur.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/RadialBlur" 2 | { 3 | Properties { 4 | _MainTex ("Base (RGB)", 2D) = "" {} 5 | } 6 | 7 | // Shader code pasted into all further CGPROGRAM blocks 8 | CGINCLUDE 9 | 10 | #include "UnityCG.cginc" 11 | 12 | struct v2f { 13 | float4 pos : SV_POSITION; 14 | float2 uv : TEXCOORD0; 15 | float2 blurVector : TEXCOORD1; 16 | }; 17 | 18 | sampler2D _MainTex; 19 | 20 | float4 _BlurRadius4; 21 | float4 _SunPosition; 22 | 23 | float4 _MainTex_TexelSize; 24 | 25 | v2f vert( appdata_img v ) { 26 | v2f o; 27 | o.pos = mul(UNITY_MATRIX_MVP, v.vertex); 28 | o.uv.xy = v.texcoord.xy; 29 | 30 | o.blurVector = (_SunPosition.xy - v.texcoord.xy) * _BlurRadius4.xy; 31 | 32 | return o; 33 | } 34 | 35 | #define SAMPLES_FLOAT 6.0f 36 | #define SAMPLES_INT 6 37 | 38 | half4 frag(v2f i) : SV_Target 39 | { 40 | half4 color = half4(0,0,0,0); 41 | 42 | for(int j = 0; j < SAMPLES_INT; j++) 43 | { 44 | half4 tmpColor = tex2D(_MainTex, i.uv.xy); 45 | color += tmpColor; 46 | 47 | i.uv.xy += i.blurVector; 48 | } 49 | 50 | return color / SAMPLES_FLOAT; 51 | } 52 | 53 | ENDCG 54 | 55 | Subshader 56 | { 57 | Blend One Zero 58 | Pass { 59 | ZTest Always Cull Off ZWrite Off 60 | 61 | CGPROGRAM 62 | #pragma vertex vert 63 | #pragma fragment frag 64 | 65 | ENDCG 66 | } // Pass 67 | } // Subshader 68 | 69 | Fallback off 70 | 71 | } // shader 72 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/RadialBlur.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f58445347fe2e4b8396487ed2bfa02ad 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/SSAOShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43ca18288c424f645aaa1e9e07f04c50 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/ScreenSpaceAmbientObscurance.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 95616c020c5604dda96cf76afbbc0272 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/SepiaToneEffect.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/Sepiatone Effect" { 2 | Properties { 3 | _MainTex ("Base (RGB)", 2D) = "white" {} 4 | } 5 | 6 | SubShader { 7 | Pass { 8 | ZTest Always Cull Off ZWrite Off 9 | 10 | CGPROGRAM 11 | #pragma vertex vert_img 12 | #pragma fragment frag 13 | #include "UnityCG.cginc" 14 | 15 | uniform sampler2D _MainTex; 16 | 17 | fixed4 frag (v2f_img i) : SV_Target 18 | { 19 | fixed4 original = tex2D(_MainTex, i.uv); 20 | 21 | // get intensity value (Y part of YIQ color space) 22 | fixed Y = dot (fixed3(0.299, 0.587, 0.114), original.rgb); 23 | 24 | // Convert to Sepia Tone by adding constant 25 | fixed4 sepiaConvert = float4 (0.191, -0.054, -0.221, 0.0); 26 | fixed4 output = sepiaConvert + Y; 27 | output.a = original.a; 28 | 29 | return output; 30 | } 31 | ENDCG 32 | 33 | } 34 | } 35 | 36 | Fallback off 37 | 38 | } 39 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/SepiaToneEffect.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6aa781cad112c75d0008dfa8d76c639 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/ShowAlphaChannel.shader: -------------------------------------------------------------------------------- 1 | 2 | 3 | Shader "Hidden/ShowAlphaChannel" { 4 | Properties { 5 | _MainTex ("Base (RGB)", 2D) = "white" {} 6 | _EdgeTex ("_EdgeTex", 2D) = "white" {} 7 | } 8 | 9 | SubShader { 10 | Pass { 11 | ZTest Always Cull Off ZWrite Off 12 | 13 | CGPROGRAM 14 | #pragma vertex vert 15 | #pragma fragment frag 16 | 17 | #include "UnityCG.cginc" 18 | 19 | uniform sampler2D _MainTex; 20 | uniform sampler2D _EdgeTex; 21 | 22 | uniform float4 _MainTex_TexelSize; 23 | 24 | float filterRadius; 25 | 26 | struct v2f { 27 | float4 pos : SV_POSITION; 28 | float2 uv : TEXCOORD0; 29 | }; 30 | 31 | v2f vert( appdata_img v ) 32 | { 33 | v2f o; 34 | o.pos = mul (UNITY_MATRIX_MVP, v.vertex); 35 | o.uv = v.texcoord.xy; 36 | 37 | return o; 38 | } 39 | 40 | half4 frag (v2f i) : SV_Target 41 | { 42 | 43 | half4 color = tex2D(_MainTex, i.uv.xy); 44 | half edges = color.a; 45 | 46 | return edges; 47 | } 48 | ENDCG 49 | } 50 | } 51 | 52 | Fallback off 53 | 54 | } 55 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/ShowAlphaChannel.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: da310021e2a4142429d95c537846dc38 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/SimpleClear.shader: -------------------------------------------------------------------------------- 1 | 2 | 3 | Shader "Hidden/SimpleClear" { 4 | Properties { 5 | _MainTex ("Base (RGB)", 2D) = "white" {} 6 | } 7 | 8 | SubShader { 9 | Pass { 10 | ZTest Always Cull Off ZWrite Off 11 | 12 | CGPROGRAM 13 | #pragma vertex vert 14 | #pragma fragment frag 15 | #include "UnityCG.cginc" 16 | 17 | uniform sampler2D _MainTex; 18 | uniform float4 _MainTex_TexelSize; 19 | 20 | struct v2f { 21 | float4 pos : SV_POSITION; 22 | }; 23 | 24 | v2f vert( appdata_img v ) 25 | { 26 | v2f o; 27 | o.pos = mul(UNITY_MATRIX_MVP, v.vertex); 28 | return o; 29 | } 30 | 31 | half4 frag (v2f i) : SV_Target 32 | { 33 | return half4(0,0,0,0); 34 | } 35 | ENDCG 36 | } 37 | } 38 | 39 | Fallback off 40 | 41 | } 42 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/SimpleClear.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f688f89ed5eb847c5b19c934a0f1e772 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/SunShaftsComposite.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d3b1c8c1036784176946f5cfbfb7fe4c 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/Tonemapper.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 003377fc2620a44939dadde6fe3f8190 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/TwirlEffect.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/Twirt Effect Shader" { 2 | Properties { 3 | _MainTex ("Base (RGB)", 2D) = "white" {} 4 | } 5 | 6 | SubShader { 7 | Pass { 8 | ZTest Always Cull Off ZWrite Off 9 | 10 | CGPROGRAM 11 | #pragma vertex vert 12 | #pragma fragment frag 13 | #include "UnityCG.cginc" 14 | 15 | uniform sampler2D _MainTex; 16 | uniform float4 _MainTex_TexelSize; 17 | uniform float4 _CenterRadius; 18 | uniform float4x4 _RotationMatrix; 19 | 20 | struct v2f { 21 | float4 pos : SV_POSITION; 22 | float2 uv : TEXCOORD0; 23 | }; 24 | 25 | v2f vert( appdata_img v ) 26 | { 27 | v2f o; 28 | o.pos = mul (UNITY_MATRIX_MVP, v.vertex); 29 | o.uv = v.texcoord - _CenterRadius.xy; 30 | return o; 31 | } 32 | 33 | float4 frag (v2f i) : SV_Target 34 | { 35 | float2 offset = i.uv; 36 | float2 distortedOffset = MultiplyUV (_RotationMatrix, offset.xy); 37 | float2 tmp = offset / _CenterRadius.zw; 38 | float t = min (1, length(tmp)); 39 | 40 | offset = lerp (distortedOffset, offset, t); 41 | offset += _CenterRadius.xy; 42 | 43 | return tex2D(_MainTex, offset); 44 | } 45 | ENDCG 46 | 47 | } 48 | } 49 | 50 | Fallback off 51 | 52 | } 53 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/TwirlEffect.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 641b781cad112c75d0008dfa8d76c639 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/VignettingShader.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/Vignetting" { 2 | Properties { 3 | _MainTex ("Base", 2D) = "white" {} 4 | _VignetteTex ("Vignette", 2D) = "white" {} 5 | } 6 | 7 | CGINCLUDE 8 | 9 | #include "UnityCG.cginc" 10 | 11 | struct v2f { 12 | float4 pos : SV_POSITION; 13 | float2 uv : TEXCOORD0; 14 | float2 uv2 : TEXCOORD1; 15 | }; 16 | 17 | sampler2D _MainTex; 18 | sampler2D _VignetteTex; 19 | 20 | half _Intensity; 21 | half _Blur; 22 | 23 | float4 _MainTex_TexelSize; 24 | 25 | v2f vert( appdata_img v ) { 26 | v2f o; 27 | o.pos = mul(UNITY_MATRIX_MVP, v.vertex); 28 | o.uv = v.texcoord.xy; 29 | o.uv2 = v.texcoord.xy; 30 | 31 | #if UNITY_UV_STARTS_AT_TOP 32 | if (_MainTex_TexelSize.y < 0) 33 | o.uv2.y = 1.0 - o.uv2.y; 34 | #endif 35 | 36 | return o; 37 | } 38 | 39 | half4 frag(v2f i) : SV_Target { 40 | half2 coords = i.uv; 41 | half2 uv = i.uv; 42 | 43 | coords = (coords - 0.5) * 2.0; 44 | half coordDot = dot (coords,coords); 45 | half4 color = tex2D (_MainTex, uv); 46 | 47 | float mask = 1.0 - coordDot * _Intensity; 48 | 49 | half4 colorBlur = tex2D (_VignetteTex, i.uv2); 50 | color = lerp (color, colorBlur, saturate (_Blur * coordDot)); 51 | 52 | return color * mask; 53 | } 54 | 55 | ENDCG 56 | 57 | Subshader { 58 | Pass { 59 | ZTest Always Cull Off ZWrite Off 60 | 61 | CGPROGRAM 62 | #pragma vertex vert 63 | #pragma fragment frag 64 | ENDCG 65 | } 66 | } 67 | 68 | Fallback off 69 | } 70 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/VignettingShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 627943dc7a9a74286b70a4f694a0acd5 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/VortexEffect.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/Twist Effect" { 2 | Properties { 3 | _MainTex ("Base (RGB)", 2D) = "white" {} 4 | } 5 | 6 | SubShader 7 | { 8 | Pass 9 | { 10 | ZTest Always Cull Off ZWrite Off 11 | 12 | CGPROGRAM 13 | #pragma vertex vert 14 | #pragma fragment frag 15 | 16 | #include "UnityCG.cginc" 17 | 18 | uniform sampler2D _MainTex; 19 | 20 | uniform float4 _MainTex_ST; 21 | 22 | uniform float4 _MainTex_TexelSize; 23 | uniform float _Angle; 24 | uniform float4 _CenterRadius; 25 | 26 | struct v2f { 27 | float4 pos : SV_POSITION; 28 | float2 uv : TEXCOORD0; 29 | float2 uvOrig : TEXCOORD1; 30 | }; 31 | 32 | v2f vert (appdata_img v) 33 | { 34 | v2f o; 35 | o.pos = mul(UNITY_MATRIX_MVP, v.vertex); 36 | float2 uv = v.texcoord.xy - _CenterRadius.xy; 37 | o.uv = TRANSFORM_TEX(uv, _MainTex); //MultiplyUV (UNITY_MATRIX_TEXTURE0, uv); 38 | o.uvOrig = uv; 39 | return o; 40 | } 41 | 42 | float4 frag (v2f i) : SV_Target 43 | { 44 | float2 offset = i.uvOrig; 45 | float angle = 1.0 - length(offset / _CenterRadius.zw); 46 | angle = max (0, angle); 47 | angle = angle * angle * _Angle; 48 | float cosLength, sinLength; 49 | sincos (angle, sinLength, cosLength); 50 | 51 | float2 uv; 52 | uv.x = cosLength * offset[0] - sinLength * offset[1]; 53 | uv.y = sinLength * offset[0] + cosLength * offset[1]; 54 | uv += _CenterRadius.xy; 55 | 56 | return tex2D(_MainTex, uv); 57 | } 58 | ENDCG 59 | 60 | } 61 | } 62 | 63 | Fallback off 64 | 65 | } 66 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/VortexEffect.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 708b781cad112c75d0008dfa8d76c639 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_Antialiasing.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6d55b5e91b95c41739cdf4f804dd383d 3 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_Antialiasing/DLAA.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 017ca72b9e8a749058d13ebd527e98fa 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_Antialiasing/FXAA2.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd5b323dcc592457790ff18b528f5e67 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_Antialiasing/FXAA3Console.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c547503fff0e8482ea5793727057041c 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_Antialiasing/FXAAPreset2.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f1418cffd12146f2a83be795f6fa5a7 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_Antialiasing/FXAAPreset3.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c182fa94a5a0a4c02870641efcd38cd5 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_Antialiasing/NFAA.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce0cb2621f6d84e21a87414e471a3cce 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_Antialiasing/SSAA.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b3728d1488b02490cbd196c7941bf1f8 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6ef58fc6f637406bbe6814a19c377f8 3 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares/Blend.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 53b3960ee3d3d4a5caa8d5473d120187 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares/BlendForBloom.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7856cbff0a0ca45c787d5431eb805bb0 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares/BlendOneOne.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/BlendOneOne" { 2 | Properties { 3 | _MainTex ("-", 2D) = "" {} 4 | } 5 | 6 | CGINCLUDE 7 | 8 | #include "UnityCG.cginc" 9 | 10 | struct v2f { 11 | float4 pos : SV_POSITION; 12 | float2 uv : TEXCOORD0; 13 | }; 14 | 15 | sampler2D _MainTex; 16 | half _Intensity; 17 | 18 | v2f vert( appdata_img v ) { 19 | v2f o; 20 | o.pos = mul(UNITY_MATRIX_MVP, v.vertex); 21 | o.uv = v.texcoord.xy; 22 | return o; 23 | } 24 | 25 | half4 frag(v2f i) : SV_Target { 26 | return tex2D(_MainTex, i.uv) * _Intensity; 27 | } 28 | 29 | ENDCG 30 | 31 | Subshader { 32 | 33 | Pass { 34 | BlendOp Add 35 | Blend One One 36 | 37 | ZTest Always Cull Off ZWrite Off 38 | 39 | CGPROGRAM 40 | #pragma vertex vert 41 | #pragma fragment frag 42 | ENDCG 43 | } 44 | } 45 | 46 | Fallback off 47 | 48 | } 49 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares/BlendOneOne.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7898d203e9b94c0dbe2bf9dd5cb32c0 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares/BlurAndFlares.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be6e39cf196f146d5be72fbefb18ed75 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares/BrightPassFilter.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/BrightPassFilterForBloom" 2 | { 3 | Properties 4 | { 5 | _MainTex ("Base (RGB)", 2D) = "" {} 6 | } 7 | 8 | CGINCLUDE 9 | 10 | #include "UnityCG.cginc" 11 | 12 | struct v2f 13 | { 14 | float4 pos : SV_POSITION; 15 | float2 uv : TEXCOORD0; 16 | }; 17 | 18 | sampler2D _MainTex; 19 | 20 | half4 threshold; 21 | half useSrcAlphaAsMask; 22 | 23 | v2f vert( appdata_img v ) 24 | { 25 | v2f o; 26 | o.pos = mul(UNITY_MATRIX_MVP, v.vertex); 27 | o.uv = v.texcoord.xy; 28 | return o; 29 | } 30 | 31 | half4 frag(v2f i) : SV_Target 32 | { 33 | half4 color = tex2D(_MainTex, i.uv); 34 | //color = color * saturate((color-threshhold.x) * 75.0); // didn't go well with HDR and din't make sense 35 | color = color * lerp(1.0, color.a, useSrcAlphaAsMask); 36 | color = max(half4(0,0,0,0), color-threshold.x); 37 | return color; 38 | } 39 | 40 | ENDCG 41 | 42 | Subshader 43 | { 44 | Pass 45 | { 46 | ZTest Always Cull Off ZWrite Off 47 | 48 | CGPROGRAM 49 | 50 | #pragma vertex vert 51 | #pragma fragment frag 52 | 53 | ENDCG 54 | } 55 | } 56 | Fallback off 57 | } 58 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares/BrightPassFilter.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 186c4c0d31e314f049595dcbaf4ca129 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares/BrightPassFilter2.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/BrightPassFilter2" 2 | { 3 | Properties 4 | { 5 | _MainTex ("Base (RGB)", 2D) = "" {} 6 | } 7 | 8 | CGINCLUDE 9 | 10 | #include "UnityCG.cginc" 11 | 12 | struct v2f 13 | { 14 | float4 pos : SV_POSITION; 15 | float2 uv : TEXCOORD0; 16 | }; 17 | 18 | sampler2D _MainTex; 19 | 20 | half4 _Threshhold; 21 | 22 | v2f vert( appdata_img v ) 23 | { 24 | v2f o; 25 | o.pos = mul(UNITY_MATRIX_MVP, v.vertex); 26 | o.uv = v.texcoord.xy; 27 | return o; 28 | } 29 | 30 | half4 fragScalarThresh(v2f i) : SV_Target 31 | { 32 | half4 color = tex2D(_MainTex, i.uv); 33 | color.rgb = color.rgb; 34 | color.rgb = max(half3(0,0,0), color.rgb-_Threshhold.xxx); 35 | return color; 36 | } 37 | 38 | half4 fragColorThresh(v2f i) : SV_Target 39 | { 40 | half4 color = tex2D(_MainTex, i.uv); 41 | color.rgb = max(half3(0,0,0), color.rgb-_Threshhold.rgb); 42 | return color; 43 | } 44 | 45 | ENDCG 46 | 47 | Subshader 48 | { 49 | Pass 50 | { 51 | ZTest Always Cull Off ZWrite Off 52 | 53 | CGPROGRAM 54 | 55 | #pragma vertex vert 56 | #pragma fragment fragScalarThresh 57 | 58 | ENDCG 59 | } 60 | 61 | Pass 62 | { 63 | ZTest Always Cull Off ZWrite Off 64 | 65 | CGPROGRAM 66 | 67 | #pragma vertex vert 68 | #pragma fragment fragColorThresh 69 | 70 | ENDCG 71 | } 72 | } 73 | Fallback off 74 | } 75 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares/BrightPassFilter2.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0aeaa4cb29f5d4e9c8455f04c8575c8c 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares/LensFlareCreate.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/LensFlareCreate" { 2 | Properties { 3 | _MainTex ("Base (RGB)", 2D) = "" {} 4 | } 5 | 6 | CGINCLUDE 7 | 8 | #include "UnityCG.cginc" 9 | 10 | struct v2f { 11 | float4 pos : SV_POSITION; 12 | float2 uv[4] : TEXCOORD0; 13 | }; 14 | 15 | fixed4 colorA; 16 | fixed4 colorB; 17 | fixed4 colorC; 18 | fixed4 colorD; 19 | 20 | sampler2D _MainTex; 21 | 22 | v2f vert( appdata_img v ) { 23 | v2f o; 24 | o.pos = mul(UNITY_MATRIX_MVP, v.vertex); 25 | 26 | o.uv[0] = ( ( v.texcoord.xy - 0.5 ) * -0.85 ) + 0.5; 27 | o.uv[1] = ( ( v.texcoord.xy - 0.5 ) * -1.45 ) + 0.5; 28 | o.uv[2] = ( ( v.texcoord.xy - 0.5 ) * -2.55 ) + 0.5; 29 | o.uv[3] = ( ( v.texcoord.xy - 0.5 ) * -4.15 ) + 0.5; 30 | return o; 31 | } 32 | 33 | fixed4 frag(v2f i) : SV_Target { 34 | fixed4 color = float4 (0,0,0,0); 35 | color += tex2D(_MainTex, i.uv[0] ) * colorA; 36 | color += tex2D(_MainTex, i.uv[1] ) * colorB; 37 | color += tex2D(_MainTex, i.uv[2] ) * colorC; 38 | color += tex2D(_MainTex, i.uv[3] ) * colorD; 39 | return color; 40 | } 41 | 42 | ENDCG 43 | 44 | Subshader { 45 | Blend One One 46 | Pass { 47 | ZTest Always Cull Off ZWrite Off 48 | 49 | CGPROGRAM 50 | 51 | #pragma vertex vert 52 | #pragma fragment frag 53 | 54 | ENDCG 55 | } 56 | } 57 | 58 | Fallback off 59 | 60 | } // shader 61 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares/LensFlareCreate.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 459fe69d2f6d74ddb92f04dbf45a866b 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares/MobileBloom.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68a00c837b82e4c6d92e7da765dc5f1d 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares/MobileBlur.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f9d5fa183cd6b45eeb1491f74863cd91 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares/MultiPassHollywoodFlares.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e2baf3cae8edc4daf94c9adc2154be00 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares/SeparableBlurPlus.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a9df009a214e24a5ebbf271595f8d5b6 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares/VignetteShader.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/VignetteShader" { 2 | Properties { 3 | _MainTex ("Base (RGB)", 2D) = "" {} 4 | } 5 | 6 | CGINCLUDE 7 | 8 | #include "UnityCG.cginc" 9 | 10 | struct v2f { 11 | float4 pos : SV_POSITION; 12 | float2 uv : TEXCOORD0; 13 | }; 14 | 15 | sampler2D _MainTex; 16 | 17 | float4 _MainTex_TexelSize; 18 | float vignetteIntensity; 19 | 20 | v2f vert( appdata_img v ) { 21 | v2f o; 22 | o.pos = mul(UNITY_MATRIX_MVP, v.vertex); 23 | 24 | o.uv = v.texcoord.xy; 25 | return o; 26 | } 27 | 28 | half4 frag(v2f i) : SV_Target { 29 | half2 coords = i.uv; 30 | half2 uv = i.uv; 31 | 32 | coords = (coords - 0.5) * 2.0; 33 | half coordDot = dot (coords,coords); 34 | half4 color = tex2D (_MainTex, uv); 35 | 36 | float mask = 1.0 - coordDot * vignetteIntensity; 37 | return color * mask; 38 | } 39 | 40 | ENDCG 41 | 42 | Subshader { 43 | Pass { 44 | ZTest Always Cull Off ZWrite Off 45 | 46 | CGPROGRAM 47 | 48 | #pragma vertex vert 49 | #pragma fragment frag 50 | 51 | ENDCG 52 | } 53 | } 54 | 55 | Fallback off 56 | 57 | } // shader 58 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_BloomAndFlares/VignetteShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 562f620336e024ac99992ff05725a89a 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_DepthOfField.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d9cccf980fcb7441d85b8b3b5c2d2c34 3 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_DepthOfField/Bokeh34.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57cdacf9b217546aaa18edf39a6151c0 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_DepthOfField/DepthOfField34.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 987fb0677d01f43ce8a9dbf12271e668 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_DepthOfField/DepthOfFieldDX11.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8e82664aa8686642a424c88ab10164a 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_DepthOfField/DepthOfFieldScatter.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: acd613035ff3e455e8abf23fdc8c8c24 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_DepthOfField/SeparableBlur.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/SeparableBlur" { 2 | Properties { 3 | _MainTex ("Base (RGB)", 2D) = "" {} 4 | } 5 | 6 | CGINCLUDE 7 | 8 | #include "UnityCG.cginc" 9 | 10 | struct v2f { 11 | float4 pos : SV_POSITION; 12 | float2 uv : TEXCOORD0; 13 | 14 | float4 uv01 : TEXCOORD1; 15 | float4 uv23 : TEXCOORD2; 16 | float4 uv45 : TEXCOORD3; 17 | }; 18 | 19 | float4 offsets; 20 | 21 | sampler2D _MainTex; 22 | 23 | v2f vert (appdata_img v) { 24 | v2f o; 25 | o.pos = mul(UNITY_MATRIX_MVP, v.vertex); 26 | 27 | o.uv.xy = v.texcoord.xy; 28 | 29 | o.uv01 = v.texcoord.xyxy + offsets.xyxy * float4(1,1, -1,-1); 30 | o.uv23 = v.texcoord.xyxy + offsets.xyxy * float4(1,1, -1,-1) * 2.0; 31 | o.uv45 = v.texcoord.xyxy + offsets.xyxy * float4(1,1, -1,-1) * 3.0; 32 | 33 | return o; 34 | } 35 | 36 | half4 frag (v2f i) : SV_Target { 37 | half4 color = float4 (0,0,0,0); 38 | 39 | color += 0.40 * tex2D (_MainTex, i.uv); 40 | color += 0.15 * tex2D (_MainTex, i.uv01.xy); 41 | color += 0.15 * tex2D (_MainTex, i.uv01.zw); 42 | color += 0.10 * tex2D (_MainTex, i.uv23.xy); 43 | color += 0.10 * tex2D (_MainTex, i.uv23.zw); 44 | color += 0.05 * tex2D (_MainTex, i.uv45.xy); 45 | color += 0.05 * tex2D (_MainTex, i.uv45.zw); 46 | 47 | return color; 48 | } 49 | 50 | ENDCG 51 | 52 | Subshader { 53 | Pass { 54 | ZTest Always Cull Off ZWrite Off 55 | 56 | CGPROGRAM 57 | #pragma vertex vert 58 | #pragma fragment frag 59 | ENDCG 60 | } 61 | } 62 | 63 | Fallback off 64 | 65 | 66 | } // shader 67 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_DepthOfField/SeparableBlur.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e97c14fbb5ea04c3a902cc533d7fc5d1 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_DepthOfField/SeparableWeightedBlurDof34.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bb4af680337344a4abad65a4e8873c50 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/_DepthOfField/TiltShiftHdrLensBlur.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf34d2a25450349699e8ae6456fa7ca9 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Shaders/frag_ao.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 51ae11a5cd82fda468a85179946d672a 3 | ShaderImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f9372f23586ef470b97d53856af88487 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/ContrastEnhanced3D16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/ContrastEnhanced3D16.png -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/ContrastEnhanced3D16.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ecd9a2c463dcb476891e43d7c9f16ffa 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 0 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 1 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -3 24 | maxTextureSize: 2048 25 | textureSettings: 26 | filterMode: -1 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: -1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: 5 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/HexShape.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/HexShape.psd -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/HexShape.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4cdca73d61814d33ac1587f6c163bca 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -1 24 | maxTextureSize: 64 25 | textureSettings: 26 | filterMode: -1 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: 1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: -1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/MotionBlurJitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/MotionBlurJitter.png -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/MotionBlurJitter.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 31f5a8611c4ed1245b18456206e798dc 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 0 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 2 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: 3 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: 1 27 | aniso: 1 28 | mipBias: -1 29 | wrapMode: 0 30 | nPOTScale: 0 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: -1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/Neutral3D16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/Neutral3D16.png -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/Neutral3D16.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4b474cd484494a4aaa4bbf928219d09 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 0 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 1 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -3 24 | maxTextureSize: 2048 25 | textureSettings: 26 | filterMode: -1 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: -1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: 5 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/Noise.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/Noise.png -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/Noise.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e80c3c84ea861404d8a427db8b7abf04 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 0 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 2 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: 3 24 | maxTextureSize: 64 25 | textureSettings: 26 | filterMode: 2 27 | aniso: 1 28 | mipBias: -1 29 | wrapMode: 0 30 | nPOTScale: 0 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: -1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/NoiseAndGrain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/NoiseAndGrain.png -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/NoiseAndGrain.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7a632f967e8ad42f5bd275898151ab6a 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 0 8 | linearTexture: 1 9 | correctGamma: 1 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 1 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -1 24 | maxTextureSize: 64 25 | textureSettings: 26 | filterMode: -1 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: -1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: 5 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/NoiseEffectGrain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/NoiseEffectGrain.png -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/NoiseEffectGrain.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ffa9c02760c2b4e8eb9814ec06c4b05b 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 2 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: 3 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: 1 27 | aniso: 1 28 | mipBias: 0 29 | wrapMode: 0 30 | nPOTScale: 0 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: -1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/NoiseEffectScratch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/NoiseEffectScratch.png -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/NoiseEffectScratch.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6205c27cc031f4e66b8ea90d1bfaa158 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 2 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -1 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: 1 27 | aniso: 1 28 | mipBias: 0 29 | wrapMode: 0 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: 0 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/RandomVectors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/RandomVectors.png -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/RandomVectors.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a181ca8e3c62f3e4b8f183f6c586b032 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 0 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 2 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: 3 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: 0 27 | aniso: 1 28 | mipBias: -1 29 | wrapMode: 0 30 | nPOTScale: 0 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: -1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/SphereShape.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/SphereShape.psd -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/SphereShape.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fc00ec05a89da4ff695a4273715cd5ce 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -1 24 | maxTextureSize: 64 25 | textureSettings: 26 | filterMode: -1 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: 1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: -1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/VignetteMask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/VignetteMask.png -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/VignetteMask.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 95ef4804fe0be4c999ddaa383536cde8 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -1 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: 1 27 | aniso: 1 28 | mipBias: 0 29 | wrapMode: 1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: -1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/color correction ramp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/color correction ramp.png -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/color correction ramp.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d440902fad11e807d00044888d76c639 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 0 8 | linearTexture: 1 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 2 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -3 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: 0 27 | aniso: 1 28 | mipBias: 0 29 | wrapMode: 1 30 | nPOTScale: 0 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: -1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/grayscale ramp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/grayscale ramp.png -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ImageEffects/Textures/grayscale ramp.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e9a9781cad112c75d0008dfa8d76c639 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 2 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: 3 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: 1 27 | aniso: 1 28 | mipBias: 0 29 | wrapMode: 1 30 | nPOTScale: 0 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: -1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightCookies.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 794a3489a6afd4daf80d98a5844341b9 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightCookies/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1ec4045399060440949afafba4d144f 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightCookies/Textures/FlashlightCookie.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/LightCookies/Textures/FlashlightCookie.tif -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightCookies/Textures/FlashlightIrregularCookie.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/LightCookies/Textures/FlashlightIrregularCookie.tif -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightCookies/Textures/LightHardCookie.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/LightCookies/Textures/LightHardCookie.psd -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightCookies/Textures/LightSoftCookie.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/LightCookies/Textures/LightSoftCookie.tif -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightCookies/Textures/LightSquareCookie.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/LightCookies/Textures/LightSquareCookie.psd -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightCookies/Textures/LightSquareCookie.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 69680b688d11eb9d30009b3b4241aa39 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 1 13 | mipMapFadeDistanceStart: 2 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .100000001 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 1 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 512 29 | textureSettings: 30 | filterMode: 1 31 | aniso: 1 32 | mipBias: 0 33 | wrapMode: 1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 5 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightFlares.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8cfa4746d26d4715b9f848bce1e2f14 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightFlares/Flares.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e1763a5e42541841949e15a67b54589 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightFlares/Flares/50mmZoom.flare.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 54fbbf098d116effa00081aba8ad6659 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightFlares/Flares/FlareSmall.flare: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!121 &12100000 4 | Flare: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: FlareSmall 9 | m_FlareTexture: {fileID: 2800000, guid: 51dc82ef9d11c594d000e7c9e39e7c39, type: 3} 10 | m_TextureLayout: 0 11 | m_Elements: 12 | - m_ImageIndex: 0 13 | m_Position: 0 14 | m_Size: 10 15 | m_Color: {r: 1, g: 1, b: 1, a: 0} 16 | m_UseLightColor: 1 17 | m_Rotate: 0 18 | m_Zoom: 0 19 | m_Fade: 1 20 | - m_ImageIndex: 2 21 | m_Position: 0 22 | m_Size: 40 23 | m_Color: {r: .248752579, g: .248752579, b: .248752579, a: 0} 24 | m_UseLightColor: 1 25 | m_Rotate: 0 26 | m_Zoom: 0 27 | m_Fade: 1 28 | m_UseFog: 1 29 | --- !u!1002 &12100001 30 | EditorExtensionImpl: 31 | serializedVersion: 6 32 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightFlares/Flares/FlareSmall.flare.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9bdb18c49d114cb4300035184241aa39 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightFlares/Flares/Sun.flare: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!121 &12100000 4 | Flare: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: Sun 9 | m_FlareTexture: {fileID: 2800000, guid: 23a02ac18d11c9ffa0009c58a8ad6659, type: 3} 10 | m_TextureLayout: 1 11 | m_Elements: 12 | - m_ImageIndex: 9 13 | m_Position: 0 14 | m_Size: 50 15 | m_Color: {r: 1, g: 1, b: 1, a: 1} 16 | m_UseLightColor: 1 17 | m_Rotate: 0 18 | m_Zoom: 1 19 | m_Fade: 1 20 | - m_ImageIndex: 0 21 | m_Position: 0 22 | m_Size: 50 23 | m_Color: {r: .0941176489, g: .0941176489, b: .0941176489, a: 1} 24 | m_UseLightColor: 1 25 | m_Rotate: 1 26 | m_Zoom: 1 27 | m_Fade: 1 28 | - m_ImageIndex: 5 29 | m_Position: 0 30 | m_Size: 20 31 | m_Color: {r: .0313725509, g: .0196078438, b: .0196078438, a: 1} 32 | m_UseLightColor: 1 33 | m_Rotate: 0 34 | m_Zoom: 0 35 | m_Fade: 1 36 | - m_ImageIndex: 3 37 | m_Position: 0 38 | m_Size: 10.2500019 39 | m_Color: {r: .447058827, g: 0, b: .00784313772, a: 1} 40 | m_UseLightColor: 1 41 | m_Rotate: 0 42 | m_Zoom: 0 43 | m_Fade: 1 44 | m_UseFog: 1 45 | --- !u!1002 &12100001 46 | EditorExtensionImpl: 47 | serializedVersion: 6 48 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightFlares/Flares/Sun.flare.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 09ebe82dbd1113c3d000dc0b8d76c639 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightFlares/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4ca8e16c3e0ab45e69aef7738ef77d3a 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightFlares/Materials/Flare50mm.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 3 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: Flare50mm 10 | m_Shader: {fileID: 101, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: [] 12 | m_CustomRenderQueue: -1 13 | m_SavedProperties: 14 | serializedVersion: 2 15 | m_TexEnvs: 16 | data: 17 | first: 18 | name: _MainTex 19 | second: 20 | m_Texture: {fileID: 2800000, guid: 23a02ac18d11c9ffa0009c58a8ad6659, type: 3} 21 | m_Scale: {x: 1, y: 1} 22 | m_Offset: {x: 0, y: 0} 23 | m_Floats: {} 24 | m_Colors: {} 25 | --- !u!1002 &2100001 26 | EditorExtensionImpl: 27 | serializedVersion: 6 28 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightFlares/Materials/Flare50mm.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6dbb96b9d112024d000e929e39e7c39 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightFlares/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a0517c8f07c047f2965315b8dac81aa 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightFlares/Textures/Flare50mm.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/LightFlares/Textures/Flare50mm.psd -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightFlares/Textures/Flare50mm.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 23a02ac18d11c9ffa0009c58a8ad6659 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 2 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .100000001 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 512 29 | textureSettings: 30 | filterMode: 1 31 | aniso: 1 32 | mipBias: 0 33 | wrapMode: 0 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 0 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightFlares/Textures/FlareStar.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/LightFlares/Textures/FlareStar.psd -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/LightFlares/Textures/FlareStar.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 51dc82ef9d11c594d000e7c9e39e7c39 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 2 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .100000001 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 256 29 | textureSettings: 30 | filterMode: 1 31 | aniso: 1 32 | mipBias: 0 33 | wrapMode: 0 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 0 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab90c5d984b4d4e9e935ae8760fd47ef 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Guidelines.txt: -------------------------------------------------------------------------------- 1 | To use the Projector/Light and Projector/Shadow shaders properly: 2 | 3 | Cookie texture: 4 | 1. Make sure texture wrap mode is set to "Clamp" 5 | 2. Turn on "Border Mipmaps" option in import settings 6 | 3. Use uncompressed texture format 7 | 4. Projector/Shadow also requires alpha channel to be present (typically Alpha from Grayscale option is ok) 8 | 9 | Falloff texture (if present): 10 | 1. Data needs to be in alpha channel, so typically Alpha8 texture format 11 | 2. Make sure texture wrap mode is set to "Clamp" 12 | 3. Make sure leftmost pixel column is black; and "Border mipmaps" import setting is on. 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Guidelines.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b238cc13e9896f04eb5e06978d2b393e 3 | TextScriptImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92722830d4a3f49e5bf7e68441337edb 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Materials/GridProjector.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c7d1a73cf0f423947bae4e238665d9c5 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Materials/LightProjector.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c8c80c5b03f5c7e40b07eb2170e667e5 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Materials/ShadowProjector.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e30ff3588e719f34bbf0c66f22d97487 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6b64336cd6795c4daf856f275c23f7c 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Prefabs/BlobLightProjector.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 21543d2b66928224f8a9536ff3811682 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Prefabs/BlobShadowProjector.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28a5e79925e3ce04a82856c16a572cbe 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Prefabs/GridProjector.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 46b12845355544642bf8f9d0cb373af7 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d64cf85603324c6d89204084bbb3438 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Shaders/ProjectorLight.shader: -------------------------------------------------------------------------------- 1 | Shader "Projector/Light" { 2 | Properties { 3 | _Color ("Main Color", Color) = (1,1,1,1) 4 | _ShadowTex ("Cookie", 2D) = "" {} 5 | _FalloffTex ("FallOff", 2D) = "" {} 6 | } 7 | 8 | Subshader { 9 | Tags {"Queue"="Transparent"} 10 | Pass { 11 | ZWrite Off 12 | ColorMask RGB 13 | Blend DstColor One 14 | Offset -1, -1 15 | 16 | CGPROGRAM 17 | #pragma vertex vert 18 | #pragma fragment frag 19 | #pragma multi_compile_fog 20 | #include "UnityCG.cginc" 21 | 22 | struct v2f { 23 | float4 uvShadow : TEXCOORD0; 24 | float4 uvFalloff : TEXCOORD1; 25 | UNITY_FOG_COORDS(2) 26 | float4 pos : SV_POSITION; 27 | }; 28 | 29 | float4x4 _Projector; 30 | float4x4 _ProjectorClip; 31 | 32 | v2f vert (float4 vertex : POSITION) 33 | { 34 | v2f o; 35 | o.pos = mul (UNITY_MATRIX_MVP, vertex); 36 | o.uvShadow = mul (_Projector, vertex); 37 | o.uvFalloff = mul (_ProjectorClip, vertex); 38 | UNITY_TRANSFER_FOG(o,o.pos); 39 | return o; 40 | } 41 | 42 | fixed4 _Color; 43 | sampler2D _ShadowTex; 44 | sampler2D _FalloffTex; 45 | 46 | fixed4 frag (v2f i) : SV_Target 47 | { 48 | fixed4 texS = tex2Dproj (_ShadowTex, UNITY_PROJ_COORD(i.uvShadow)); 49 | texS.rgb *= _Color.rgb; 50 | texS.a = 1.0-texS.a; 51 | 52 | fixed4 texF = tex2Dproj (_FalloffTex, UNITY_PROJ_COORD(i.uvFalloff)); 53 | fixed4 res = texS * texF.a; 54 | 55 | UNITY_APPLY_FOG_COLOR(i.fogCoord, res, fixed4(0,0,0,0)); 56 | return res; 57 | } 58 | ENDCG 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Shaders/ProjectorLight.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c0ace1ca4bc0718448acf798c93d52d9 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Shaders/ProjectorMultiply.shader: -------------------------------------------------------------------------------- 1 | Shader "Projector/Multiply" { 2 | Properties { 3 | _ShadowTex ("Cookie", 2D) = "gray" {} 4 | _FalloffTex ("FallOff", 2D) = "white" {} 5 | } 6 | Subshader { 7 | Tags {"Queue"="Transparent"} 8 | Pass { 9 | ZWrite Off 10 | ColorMask RGB 11 | Blend DstColor Zero 12 | Offset -1, -1 13 | 14 | CGPROGRAM 15 | #pragma vertex vert 16 | #pragma fragment frag 17 | #pragma multi_compile_fog 18 | #include "UnityCG.cginc" 19 | 20 | struct v2f { 21 | float4 uvShadow : TEXCOORD0; 22 | float4 uvFalloff : TEXCOORD1; 23 | UNITY_FOG_COORDS(2) 24 | float4 pos : SV_POSITION; 25 | }; 26 | 27 | float4x4 _Projector; 28 | float4x4 _ProjectorClip; 29 | 30 | v2f vert (float4 vertex : POSITION) 31 | { 32 | v2f o; 33 | o.pos = mul (UNITY_MATRIX_MVP, vertex); 34 | o.uvShadow = mul (_Projector, vertex); 35 | o.uvFalloff = mul (_ProjectorClip, vertex); 36 | UNITY_TRANSFER_FOG(o,o.pos); 37 | return o; 38 | } 39 | 40 | sampler2D _ShadowTex; 41 | sampler2D _FalloffTex; 42 | 43 | fixed4 frag (v2f i) : SV_Target 44 | { 45 | fixed4 texS = tex2Dproj (_ShadowTex, UNITY_PROJ_COORD(i.uvShadow)); 46 | texS.a = 1.0-texS.a; 47 | 48 | fixed4 texF = tex2Dproj (_FalloffTex, UNITY_PROJ_COORD(i.uvFalloff)); 49 | fixed4 res = lerp(fixed4(1,1,1,0), texS, texF.a); 50 | 51 | UNITY_APPLY_FOG_COLOR(i.fogCoord, res, fixed4(1,1,1,1)); 52 | return res; 53 | } 54 | ENDCG 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Shaders/ProjectorMultiply.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 01a668cc78047034a8a0c5ca2d24c6f7 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 24f8b7f726c7047cb906be889dbf5ac1 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Textures/Falloff.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Textures/Falloff.psd -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Textures/Falloff.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 23740055e2b119e40a939138ab8070f8 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 1 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 1 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: 1 28 | maxTextureSize: 256 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: 1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 5 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Textures/Grid.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Textures/Grid.psd -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Textures/Grid.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 529239097d02f9f42b0ddd436c6fcbb0 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 256 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: 0 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 5 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Textures/Light.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Textures/Light.psd -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Textures/Light.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b1d7fee26e54cc3498f6267f072a45b9 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 1 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -3 28 | maxTextureSize: 64 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: 1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 5 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Textures/Shadow.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Textures/Shadow.psd -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/Projectors/Textures/Shadow.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68386fc9897223346a683105b4dc1662 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 1 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 1 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -3 28 | maxTextureSize: 64 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: 1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 5 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7b4d46ae2ac0ff449c02180209eea5d 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6deddaccf56ed5f47806946aed94d2c9 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Materials/TesselatedBumpSpecular.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 3 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: TesselatedBumpSpecular 10 | m_Shader: {fileID: 4, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: [] 12 | m_CustomRenderQueue: -1 13 | m_SavedProperties: 14 | serializedVersion: 2 15 | m_TexEnvs: 16 | data: 17 | first: 18 | name: _MainTex 19 | second: 20 | m_Texture: {fileID: 0} 21 | m_Scale: {x: 1, y: 1} 22 | m_Offset: {x: 0, y: 0} 23 | data: 24 | first: 25 | name: _BumpMap 26 | second: 27 | m_Texture: {fileID: 2800000, guid: e08c295755c0885479ad19f518286ff2, type: 3} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | m_Floats: 31 | data: 32 | first: 33 | name: _Shininess 34 | second: .335313648 35 | data: 36 | first: 37 | name: _EdgeLength 38 | second: 10 39 | data: 40 | first: 41 | name: _Smoothness 42 | second: .5 43 | m_Colors: 44 | data: 45 | first: 46 | name: _Color 47 | second: {r: .50746268, g: .50746268, b: .50746268, a: 1} 48 | data: 49 | first: 50 | name: _SpecColor 51 | second: {r: .5, g: .5, b: .5, a: 1} 52 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Materials/TesselatedBumpSpecular.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3384ef3e2313034f9016ad8a1f3999f 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Materials/TesselatedBumpSpecularDisplacement.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 26d8bdbc8646bde48b05fbaacaaa6577 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Materials/TesselatedBumpSpecularSmooth.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 3 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: TesselatedBumpSpecularSmooth 10 | m_Shader: {fileID: 4800000, guid: 3954501323f24464f9e4418c78d8e8ce, type: 3} 11 | m_ShaderKeywords: [] 12 | m_CustomRenderQueue: -1 13 | m_SavedProperties: 14 | serializedVersion: 2 15 | m_TexEnvs: 16 | data: 17 | first: 18 | name: _MainTex 19 | second: 20 | m_Texture: {fileID: 0} 21 | m_Scale: {x: 1, y: 1} 22 | m_Offset: {x: 0, y: 0} 23 | data: 24 | first: 25 | name: _BumpMap 26 | second: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | m_Floats: 31 | data: 32 | first: 33 | name: _Shininess 34 | second: .319910288 35 | data: 36 | first: 37 | name: _EdgeLength 38 | second: 12.1044779 39 | data: 40 | first: 41 | name: _Smoothness 42 | second: .522388041 43 | m_Colors: 44 | data: 45 | first: 46 | name: _Color 47 | second: {r: .514925361, g: .514925361, b: .514925361, a: 1} 48 | data: 49 | first: 50 | name: _SpecColor 51 | second: {r: .5, g: .5, b: .5, a: 1} 52 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Materials/TesselatedBumpSpecularSmooth.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06893cec523208643a91b7a393737700 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c309011180e934488a03e0a88190d11 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Models/LowPolySphere.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Models/LowPolySphere.fbx -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1553d77f542284c478caca3b413d7c6a 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Scenes/TessellationSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 31f6763de0920574092c8a69a66c717e 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4624d7d4686ce7a498e4c4092550416f 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Shaders/BumpedSpecularDisplacement.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a4b0bce1e250a14bb534d70bce205fa 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Shaders/BumpedSpecularSmooth.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3954501323f24464f9e4418c78d8e8ce 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08cf2fc601fa9a2408b6a1efae3f2a01 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Textures/CliffHeight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Textures/CliffHeight.png -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Textures/CliffNormals.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Textures/CliffNormals.png -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/TessellationShaders/Textures/CliffNormals.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e08c295755c0885479ad19f518286ff2 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 1 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 1 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 1 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | assetBundleVariant: 54 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 488ccf78ce5fbe14db33f20cccd9f386 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 280da6451a1e556438ce789a0d7e1f65 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Materials/ToonBasic.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 84b9e1d19d11078d11005b9844295342 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Materials/ToonBasicOutline.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 215977489d11178d11005b9844295342 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Materials/ToonLit.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c9e6294c9d11cb8d11006bf944295342 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Materials/ToonLitOutline.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5d69df9d9d11e49d110086ba44295342 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: adec466a1f9044ea78471a5ce6f78271 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Shaders/ToonBasic.shader: -------------------------------------------------------------------------------- 1 | Shader "Toon/Basic" { 2 | Properties { 3 | _Color ("Main Color", Color) = (.5,.5,.5,1) 4 | _MainTex ("Base (RGB)", 2D) = "white" {} 5 | _ToonShade ("ToonShader Cubemap(RGB)", CUBE) = "" { } 6 | } 7 | 8 | 9 | SubShader { 10 | Tags { "RenderType"="Opaque" } 11 | Pass { 12 | Name "BASE" 13 | Cull Off 14 | 15 | CGPROGRAM 16 | #pragma vertex vert 17 | #pragma fragment frag 18 | #pragma multi_compile_fog 19 | 20 | #include "UnityCG.cginc" 21 | 22 | sampler2D _MainTex; 23 | samplerCUBE _ToonShade; 24 | float4 _MainTex_ST; 25 | float4 _Color; 26 | 27 | struct appdata { 28 | float4 vertex : POSITION; 29 | float2 texcoord : TEXCOORD0; 30 | float3 normal : NORMAL; 31 | }; 32 | 33 | struct v2f { 34 | float4 pos : SV_POSITION; 35 | float2 texcoord : TEXCOORD0; 36 | float3 cubenormal : TEXCOORD1; 37 | UNITY_FOG_COORDS(2) 38 | }; 39 | 40 | v2f vert (appdata v) 41 | { 42 | v2f o; 43 | o.pos = mul (UNITY_MATRIX_MVP, v.vertex); 44 | o.texcoord = TRANSFORM_TEX(v.texcoord, _MainTex); 45 | o.cubenormal = mul (UNITY_MATRIX_MV, float4(v.normal,0)); 46 | UNITY_TRANSFER_FOG(o,o.pos); 47 | return o; 48 | } 49 | 50 | fixed4 frag (v2f i) : SV_Target 51 | { 52 | fixed4 col = _Color * tex2D(_MainTex, i.texcoord); 53 | fixed4 cube = texCUBE(_ToonShade, i.cubenormal); 54 | fixed4 c = fixed4(2.0f * cube.rgb * col.rgb, col.a); 55 | UNITY_APPLY_FOG(i.fogCoord, c); 56 | return c; 57 | } 58 | ENDCG 59 | } 60 | } 61 | 62 | Fallback "VertexLit" 63 | } 64 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Shaders/ToonBasic.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d84268709d11078d11005b9844295342 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Shaders/ToonBasicOutline.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ce107479d11178d11005b9844295342 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Shaders/ToonLit.shader: -------------------------------------------------------------------------------- 1 | Shader "Toon/Lit" { 2 | Properties { 3 | _Color ("Main Color", Color) = (0.5,0.5,0.5,1) 4 | _MainTex ("Base (RGB)", 2D) = "white" {} 5 | _Ramp ("Toon Ramp (RGB)", 2D) = "gray" {} 6 | } 7 | 8 | SubShader { 9 | Tags { "RenderType"="Opaque" } 10 | LOD 200 11 | 12 | CGPROGRAM 13 | #pragma surface surf ToonRamp 14 | 15 | sampler2D _Ramp; 16 | 17 | // custom lighting function that uses a texture ramp based 18 | // on angle between light direction and normal 19 | #pragma lighting ToonRamp exclude_path:prepass 20 | inline half4 LightingToonRamp (SurfaceOutput s, half3 lightDir, half atten) 21 | { 22 | #ifndef USING_DIRECTIONAL_LIGHT 23 | lightDir = normalize(lightDir); 24 | #endif 25 | 26 | half d = dot (s.Normal, lightDir)*0.5 + 0.5; 27 | half3 ramp = tex2D (_Ramp, float2(d,d)).rgb; 28 | 29 | half4 c; 30 | c.rgb = s.Albedo * _LightColor0.rgb * ramp * (atten * 2); 31 | c.a = 0; 32 | return c; 33 | } 34 | 35 | 36 | sampler2D _MainTex; 37 | float4 _Color; 38 | 39 | struct Input { 40 | float2 uv_MainTex : TEXCOORD0; 41 | }; 42 | 43 | void surf (Input IN, inout SurfaceOutput o) { 44 | half4 c = tex2D(_MainTex, IN.uv_MainTex) * _Color; 45 | o.Albedo = c.rgb; 46 | o.Alpha = c.a; 47 | } 48 | ENDCG 49 | 50 | } 51 | 52 | Fallback "Diffuse" 53 | } 54 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Shaders/ToonLit.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48dca5b99d113b8d11006bab44295342 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Shaders/ToonLitOutline.shader: -------------------------------------------------------------------------------- 1 | Shader "Toon/Lit Outline" { 2 | Properties { 3 | _Color ("Main Color", Color) = (0.5,0.5,0.5,1) 4 | _OutlineColor ("Outline Color", Color) = (0,0,0,1) 5 | _Outline ("Outline width", Range (.002, 0.03)) = .005 6 | _MainTex ("Base (RGB)", 2D) = "white" {} 7 | _Ramp ("Toon Ramp (RGB)", 2D) = "gray" {} 8 | } 9 | 10 | SubShader { 11 | Tags { "RenderType"="Opaque" } 12 | UsePass "Toon/Lit/FORWARD" 13 | UsePass "Toon/Basic Outline/OUTLINE" 14 | } 15 | 16 | Fallback "Toon/Lit" 17 | } 18 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Shaders/ToonLitOutline.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 054a31a99d11e49d110086ba44295342 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 651770f8be26443fdb85aa3594fa349c 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Textures/ToonLit.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Textures/ToonLit.psd -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Textures/ToonLit.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b995d4bd9d11078d11005b9844295342 3 | TextureImporter: 4 | fileIDToRecycleName: 5 | 8900000: generatedCubemap 6 | serializedVersion: 2 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | linearTexture: 0 11 | correctGamma: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapFadeDistanceStart: 2 15 | mipMapFadeDistanceEnd: 3 16 | bumpmap: 17 | convertToNormalMap: 0 18 | externalNormalMap: 0 19 | heightScale: .25 20 | normalMapFilter: 0 21 | isReadable: 0 22 | grayScaleToAlpha: 0 23 | generateCubemap: 1 24 | cubemapConvolution: 0 25 | cubemapConvolutionSteps: 8 26 | cubemapConvolutionExponent: 1.5 27 | seamlessCubemap: 0 28 | textureFormat: 3 29 | maxTextureSize: 512 30 | textureSettings: 31 | filterMode: 1 32 | aniso: 1 33 | mipBias: 0 34 | wrapMode: 0 35 | nPOTScale: 0 36 | lightmap: 0 37 | rGBM: 0 38 | compressionQuality: 50 39 | spriteMode: 0 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: .5, y: .5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaIsTransparency: 0 47 | textureType: -1 48 | buildTargetSettings: [] 49 | spriteSheet: 50 | sprites: [] 51 | spritePackingTag: 52 | userData: 53 | assetBundleName: 54 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Textures/UtilToonGradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Textures/UtilToonGradient.png -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/Standard Assets/Effects/ToonShading/Textures/UtilToonGradient.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a056241e2722dc46a7262a8e7073fd9 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 0 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 2 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: 5 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: 0 31 | aniso: 1 32 | mipBias: 0 33 | wrapMode: 1 34 | nPOTScale: 0 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 5 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/StreamingAssets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 452ab7622a3857c4f82d4f0c1cf581a3 3 | folderAsset: yes 4 | timeCreated: 1441110013 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/StreamingAssets/UTJ.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a56a601b2c9c1ce4b842dcb775765813 3 | folderAsset: yes 4 | timeCreated: 1464054649 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/StreamingAssets/UTJ/HairWorksIntegration.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b0ead5347347b342b18efd3248d9d9c 3 | folderAsset: yes 4 | timeCreated: 1441110013 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/StreamingAssets/UTJ/HairWorksIntegration/DefaultHairShader.cso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/StreamingAssets/UTJ/HairWorksIntegration/DefaultHairShader.cso -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/StreamingAssets/UTJ/HairWorksIntegration/DefaultHairShader.cso.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a1e1fdb0d1cb7924281e121eb6583885 3 | timeCreated: 1441190534 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/StreamingAssets/UTJ/HairWorksIntegration/ExampleAsset.apx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2864c45ed9a6145448c1c758ed6c2ace 3 | timeCreated: 1441193026 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/StreamingAssets/UTJ/HairWorksIntegration/License.txt: -------------------------------------------------------------------------------- 1 | NVIDIAHairWorksIntegration: 2 | 3 | Copyright (C) 2015-2016 Unity Technologies Japan, G.K. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/StreamingAssets/UTJ/HairWorksIntegration/License.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7bcd4c8f7f2e3f0419be9c638f7b8d88 3 | timeCreated: 1464039763 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 614474d9df778c04e85d32a30467b464 3 | folderAsset: yes 4 | timeCreated: 1462773048 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/HairWorksIntegration.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8bf6c7fe4f8c08e4ab946b191af31cec 3 | folderAsset: yes 4 | timeCreated: 1441109251 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/HairWorksIntegration/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7769824432af43a4aad8dd0d27826df6 3 | folderAsset: yes 4 | timeCreated: 1441188917 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/HairWorksIntegration/Editor/HairInstanceEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aa2c64f1724f4a34b84214e32e76c42c 3 | timeCreated: 1441188919 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/HairWorksIntegration/Editor/HairLightEditor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEditor; 3 | using UnityEngine; 4 | 5 | namespace UTJ 6 | { 7 | [CustomEditor(typeof(HairLight))] 8 | public class HairLightEditor : Editor 9 | { 10 | public override void OnInspectorGUI() 11 | { 12 | DrawDefaultInspector(); 13 | } 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/HairWorksIntegration/Editor/HairLightEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8fb92663898487140beb1709c933bfca 3 | timeCreated: 1442049063 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/HairWorksIntegration/Example.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 67ebac457cd158346875ff811dd6642b 3 | folderAsset: yes 4 | timeCreated: 1464055130 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/HairWorksIntegration/Example/Simple.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/Assets/UTJ/HairWorksIntegration/Example/Simple.unity -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/HairWorksIntegration/Example/Simple.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c29a214dbcd2e5b4591197bbfa03d2f4 3 | timeCreated: 1464055152 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/HairWorksIntegration/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6c1955535192ab748bef9af3592ad6a7 3 | folderAsset: yes 4 | timeCreated: 1441110084 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/HairWorksIntegration/Scripts/HairInstance.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3752dd6155ac01f4aa1764627f5c85d9 3 | timeCreated: 1441161356 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/HairWorksIntegration/Scripts/HairLight.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 225e1544295fd314598682049fbcedcd 3 | timeCreated: 1441432814 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/HairWorksIntegration/Scripts/hwi.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39c96256bd6cc5c489de39a4d0554657 3 | timeCreated: 1441110086 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/Misc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d2d25fcb4af72774db4ba5e7a764ddba 3 | folderAsset: yes 4 | timeCreated: 1457073395 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/Misc/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 551879b0913ad4d41a406e35cf0a26d1 3 | folderAsset: yes 4 | timeCreated: 1463603646 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/Misc/Editor/MiscDebugMenu.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | using UnityEditor; 4 | 5 | namespace UTJ 6 | { 7 | static class MiscDebugMenu 8 | { 9 | 10 | [MenuItem("GameObject/Dump Transform")] 11 | static void DumpTransform() 12 | { 13 | var go = Selection.activeGameObject; 14 | if(go == null) { return; } 15 | 16 | var t = go.GetComponent(); 17 | string message = ""; 18 | message += string.Format("position: {0}\n", t.position.ToString("0.00000")); 19 | message += string.Format("localPosition: {0}\n", t.localPosition.ToString("0.00000")); 20 | message += string.Format("eulerAngles: {0}\n", t.eulerAngles.ToString("0.00000")); 21 | message += string.Format("localEulerAngles: {0}\n", t.localEulerAngles.ToString("0.00000")); 22 | message += string.Format("rotation: {0}\n", t.rotation.ToString("0.00000")); 23 | message += string.Format("localRotation: {0}\n", t.localRotation.ToString("0.00000")); 24 | message += string.Format("lossyScale: {0}\n", t.lossyScale.ToString("0.00000")); 25 | message += string.Format("localScale: {0}\n", t.localScale.ToString("0.00000")); 26 | message += string.Format("localToWorld:\n{0}", t.localToWorldMatrix); 27 | Debug.Log(message); 28 | } 29 | } 30 | 31 | } // namespace UTJ 32 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/Misc/Editor/MiscDebugMenu.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cca6705254e797b40a92e56c4e29a5ad 3 | timeCreated: 1463545178 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/Misc/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 324c02e09f53928429e39bbbd971fa1c 3 | folderAsset: yes 4 | timeCreated: 1457073395 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/Misc/Scripts/Bool.cs: -------------------------------------------------------------------------------- 1 | namespace UTJ 2 | { 3 | // bool is marshal as int (4 byte) by default and you need ugly [MarshalAs(UnmanagedType.U1)] to pass to (or receive from) C++ code. 4 | // this struct emulates bool and marshal as byte (1 byte). this makes things bit easier in some cases. 5 | public struct Bool 6 | { 7 | byte v; 8 | public static implicit operator bool(Bool v) { return v.v != 0; } 9 | public static implicit operator Bool(bool v) { Bool r; r.v = v ? (byte)1 : (byte)0; return r; } 10 | 11 | public static Bool True { get { Bool r; r.v = (byte)1; return r; } } 12 | } 13 | } -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/Misc/Scripts/Bool.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e74a0ade798956d49a6bbb833422663e 3 | timeCreated: 1457112037 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/Misc/Scripts/DataPath.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0fd1bcdf4e762654da9323b7b37cfecb 3 | timeCreated: 1457112037 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/Misc/Scripts/FixDeltaTime.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using UnityEngine; 3 | using UnityEngine.Rendering; 4 | #if UNITY_EDITOR 5 | using UnityEditor; 6 | #endif // UNITY_EDITOR 7 | 8 | 9 | namespace UTJ 10 | { 11 | [AddComponentMenu("UTJ/Misc/FixDeltaTime")] 12 | public class FixDeltaTime : MonoBehaviour 13 | { 14 | public float m_targetFrameRate = 30.0f; 15 | 16 | 17 | public IEnumerator Wait() 18 | { 19 | yield return new WaitForEndOfFrame(); 20 | 21 | // wait until current dt reaches target dt 22 | float wt = Time.maximumDeltaTime; 23 | while (Time.realtimeSinceStartup - Time.unscaledTime < wt) 24 | { 25 | System.Threading.Thread.Sleep(1); 26 | } 27 | } 28 | 29 | public void ApplyFrameRate() 30 | { 31 | Time.maximumDeltaTime = (1.0f / m_targetFrameRate); 32 | } 33 | 34 | 35 | void OnEnable() 36 | { 37 | ApplyFrameRate(); 38 | } 39 | 40 | void Update() 41 | { 42 | ApplyFrameRate(); 43 | StartCoroutine(Wait()); 44 | } 45 | } 46 | } -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/Misc/Scripts/FixDeltaTime.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cbd3ae30d91701d4f9e0081a7acb5ff7 3 | timeCreated: 1457073398 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00f47e7ad3d28874d9a2bf0a64141f34 3 | folderAsset: yes 4 | timeCreated: 1441109251 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/Plugins/x86.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab08dcdf94b5cc44cb78f528f0e76286 3 | folderAsset: yes 4 | timeCreated: 1464051360 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/Plugins/x86/HairWorksIntegration.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d9488278e5c7fc4da7e065706a8572c 3 | timeCreated: 1464051360 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Android: 12 | enabled: 0 13 | settings: 14 | CPU: AnyCPU 15 | Any: 16 | enabled: 0 17 | settings: {} 18 | Editor: 19 | enabled: 1 20 | settings: 21 | CPU: x86 22 | DefaultValueInitialized: true 23 | OS: Windows 24 | Linux: 25 | enabled: 1 26 | settings: 27 | CPU: x86 28 | Linux64: 29 | enabled: 0 30 | settings: 31 | CPU: None 32 | LinuxUniversal: 33 | enabled: 0 34 | settings: 35 | CPU: x86 36 | OSXIntel: 37 | enabled: 1 38 | settings: 39 | CPU: AnyCPU 40 | OSXIntel64: 41 | enabled: 0 42 | settings: 43 | CPU: None 44 | OSXUniversal: 45 | enabled: 0 46 | settings: 47 | CPU: x86 48 | Win: 49 | enabled: 1 50 | settings: 51 | CPU: AnyCPU 52 | Win64: 53 | enabled: 0 54 | settings: 55 | CPU: None 56 | iOS: 57 | enabled: 0 58 | settings: 59 | CompileFlags: 60 | FrameworkDependencies: 61 | userData: 62 | assetBundleName: 63 | assetBundleVariant: 64 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/Plugins/x86_64.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 444842022884220448085eaf17b2c6aa 3 | folderAsset: yes 4 | timeCreated: 1441109251 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/UTJ/Plugins/x86_64/HairWorksIntegration.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 32739732dad71944eb0e8a04793c4338 3 | timeCreated: 1441110013 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Android: 12 | enabled: 0 13 | settings: 14 | CPU: AnyCPU 15 | Any: 16 | enabled: 0 17 | settings: {} 18 | Editor: 19 | enabled: 1 20 | settings: 21 | CPU: x86_64 22 | DefaultValueInitialized: true 23 | OS: Windows 24 | Linux: 25 | enabled: 0 26 | settings: 27 | CPU: x86 28 | Linux64: 29 | enabled: 0 30 | settings: 31 | CPU: x86_64 32 | LinuxUniversal: 33 | enabled: 0 34 | settings: 35 | CPU: None 36 | OSXIntel: 37 | enabled: 0 38 | settings: 39 | CPU: AnyCPU 40 | OSXIntel64: 41 | enabled: 0 42 | settings: 43 | CPU: AnyCPU 44 | OSXUniversal: 45 | enabled: 0 46 | settings: 47 | CPU: None 48 | Win: 49 | enabled: 0 50 | settings: 51 | CPU: AnyCPU 52 | Win64: 53 | enabled: 1 54 | settings: 55 | CPU: AnyCPU 56 | iOS: 57 | enabled: 0 58 | settings: 59 | CompileFlags: 60 | FrameworkDependencies: 61 | userData: 62 | assetBundleName: 63 | assetBundleVariant: 64 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/smcs.rsp: -------------------------------------------------------------------------------- 1 | -unsafe 2 | -------------------------------------------------------------------------------- /HairWorksIntegration/Assets/smcs.rsp.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6882e87b4c93568459781c3c3cbca6f6 3 | timeCreated: 1441118009 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /HairWorksIntegration/ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/ProjectSettings/AudioManager.asset -------------------------------------------------------------------------------- /HairWorksIntegration/ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/ProjectSettings/ClusterInputManager.asset -------------------------------------------------------------------------------- /HairWorksIntegration/ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/ProjectSettings/DynamicsManager.asset -------------------------------------------------------------------------------- /HairWorksIntegration/ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/ProjectSettings/EditorBuildSettings.asset -------------------------------------------------------------------------------- /HairWorksIntegration/ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/ProjectSettings/EditorSettings.asset -------------------------------------------------------------------------------- /HairWorksIntegration/ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/ProjectSettings/GraphicsSettings.asset -------------------------------------------------------------------------------- /HairWorksIntegration/ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/ProjectSettings/InputManager.asset -------------------------------------------------------------------------------- /HairWorksIntegration/ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/ProjectSettings/NavMeshAreas.asset -------------------------------------------------------------------------------- /HairWorksIntegration/ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/ProjectSettings/NetworkManager.asset -------------------------------------------------------------------------------- /HairWorksIntegration/ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/ProjectSettings/Physics2DSettings.asset -------------------------------------------------------------------------------- /HairWorksIntegration/ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/ProjectSettings/ProjectSettings.asset -------------------------------------------------------------------------------- /HairWorksIntegration/ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.3.5f1 2 | m_StandardAssetsVersion: 0 3 | -------------------------------------------------------------------------------- /HairWorksIntegration/ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/ProjectSettings/QualitySettings.asset -------------------------------------------------------------------------------- /HairWorksIntegration/ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/ProjectSettings/TagManager.asset -------------------------------------------------------------------------------- /HairWorksIntegration/ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/ProjectSettings/TimeManager.asset -------------------------------------------------------------------------------- /HairWorksIntegration/ProjectSettings/UnityAdsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/ProjectSettings/UnityAdsSettings.asset -------------------------------------------------------------------------------- /HairWorksIntegration/ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/HairWorksIntegration/ProjectSettings/UnityConnectSettings.asset -------------------------------------------------------------------------------- /Packages/HairWorksIntegration.unitypackage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/Packages/HairWorksIntegration.unitypackage -------------------------------------------------------------------------------- /Plugin/Externals/PatchLibrary/PatchLibrary32.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/Plugin/Externals/PatchLibrary/PatchLibrary32.dll -------------------------------------------------------------------------------- /Plugin/Externals/PatchLibrary/PatchLibrary64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/Plugin/Externals/PatchLibrary/PatchLibrary64.dll -------------------------------------------------------------------------------- /Plugin/Externals/PatchLibrary/PatchLibraryProxy32.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/Plugin/Externals/PatchLibrary/PatchLibraryProxy32.exe -------------------------------------------------------------------------------- /Plugin/Externals/PatchLibrary/PatchLibraryProxy64.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/Plugin/Externals/PatchLibrary/PatchLibraryProxy64.exe -------------------------------------------------------------------------------- /Plugin/Externals/UnityPluginInterface/IUnityGraphicsD3D11.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "IUnityInterface.h" 3 | 4 | // Should only be used on the rendering thread unless noted otherwise. 5 | UNITY_DECLARE_INTERFACE(IUnityGraphicsD3D11) 6 | { 7 | ID3D11Device* (UNITY_INTERFACE_API * GetDevice)(); 8 | }; 9 | UNITY_REGISTER_INTERFACE_GUID(0xAAB37EF87A87D748ULL,0xBF76967F07EFB177ULL,IUnityGraphicsD3D11) 10 | -------------------------------------------------------------------------------- /Plugin/Externals/UnityPluginInterface/IUnityGraphicsD3D12.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "IUnityInterface.h" 3 | #ifndef __cplusplus 4 | #include 5 | #endif 6 | 7 | // Should only be used on the rendering thread unless noted otherwise. 8 | UNITY_DECLARE_INTERFACE(IUnityGraphicsD3D12) 9 | { 10 | ID3D12Device* (UNITY_INTERFACE_API * GetDevice)(); 11 | ID3D12CommandQueue* (UNITY_INTERFACE_API * GetCommandQueue)(); 12 | 13 | ID3D12Fence* (UNITY_INTERFACE_API * GetFrameFence)(); 14 | // Returns the value set on the frame fence once the current frame completes 15 | UINT64 (UNITY_INTERFACE_API * GetNextFrameFenceValue)(); 16 | 17 | // Returns the state a resource will be in after the last command list is executed 18 | bool (UNITY_INTERFACE_API * GetResourceState)(ID3D12Resource* resource, D3D12_RESOURCE_STATES* outState); 19 | // Specifies the state a resource will be in after a plugin command list with resource barriers is executed 20 | void (UNITY_INTERFACE_API * SetResourceState)(ID3D12Resource* resource, D3D12_RESOURCE_STATES state); 21 | }; 22 | UNITY_REGISTER_INTERFACE_GUID(0xEF4CEC88A45F4C4CULL,0xBD295B6F2A38D9DEULL,IUnityGraphicsD3D12) 23 | -------------------------------------------------------------------------------- /Plugin/Externals/UnityPluginInterface/IUnityGraphicsD3D9.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "IUnityInterface.h" 3 | 4 | // Should only be used on the rendering thread unless noted otherwise. 5 | UNITY_DECLARE_INTERFACE(IUnityGraphicsD3D9) 6 | { 7 | IDirect3D9* (UNITY_INTERFACE_API * GetD3D)(); 8 | IDirect3DDevice9* (UNITY_INTERFACE_API * GetDevice)(); 9 | }; 10 | UNITY_REGISTER_INTERFACE_GUID(0xE90746A523D53C4CULL,0xAC825B19B6F82AC3ULL,IUnityGraphicsD3D9) 11 | -------------------------------------------------------------------------------- /Plugin/HairWorksIntegration.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | {01901c9a-fdc1-4bb1-8616-a6f08489ed91} 17 | 18 | 19 | 20 | 21 | Shaders 22 | 23 | 24 | -------------------------------------------------------------------------------- /Plugin/exports_x86.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | UnityPluginLoad = _UnityPluginLoad@4 3 | UnityPluginUnload = _UnityPluginUnload@0 4 | -------------------------------------------------------------------------------- /Plugin/hwInternal.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #define hwImpl 3 | 4 | using namespace DirectX; // for DirectX Math 5 | 6 | #ifdef _WIN32 7 | #define hwWindows 8 | #endif 9 | 10 | void hwLogImpl(const char* fmt, ...); 11 | #define hwLog(...) hwLogImpl(__VA_ARGS__) 12 | 13 | #include "HairWorksIntegration.h" 14 | -------------------------------------------------------------------------------- /Plugin/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | -------------------------------------------------------------------------------- /Plugin/pch.h: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | -------------------------------------------------------------------------------- /doc/fbx_import_settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/doc/fbx_import_settings.png -------------------------------------------------------------------------------- /doc/grass.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/doc/grass.gif -------------------------------------------------------------------------------- /doc/hair_instance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/doc/hair_instance.png -------------------------------------------------------------------------------- /doc/hair_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/doc/hair_light.png -------------------------------------------------------------------------------- /doc/mite.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/NVIDIAHairWorksIntegration/87716414e63cdf7159aa4e1e7eb6d32da47c3fc4/doc/mite.gif --------------------------------------------------------------------------------