浏览代码

Finished Position Based Shader

/Shaders2019
Arturo Nereu 4 年前
当前提交
f318c2e4
共有 3 个文件被更改,包括 41 次插入15 次删除
  1. 6
      Assets/Common/Materials/PositionBased.mat
  2. 36
      Assets/Shaders/Scenes/Shaders Test Bed.unity
  3. 14
      Assets/Shaders/Shader Graphs/PositionBasedRendering.shadergraph

6
Assets/Common/Materials/PositionBased.mat


serializedVersion: 3
m_TexEnvs:
- Texture2D_272C4861:
m_Texture: {fileID: 2800000, guid: 5e543473a544a4efb8008f3b27f6f9a5, type: 3}
m_Texture: {fileID: 2800000, guid: a62e12588e79b6f4baa0b3e507b18dd2, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BaseMap:

m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- Vector1_62687469: 1.5
- Vector1_62687469: 3
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1

- Vector3_E80427D: {r: 0.85, g: 0, b: 0, a: 0}
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _ContactPosition: {r: 2.025, g: 0, b: 1.406, a: 0}
- _ContactPosition: {r: 1.51, g: 0, b: 3.43, a: 0}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}

36
Assets/Shaders/Scenes/Shaders Test Bed.unity


m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 738691673}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.78, y: 0, z: 0.84}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}

m_Script: {fileID: 11500000, guid: 728e3adc9244c8348a969a6545a32bda, type: 3}
m_Name:
m_EditorClassIdentifier:
m_VertexDistance: 2
--- !u!1001 &1776377516
PrefabInstance:
m_ObjectHideFlags: 0

- target: {fileID: -8679921383154817045, guid: 0ebc67c00f2ddb143a9839247caf9ab6,
type: 3}
propertyPath: m_LocalPosition.x
value: 0.91
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 0ebc67c00f2ddb143a9839247caf9ab6,
type: 3}

- target: {fileID: -8679921383154817045, guid: 0ebc67c00f2ddb143a9839247caf9ab6,
type: 3}
propertyPath: m_LocalPosition.z
value: -0.19
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 0ebc67c00f2ddb143a9839247caf9ab6,
type: 3}

propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 0ebc67c00f2ddb143a9839247caf9ab6,
type: 3}
propertyPath: m_LocalScale.x
value: 0.10392
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 0ebc67c00f2ddb143a9839247caf9ab6,
type: 3}
propertyPath: m_LocalScale.y
value: 0.10392
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 0ebc67c00f2ddb143a9839247caf9ab6,
type: 3}
propertyPath: m_LocalScale.z
value: 0.10392
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 0ebc67c00f2ddb143a9839247caf9ab6,
type: 3}
propertyPath: m_Materials.Array.data[0]

type: 3}
m_PrefabInstance: {fileID: 1776377516}
m_PrefabAsset: {fileID: 0}
--- !u!114 &1776377518
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1776377517}
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3856305635085454e8af9cbef1878b3b, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetObject: {fileID: 738691673}
--- !u!114 &1776377521
MonoBehaviour:
m_ObjectHideFlags: 0

m_Script: {fileID: 11500000, guid: 728e3adc9244c8348a969a6545a32bda, type: 3}
m_Name:
m_EditorClassIdentifier:
m_VertexDistance: 0.2

14
Assets/Shaders/Shader Graphs/PositionBasedRendering.shadergraph
文件差异内容过多而无法显示
查看文件

正在加载...
取消
保存