Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TAA + Sharpen #129

Merged
merged 33 commits into from
Oct 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
d885d68
Change pre-pass mode to flags and add motion vectors there
Delt06 Oct 10, 2023
bb40096
TAA: implement motion vector pre-pass
Delt06 Oct 11, 2023
a8625c9
TAA: add first implementation
Delt06 Oct 12, 2023
a4f3c3a
Add depth and normals debug passes
Delt06 Oct 12, 2023
7d38797
Remove TAA shader TODO
Delt06 Oct 12, 2023
f340875
TAA: fix projection matrix flip
Delt06 Oct 13, 2023
fa1cffa
Fix SSAO inverse projection
Delt06 Oct 14, 2023
6ba04d2
Update TAA asset
Delt06 Oct 14, 2023
13c9ec5
Fix camera override
Delt06 Oct 14, 2023
21ef82b
Fix shared projection matrix not being set, make SSAO use it again
Delt06 Oct 14, 2023
2148aac
Enable trilinear filtering for leaves, fixes TAA flickering
Delt06 Oct 14, 2023
2db7d75
Limit TAA to game camera only
Delt06 Oct 14, 2023
496714e
Update TAA settings
Delt06 Oct 14, 2023
f4533de
Fix geometry popping on first frame
Delt06 Oct 14, 2023
991b1ec
Update TAA settings
Delt06 Oct 14, 2023
9f6b3b9
Fix TAA shader warnings and errors
Delt06 Oct 14, 2023
008a4a0
Fix debug pass still creating material even when disabled
Delt06 Oct 14, 2023
0b2fd21
Update TAA settings
Delt06 Oct 14, 2023
5d8d7af
Update default TAA settings
Delt06 Oct 14, 2023
0b40681
Enable aniso for leaves
Delt06 Oct 14, 2023
a359adb
Make debug material lazy
Delt06 Oct 14, 2023
5a0bb8d
Implement sharpen
Delt06 Oct 14, 2023
d533f21
Update references
Delt06 Oct 14, 2023
e6256de
Add pre- and post- native post-processing passes
Delt06 Oct 14, 2023
d655118
Add reset for RTHandles
Delt06 Oct 14, 2023
34b8a4c
Allow post processing stack to be executed either before or after ups…
Delt06 Oct 14, 2023
837f2e6
Allow for sharpen amount up to 5
Delt06 Oct 14, 2023
7d3b88d
Add CubeWorld demo
Delt06 Oct 14, 2023
c3c7d7c
Add cube world to Used Assets
Delt06 Oct 14, 2023
7a5bedd
Remove TAA and Sharpen from the main pipeline
Delt06 Oct 14, 2023
133cdcb
Update CubeWorld assets
Delt06 Oct 14, 2023
ea87c35
Add sharpen and TAA stripping
Delt06 Oct 14, 2023
9d0b2e0
Add sharpen order
Delt06 Oct 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Assets/Samples/CubeWorld.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Samples/CubeWorld/Art.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

72 changes: 72 additions & 0 deletions Assets/Samples/CubeWorld/Art/Character_Male_01.controller
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1102 &-9147745103464217777
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: CharacterArmature|Run
m_Speed: 0.75
m_CycleOffset: 0
m_Transitions: []
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 1395189703230314720, guid: 584d77aca4a74a1459d29d9114c6861e, type: 3}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Character_Male_01
serializedVersion: 5
m_AnimatorParameters: []
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
m_StateMachine: {fileID: 2497091716291060345}
m_Mask: {fileID: 0}
m_Motions: []
m_Behaviours: []
m_BlendingMode: 0
m_SyncedLayerIndex: -1
m_DefaultWeight: 0
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
--- !u!1107 &2497091716291060345
AnimatorStateMachine:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Base Layer
m_ChildStates:
- serializedVersion: 1
m_State: {fileID: -9147745103464217777}
m_Position: {x: 340, y: 90, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
m_StateMachineTransitions: {}
m_StateMachineBehaviours: []
m_AnyStatePosition: {x: 50, y: 20, z: 0}
m_EntryPosition: {x: 50, y: 120, z: 0}
m_ExitPosition: {x: 800, y: 120, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: -9147745103464217777}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Samples/CubeWorld/Art/Cube World.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

86 changes: 86 additions & 0 deletions Assets/Samples/CubeWorld/Art/Cube World/Atlas.mat
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Atlas
m_Shader: {fileID: 4800000, guid: 66d261cceb43446dbdd99389a7ed8411, type: 3}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 2000
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTexture:
m_Texture: {fileID: 2800000, guid: bfa3e04c6ca3b664b9af8916c46396f7, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MatcapTexture:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AlphaClipThreshold: 0.5
- _AlphaClipping: 0
- _BlendDst: 0
- _BlendMode: 0
- _BlendSrc: 1
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _ForwardStencilComp: 0
- _ForwardStencilPass: 0
- _ForwardStencilRef: 0
- _ForwardStencilWriteMask: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _MatcapBlend: 1
- _MatcapMode: 0
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _OutlinesStencilLayer: 0
- _OverrideRamp: 0
- _OverrideRamp_RimSmoothness: 0.1
- _OverrideRamp_RimThreshold: 0.5
- _OverrideRamp_Smoothness: 0.083
- _OverrideRamp_SpecularSmoothness: 0.005
- _OverrideRamp_SpecularThreshold: 0.995
- _OverrideRamp_Threshold: 0
- _Parallax: 0.02
- _QueueOffset: 0
- _ReceiveBlobShadows: 0
- _RenderFace: 2
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SpecularSizeOffset: 0
- _SrcBlend: 1
- _SurfaceType: 0
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _MainColor: {r: 1, g: 1, b: 1, a: 1}
- _MatcapTint: {r: 1, g: 1, b: 1, a: 1}
- _RimColor: {r: 1, g: 1, b: 1, a: 1}
- _ShadowColor: {r: 0, g: 0, b: 0, a: 0.75}
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
m_BuildTextureStacks: []
8 changes: 8 additions & 0 deletions Assets/Samples/CubeWorld/Art/Cube World/Atlas.mat.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Assets/Samples/CubeWorld/Art/Cube World/Atlas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
159 changes: 159 additions & 0 deletions Assets/Samples/CubeWorld/Art/Cube World/Atlas.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Loading