Max Kinect Effect SahderGraph

Max Kinect Effect now gives position info from red-channel to shader.
Bug: Resolutio of Z is not very precize.
This commit is contained in:
max 2019-10-14 21:13:28 +02:00
parent 0e391466d8
commit 039e4a27d6
6 changed files with 259 additions and 7 deletions

View file

@ -8,7 +8,7 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: IRPanel
m_Shader: {fileID: -6465566751694194690, guid: ab1500b418a77404a9a159988c31409e,
m_Shader: {fileID: -6465566751694194690, guid: 0710b26be2a23d24d8005549cc475ba2,
type: 3}
m_ShaderKeywords: _NORMALMAP_TANGENT_SPACE
m_LightmapFlags: 4
@ -215,6 +215,7 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- Vector1_F5BDDE65: 1
- _AORemapMax: 1
- _AORemapMin: 0
- _ATDistance: 1

View file

@ -46,7 +46,7 @@ MonoBehaviour:
m_Start: 0
m_ClipIn: 0
m_Asset: {fileID: 114712138302265878}
m_Duration: 30.083333333333332
m_Duration: 30.083333333333318
m_TimeScale: 1
m_ParentTrack: {fileID: 114479060904044746}
m_EaseInDuration: 0
@ -165,10 +165,10 @@ MonoBehaviour:
m_Children: []
m_Clips:
- m_Version: 1
m_Start: 10.083333333333334
m_Start: 13.65
m_ClipIn: 0
m_Asset: {fileID: 114611508007446338}
m_Duration: 20
m_Duration: 16.43333333333333
m_TimeScale: 1
m_ParentTrack: {fileID: 114704940880640000}
m_EaseInDuration: 0

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 0710b26be2a23d24d8005549cc475ba2
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}

View file

@ -0,0 +1,31 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Shader Graphs_Max Kinect Effect
m_Shader: {fileID: -6465566751694194690, guid: 0710b26be2a23d24d8005549cc475ba2,
type: 3}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap:
MotionVector: User
disabledShaderPasses:
- MOTIONVECTORS
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _kinectTexture:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- Vector1_F5BDDE65: 1
m_Colors: []

View file

@ -1,8 +1,8 @@
fileFormatVersion: 2
guid: a136572b1ed0a3d4baf99141901819b6
folderAsset: yes
DefaultImporter:
guid: 08091c5640297a64496a47b90b015414
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant: