Skip to content

Commit

Permalink
update random function and hemisphere sampler
Browse files Browse the repository at this point in the history
  • Loading branch information
teamclouday committed Oct 9, 2021
1 parent d1c804e commit d291cfb
Show file tree
Hide file tree
Showing 13 changed files with 542 additions and 61 deletions.
6 changes: 3 additions & 3 deletions Assets/Materials/Box.mat
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Material:
m_PrefabAsset: {fileID: 0}
m_Name: Box
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _EMISSION
m_LightmapFlags: 2
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
Expand Down Expand Up @@ -73,6 +73,6 @@ Material:
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 0.52806777, b: 0.4575472, a: 1}
- _EmissionColor: {r: 1.7019608, g: 1.7019608, b: 1.7019608, a: 1}
m_BuildTextureStacks: []
6 changes: 3 additions & 3 deletions Assets/Materials/Ground.mat
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ Material:
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.871
- _Glossiness: 0
- _GlossyReflections: 1
- _Metallic: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
Expand All @@ -73,6 +73,6 @@ Material:
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 0.7688679, g: 1, b: 0.9900869, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
4 changes: 2 additions & 2 deletions Assets/Materials/Light.mat
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Material:
m_Name: Light
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _EMISSION
m_LightmapFlags: 2
m_LightmapFlags: 0
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
Expand Down Expand Up @@ -74,5 +74,5 @@ Material:
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 23.968628, g: 22.086275, b: 7.9058824, a: 1}
- _EmissionColor: {r: 47.937256, g: 47.937256, b: 47.937256, a: 1}
m_BuildTextureStacks: []
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ Material:
- _DetailNormalMapScale: 1
- _DstBlend: 10
- _GlossMapScale: 1
- _Glossiness: 0.3
- _Glossiness: 1
- _GlossyReflections: 1
- _Metallic: 0.15
- _Metallic: 0.116
- _Mode: 3
- _OcclusionStrength: 1
- _Parallax: 0.02
Expand Down
4 changes: 2 additions & 2 deletions Assets/Scenes/CornellBox.unity
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
RayTracingShader: {fileID: 7200000, guid: 665d1ef5183a88c43ad98a3cf93e0ddd, type: 3}
InfoShader: {fileID: 7200000, guid: b9568c70d14d4ae49a257b1843b38f9a, type: 3}
SkyboxTexture: {fileID: 8900000, guid: b5048f0d8dca2ee41aaf9a2aecf4fa94, type: 2}
SkyboxTexture: {fileID: 8900000, guid: e8791888d6d354b48a57b55226d8d69d, type: 2}
DirectionalLight: {fileID: 705507994}
TraceDepth: 5
CameraFocalDistance: 1
Expand Down Expand Up @@ -799,7 +799,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 7b4102c4db4449642b864ee6063b6e9e, type: 3}
propertyPath: m_LocalPosition.z
value: 9
value: 10
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 7b4102c4db4449642b864ee6063b6e9e, type: 3}
propertyPath: m_LocalRotation.w
Expand Down
Loading

0 comments on commit d291cfb

Please sign in to comment.