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
20 changes: 10 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ references:
at: *working_directory

.unity_linux_image: &unity_linux_image
- image: unityci/editor:ubuntu-2022.3.6f1-linux-il2cpp-2.0.0
- image: unityci/editor-ubuntu-6000.0.1f1-base-3.1.0
environment:
DCL_OUTPUT_NAME: linux
PROJECT_PATH: /tmp/workspace/unity-renderer/unity-renderer
Expand All @@ -23,7 +23,7 @@ references:
# ~~~~~~~~~~~~~~~~~~~~ <- folder name

.unity_mac_image: &unity_mac_image
- image: unityci/editor:ubuntu-2022.3.6f1-mac-mono-2.0.0
- image: unityci/editor:ubuntu-6000.0.1f1-mac-mono-3.1.0
environment:
DCL_OUTPUT_NAME: mac
PROJECT_PATH: /tmp/workspace/unity-renderer/unity-renderer
Expand All @@ -34,7 +34,7 @@ references:
# ~~~~~~~~~~~~~~~~~~ <- folder name

.unity_windows_image: &unity_windows_image
- image: unityci/editor:ubuntu-2022.3.6f1-windows-mono-2.0.0
- image: unityci/editor:ubuntu-6000.0.1f1-windows-mono-3.1.0
environment:
DCL_OUTPUT_NAME: windows
PROJECT_PATH: /tmp/workspace/unity-renderer/unity-renderer
Expand All @@ -45,7 +45,7 @@ references:
# ~~~~~~~~~~~~~~~~~~~~~~ <- folder name

.unity_webgl_image: &unity_webgl_image
- image: unityci/editor:2022.3.6f1-webgl-2.0.0
- image: unityci/editor:ubuntu-6000.0.1f1-webgl-3.1.0
environment:
DCL_OUTPUT_NAME: webgl
PROJECT_PATH: /tmp/workspace/unity-renderer/unity-renderer
Expand Down Expand Up @@ -116,13 +116,13 @@ commands:
echo $DCL_OUTPUT_NAME > /tmp/target
- restore_cache: &RESTORE_BUILD_CACHE
keys:
- build-{{ checksum "/tmp/target" }}-{{ checksum "../.unitysources-checksum" }}-{{ .Branch }}-2022.3.6f1
- build-{{ checksum "/tmp/target" }}-{{ checksum "../.unitysources-checksum" }}-dev-2022.3.6f1
- build-{{ checksum "/tmp/target" }}-{{ checksum "../.unitysources-checksum" }}-{{ .Branch }}-2022.3.25f1
- build-{{ checksum "/tmp/target" }}-{{ checksum "../.unitysources-checksum" }}-dev-2022.3.25f1
- restore_cache: &RESTORE_LIBRARY_CACHE
name: Restore library if exists
keys:
- library-{{ checksum "/tmp/target" }}-{{ .Environment.LIBRARY_CACHE_VERSION }}-{{ .Branch }}-2022.3.6f1
- library-{{ checksum "/tmp/target" }}-{{ .Environment.LIBRARY_CACHE_VERSION }}-dev-2022.3.6f1
- library-{{ checksum "/tmp/target" }}-{{ .Environment.LIBRARY_CACHE_VERSION }}-{{ .Branch }}-2022.3.25f1
- library-{{ checksum "/tmp/target" }}-{{ .Environment.LIBRARY_CACHE_VERSION }}-dev-2022.3.25f1
- run:
name: Build Unity Project
no_output_timeout: 45m
Expand All @@ -141,11 +141,11 @@ commands:

- save_cache: &SAVE_BUILD_CACHE
name: Store build cache
key: build-{{ checksum "/tmp/target" }}-{{ checksum "../.unitysources-checksum" }}-{{ .Branch }}-2022.3.6f1
key: build-{{ checksum "/tmp/target" }}-{{ checksum "../.unitysources-checksum" }}-{{ .Branch }}-2022.3.25f1
paths: *CACHED_PATHS
- save_cache: &SAVE_LIBRARY_CACHE
name: Store library
key: library-{{ checksum "/tmp/target" }}-{{ .Environment.LIBRARY_CACHE_VERSION }}-{{ .Branch }}-2022.3.6f1
key: library-{{ checksum "/tmp/target" }}-{{ .Environment.LIBRARY_CACHE_VERSION }}-{{ .Branch }}-2022.3.25f1
paths:
- ./unity-renderer/Library
- run:
Expand Down
2 changes: 1 addition & 1 deletion browser-interface/static/unity.loader.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"GUID:59748378707bc664aa6cebca2ebf461b",
"GUID:4bd423f6dceb67540b5c246ca8cf789b",
"GUID:3c7b57a14671040bd8c549056adc04f5",
"GUID:9cccce9925d3495d8a5e4fa5b25f54a5"
"GUID:9cccce9925d3495d8a5e4fa5b25f54a5",
"GUID:3b80b0b562b1cbc489513f09fc1b8f69"
],
"includePlatforms": [],
"excludePlatforms": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public IReadOnlyList<Collider> InitInvisibleMeshesColliders(IReadOnlyList<MeshFi
continue;
}

Physics.BakeMesh(meshFilters[i].sharedMesh.GetInstanceID(), false, MeshColliderCookingOptions.None);
MeshCollider newCollider = meshFilters[i].gameObject.AddComponent<MeshCollider>();
newCollider.sharedMesh = meshFilters[i].sharedMesh;
newCollider.enabled = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"GUID:ac62e852826a4b36aeb22931dad73edb",
"GUID:80f579cff5cf4136aa8969bf6fa1098c",
"GUID:dfe945c84f5740b79615bed3c57f6118",
"GUID:7eb48a6a47db4795bdee44a726fa8338"
"GUID:7eb48a6a47db4795bdee44a726fa8338",
"GUID:1dd0780aa6be12b428c8005d0bee46b8"
],
"includePlatforms": [],
"excludePlatforms": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"GUID:ac62e852826a4b36aeb22931dad73edb",
"GUID:1e10040ab6604cbe8ad0921047d49e65",
"GUID:37d2c04574c1d480d8c817e2a7c578e7",
"GUID:7eb48a6a47db4795bdee44a726fa8338"
"GUID:7eb48a6a47db4795bdee44a726fa8338",
"GUID:1dd0780aa6be12b428c8005d0bee46b8"
],
"includePlatforms": [],
"excludePlatforms": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ SpriteAtlas:
bindAsDefault: 1
isAtlasV2: 0
cachedData: {fileID: 0}
packedSpriteRenderDataKeys:
- 4f17c4c0f7b1c414f8c8113a665a1cae: 21300000
- 9400c5d3cfd556444a0754ee1caaf7c5: 21300000
- 842fd51cf401e4651a850e7cb508ca88: 21300000
- 4182681c6cdabf94eaa4d78d69628883: 21300000
- a08c897d9ace246a9bd29b9e89b04c70: 21300000
m_MasterAtlas: {fileID: 0}
m_PackedSprites:
- {fileID: 21300000, guid: 4f17c4c0f7b1c414f8c8113a665a1cae, type: 3}
Expand Down
3 changes: 3 additions & 0 deletions unity-renderer/Assets/Desktop/Textures/UIAtlas.spriteatlas
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ SpriteAtlas:
bindAsDefault: 1
isAtlasV2: 0
cachedData: {fileID: 0}
packedSpriteRenderDataKeys:
- 972b63b8178f3744b902130e9b94f77f: 21300000
- b321db59c97fecb4596ff940b50ffca8: 21300000
m_MasterAtlas: {fileID: 0}
m_PackedSprites:
- {fileID: 21300000, guid: 972b63b8178f3744b902130e9b94f77f, type: 3}
Expand Down
6 changes: 4 additions & 2 deletions unity-renderer/Assets/Materials/GizmosMaterialInWorld.mat
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 7
version: 9
--- !u!21 &2100000
Material:
serializedVersion: 8
Expand All @@ -32,7 +32,8 @@ Material:
m_CustomRenderQueue: 2000
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
Expand Down Expand Up @@ -145,3 +146,4 @@ Material:
- _EyeTint: {r: 1, g: 0.03688662, b: 0, a: 0}
- _SpecColor: {r: 0.19999993, g: 0.19999993, b: 0.19999993, a: 1}
m_BuildTextureStacks: []
m_AllowLocking: 1
6 changes: 4 additions & 2 deletions unity-renderer/Assets/Materials/ParcelMinimapIcon.mat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ Material:
m_CustomRenderQueue: 2000
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
Expand Down Expand Up @@ -86,6 +87,7 @@ Material:
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []
m_AllowLocking: 1
--- !u!114 &8462421099973235934
MonoBehaviour:
m_ObjectHideFlags: 11
Expand All @@ -98,4 +100,4 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 7
version: 9
6 changes: 4 additions & 2 deletions unity-renderer/Assets/Materials/TileGround.mat
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 7
version: 9
--- !u!21 &2100000
Material:
serializedVersion: 8
Expand All @@ -32,7 +32,8 @@ Material:
m_CustomRenderQueue: 2000
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
Expand Down Expand Up @@ -132,3 +133,4 @@ Material:
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_BuildTextureStacks: []
m_AllowLocking: 1
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ MonoBehaviour:
lutBuilderLdrPS: {fileID: 4800000, guid: 65df88701913c224d95fc554db28381a, type: 3}
lutBuilderHdrPS: {fileID: 4800000, guid: ec9fec698a3456d4fb18cf8bacb7a2bc, type: 3}
bloomPS: {fileID: 4800000, guid: 5f1864addb451f54bae8c86d230f736e, type: 3}
temporalAntialiasingPS: {fileID: 4800000, guid: 131f1b93a4ebd459ba87b6bad055fb33,
type: 3}
LensFlareDataDrivenPS: {fileID: 4800000, guid: 6cda457ac28612740adb23da5d39ea92,
type: 3}
scalingSetupPS: {fileID: 4800000, guid: e8ee25143a34b8c4388709ea947055d1, type: 3}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ MonoBehaviour:
debugShaders:
debugReplacementPS: {fileID: 4800000, guid: cf852408f2e174538bcd9b7fda1c5ae7,
type: 3}
hdrDebugViewPS: {fileID: 4800000, guid: 573620ae32aec764abd4d728906d2587, type: 3}
m_RendererFeatures: []
m_RendererFeatureMap:
m_UseNativeRenderPass: 0
Expand All @@ -27,14 +28,18 @@ MonoBehaviour:
samplingPS: {fileID: 4800000, guid: 04c410c9937594faa893a11dceb85f7e, type: 3}
stencilDeferredPS: {fileID: 4800000, guid: e9155b26e1bc55942a41e518703fe304, type: 3}
fallbackErrorPS: {fileID: 4800000, guid: e6e9a19c3678ded42a3bc431ebef7dbd, type: 3}
fallbackLoadingPS: {fileID: 4800000, guid: 7f888aff2ac86494babad1c2c5daeee2, type: 3}
materialErrorPS: {fileID: 4800000, guid: 5fd9a8feb75a4b5894c241777f519d4e, type: 3}
coreBlitPS: {fileID: 4800000, guid: 93446b5c5339d4f00b85c159e1159b7c, type: 3}
coreBlitColorAndDepthPS: {fileID: 4800000, guid: d104b2fc1ca6445babb8e90b0758136b,
type: 3}
blitHDROverlay: {fileID: 4800000, guid: a89bee29cffa951418fc1e2da94d1959, type: 3}
cameraMotionVector: {fileID: 4800000, guid: c56b7e0d4c7cb484e959caeeedae9bbf,
type: 3}
objectMotionVector: {fileID: 4800000, guid: 7b3ede40266cd49a395def176e1bc486,
type: 3}
dataDrivenLensFlare: {fileID: 4800000, guid: 6cda457ac28612740adb23da5d39ea92,
type: 3}
m_AssetVersion: 2
m_OpaqueLayerMask:
serializedVersion: 2
Expand All @@ -54,6 +59,4 @@ MonoBehaviour:
m_DepthPrimingMode: 0
m_CopyDepthMode: 0
m_AccurateGbufferNormals: 0
m_ClusteredRendering: 0
m_TileSize: 32
m_IntermediateTextureMode: 1
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ MonoBehaviour:
debugShaders:
debugReplacementPS: {fileID: 4800000, guid: cf852408f2e174538bcd9b7fda1c5ae7,
type: 3}
hdrDebugViewPS: {fileID: 4800000, guid: 573620ae32aec764abd4d728906d2587, type: 3}
m_RendererFeatures: []
m_RendererFeatureMap:
m_UseNativeRenderPass: 0
Expand All @@ -27,14 +28,18 @@ MonoBehaviour:
samplingPS: {fileID: 4800000, guid: 04c410c9937594faa893a11dceb85f7e, type: 3}
stencilDeferredPS: {fileID: 4800000, guid: e9155b26e1bc55942a41e518703fe304, type: 3}
fallbackErrorPS: {fileID: 4800000, guid: e6e9a19c3678ded42a3bc431ebef7dbd, type: 3}
fallbackLoadingPS: {fileID: 4800000, guid: 7f888aff2ac86494babad1c2c5daeee2, type: 3}
materialErrorPS: {fileID: 4800000, guid: 5fd9a8feb75a4b5894c241777f519d4e, type: 3}
coreBlitPS: {fileID: 4800000, guid: 93446b5c5339d4f00b85c159e1159b7c, type: 3}
coreBlitColorAndDepthPS: {fileID: 4800000, guid: d104b2fc1ca6445babb8e90b0758136b,
type: 3}
blitHDROverlay: {fileID: 4800000, guid: a89bee29cffa951418fc1e2da94d1959, type: 3}
cameraMotionVector: {fileID: 4800000, guid: c56b7e0d4c7cb484e959caeeedae9bbf,
type: 3}
objectMotionVector: {fileID: 4800000, guid: 7b3ede40266cd49a395def176e1bc486,
type: 3}
dataDrivenLensFlare: {fileID: 4800000, guid: 6cda457ac28612740adb23da5d39ea92,
type: 3}
m_AssetVersion: 2
m_OpaqueLayerMask:
serializedVersion: 2
Expand All @@ -54,6 +59,4 @@ MonoBehaviour:
m_DepthPrimingMode: 0
m_CopyDepthMode: 0
m_AccurateGbufferNormals: 0
m_ClusteredRendering: 0
m_TileSize: 32
m_IntermediateTextureMode: 1
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: bf2edee5c58d82540a51f03df9d42094, type: 3}
m_Name: UniversalRenderPipelineAsset
m_EditorClassIdentifier:
k_AssetVersion: 11
k_AssetPreviousVersion: 11
k_AssetVersion: 12
k_AssetPreviousVersion: 12
m_RendererType: 1
m_RendererData: {fileID: 0}
m_RendererDataList:
Expand All @@ -35,6 +35,14 @@ MonoBehaviour:
m_EnableLODCrossFade: 1
m_LODCrossFadeDitheringType: 1
m_ShEvalMode: 0
m_LightProbeSystem: 0
m_ProbeVolumeMemoryBudget: 1024
m_ProbeVolumeBlendingMemoryBudget: 256
m_SupportProbeVolumeGPUStreaming: 0
m_SupportProbeVolumeDiskStreaming: 0
m_SupportProbeVolumeScenarios: 0
m_SupportProbeVolumeScenarioBlending: 0
m_ProbeVolumeSHBands: 1
m_MainLightRenderingMode: 1
m_MainLightShadowsSupported: 1
m_MainLightShadowmapResolution: 4096
Expand Down Expand Up @@ -69,21 +77,30 @@ MonoBehaviour:
m_SupportsLightLayers: 0
m_DebugLevel: 0
m_StoreActionsOptimization: 0
m_EnableRenderGraph: 0
m_UseAdaptivePerformance: 1
m_ColorGradingMode: 0
m_ColorGradingLutSize: 32
m_AllowPostProcessAlphaOutput: 0
m_UseFastSRGBLinearConversion: 0
m_SupportDataDrivenLensFlare: 1
m_SupportScreenSpaceLensFlare: 1
m_GPUResidentDrawerMode: 0
m_SmallMeshScreenPercentage: 0
m_GPUResidentDrawerEnableOcclusionCullingInCameras: 0
m_ShadowType: 1
m_LocalShadowsSupported: 0
m_LocalShadowsAtlasResolution: 256
m_MaxPixelLights: 0
m_ShadowAtlasResolution: 256
m_VolumeFrameworkUpdateMode: 0
m_Textures:
blueNoise64LTex: {fileID: 2800000, guid: e3d24661c1e055f45a7560c033dbb837, type: 3}
bayerMatrixTex: {fileID: 2800000, guid: f9ee4ed84c1d10c49aabb9b210b0fc44, type: 3}
m_VolumeProfile: {fileID: 0}
apvScenesData:
obsoleteSceneBounds:
m_Keys: []
m_Values: []
obsoleteHasProbeVolumes:
m_Keys: []
m_Values:
m_PrefilteringModeMainLightShadows: 3
m_PrefilteringModeAdditionalLight: 0
m_PrefilteringModeAdditionalLightShadows: 0
Expand All @@ -94,6 +111,7 @@ MonoBehaviour:
m_PrefilterDebugKeywords: 1
m_PrefilterWriteRenderingLayers: 1
m_PrefilterHDROutput: 1
m_PrefilterAlphaOutput: 0
m_PrefilterSSAODepthNormals: 0
m_PrefilterSSAOSourceDepthLow: 1
m_PrefilterSSAOSourceDepthMedium: 1
Expand All @@ -106,7 +124,15 @@ MonoBehaviour:
m_PrefilterDBufferMRT1: 1
m_PrefilterDBufferMRT2: 1
m_PrefilterDBufferMRT3: 1
m_PrefilterSoftShadowsQualityLow: 0
m_PrefilterSoftShadowsQualityMedium: 0
m_PrefilterSoftShadowsQualityHigh: 0
m_PrefilterSoftShadows: 0
m_PrefilterScreenCoord: 1
m_PrefilterNativeRenderPass: 1
m_PrefilterUseLegacyLightmaps: 0
m_ShaderVariantLogLevel: 0
m_ShadowCascades: 0
m_Textures:
blueNoise64LTex: {fileID: 2800000, guid: e3d24661c1e055f45a7560c033dbb837, type: 3}
bayerMatrixTex: {fileID: 2800000, guid: f9ee4ed84c1d10c49aabb9b210b0fc44, type: 3}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 7
version: 9
--- !u!21 &2100000
Material:
serializedVersion: 8
Expand All @@ -32,7 +32,8 @@ Material:
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
Expand Down Expand Up @@ -136,3 +137,4 @@ Material:
- _TexOffset: {r: 0, g: 0, b: 0, a: 0}
- _UnownedVariationRange: {r: 0.6, g: 1.25, b: 0, a: 0}
m_BuildTextureStacks: []
m_AllowLocking: 1
Loading