Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
35 changes: 35 additions & 0 deletions GPUAnimationExamples/Assets/ForwardRenderer.asset
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: de640fe3d0db1804a85f9fc8f5cadab6, type: 3}
m_Name: ForwardRenderer
m_EditorClassIdentifier:
m_RendererFeatures: []
postProcessData: {fileID: 0}
shaders:
blitPS: {fileID: 0}
copyDepthPS: {fileID: 0}
screenSpaceShadowPS: {fileID: 0}
samplingPS: {fileID: 0}
fallbackErrorPS: {fileID: 0}
m_OpaqueLayerMask:
serializedVersion: 2
m_Bits: 4294967295
m_TransparentLayerMask:
serializedVersion: 2
m_Bits: 4294967295
m_DefaultStencilState:
overrideStencilState: 0
stencilReference: 0
stencilCompareFunction: 8
passOperation: 0
failOperation: 0
zFailOperation: 0

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

8 changes: 0 additions & 8 deletions GPUAnimationExamples/Assets/Plugins/Editor/JetBrains.meta

This file was deleted.

Binary file not shown.

This file was deleted.

2 changes: 1 addition & 1 deletion GPUAnimationExamples/Assets/Scripts/SimpleAnim.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ public void Execute(Entity entity, int index, ref SimpleAnim simple, ref GPUAnim

protected override JobHandle OnUpdate(JobHandle inputDeps)
{
return new SimpleAnimJob { DeltaTime = Time.deltaTime}.Schedule(this, inputDeps);
return new SimpleAnimJob { DeltaTime = Time.DeltaTime}.Schedule(this, inputDeps);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ PrefabInstance:
propertyPath: m_LocalPosition.z
value: 1.09
objectReference: {fileID: 0}
- target: {fileID: 13700000, guid: 325d845a8317c2240905bd464b84d6f8, type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 01262259b8597f34886395bfc78a3dac, type: 2}
- target: {fileID: 11100000, guid: 325d845a8317c2240905bd464b84d6f8, type: 3}
propertyPath: m_Animations.Array.size
value: 1
Expand All @@ -77,6 +73,10 @@ PrefabInstance:
propertyPath: m_Animations.Array.data[0]
value:
objectReference: {fileID: 7400000, guid: e2cbc102bf5423f43a12c4cf95311af8, type: 3}
- target: {fileID: 13700000, guid: 325d845a8317c2240905bd464b84d6f8, type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 01262259b8597f34886395bfc78a3dac, type: 2}
m_RemovedComponents:
- {fileID: 11100000, guid: 325d845a8317c2240905bd464b84d6f8, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 325d845a8317c2240905bd464b84d6f8, type: 3}
Expand Down
15 changes: 13 additions & 2 deletions GPUAnimationExamples/Packages/manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
{
"dependencies": {
"com.unity.2d.sprite": "1.0.0",
"com.unity.2d.tilemap": "1.0.0",
"com.unity.burst": "1.2.1",
"com.unity.entities": "0.5.1-preview.11",
"com.unity.gpuanimation": "file:../../com.unity.gpuanimation",
"com.unity.package-manager-ui": "2.1.2",
"com.unity.render-pipelines.lightweight": "5.16.1",
"com.unity.ide.rider": "1.1.4",
"com.unity.ide.vscode": "1.1.4",
"com.unity.render-pipelines.core": "7.1.6",
"com.unity.render-pipelines.lightweight": "7.1.6",
"com.unity.render-pipelines.universal": "7.1.6",
"com.unity.shadergraph": "7.1.6",
"com.unity.test-framework": "1.1.9",
"com.unity.ugui": "1.0.0",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.animation": "1.0.0",
"com.unity.modules.assetbundle": "1.0.0",
"com.unity.modules.audio": "1.0.0",
Expand Down
20 changes: 17 additions & 3 deletions GPUAnimationExamples/ProjectSettings/EditorSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,33 @@
--- !u!159 &1
EditorSettings:
m_ObjectHideFlags: 0
serializedVersion: 7
serializedVersion: 9
m_ExternalVersionControlSupport: Visible Meta Files
m_SerializationMode: 2
m_LineEndingsForNewScripts: 2
m_DefaultBehaviorMode: 0
m_PrefabRegularEnvironment: {fileID: 0}
m_PrefabUIEnvironment: {fileID: 0}
m_SpritePackerMode: 0
m_SpritePackerPaddingPower: 1
m_EtcTextureCompressorBehavior: 1
m_EtcTextureFastCompressor: 1
m_EtcTextureNormalCompressor: 2
m_EtcTextureBestCompressor: 4
m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef
m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;asmref
m_ProjectGenerationRootNamespace:
m_UserGeneratedProjectSuffix:
m_CollabEditorSettings:
inProgressEnabled: 1
m_EnableTextureStreamingInEditMode: 1
m_EnableTextureStreamingInPlayMode: 1
m_AsyncShaderCompilation: 1
m_EnterPlayModeOptionsEnabled: 0
m_EnterPlayModeOptions: 3
m_ShowLightmapResolutionOverlay: 1
m_UseLegacyProbeSampleCount: 1
m_AssetPipelineMode: 1
m_CacheServerMode: 0
m_CacheServerEndpoint:
m_CacheServerNamespacePrefix: default
m_CacheServerEnableDownload: 1
m_CacheServerEnableUpload: 1
Loading