diff --git a/Packages/com.unity.render-pipelines.core/Editor/Lighting/LightPlacementTool.cs b/Packages/com.unity.render-pipelines.core/Editor/Lighting/LightPlacementTool.cs index fe9d7214322..8b0c7bf4730 100755 --- a/Packages/com.unity.render-pipelines.core/Editor/Lighting/LightPlacementTool.cs +++ b/Packages/com.unity.render-pipelines.core/Editor/Lighting/LightPlacementTool.cs @@ -5,7 +5,7 @@ [EditorTool("Light Placement Tool", typeof(Light))] class LightPlacementTool : EditorTool { - private const float k_DefaultZoom = 2f; + private const float k_DefaultZoom = 0.05f; private bool initialPositionSet; private static Vector3 initialPivot; diff --git a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeGIBaking.VirtualOffset.cs b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeGIBaking.VirtualOffset.cs index b6eb6c330ac..e4223169ebb 100644 --- a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeGIBaking.VirtualOffset.cs +++ b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeGIBaking.VirtualOffset.cs @@ -1,157 +1,323 @@ -#define USE_JOBS -#if HAS_BURST -#define USE_BURST -#endif -//#define VERBOSE - +using System; using System.Collections.Generic; +using System.Runtime.InteropServices; using UnityEditor; - -using Unity.Collections; -using Unity.Collections.LowLevel.Unsafe; -using Unity.Jobs; -#if USE_BURST -using Unity.Burst; -#endif +using UnityEngine.Rendering.UnifiedRayTracing; namespace UnityEngine.Rendering { partial class ProbeGIBaking { - // limit memory usage to ~200 MB (run multiple batches to keep below limit) - const int kMaxMemoryUsage = 200 * 1024 * 1024; + static int k_MaxProbeCountPerBatch = 65535; - const int kMinCommandsPerJob = 512; - const int kRayDirectionsPerPosition = 3 * 3 * 3 - 1; + static RayTracingContext m_RayTracingContext; + static IRayTracingAccelStruct m_RayTracingAccelerationStructure; + static IRayTracingShader m_RayTracingShader; - static List s_AddedOccluders; - static List s_ExcludedColliders; - static List s_ExcludedRigidBodies; + static int _Probes, _Offsets; - static void ApplyVirtualOffsets(Vector3[] positions, out Vector3[] offsets) + static void BuildAccelerationStructure(GIContributors? contribs, int mask) { - var cellToVolumes = GetTouchupsPerCell(out bool hasAppliers); + var contributors = contribs.HasValue ? contribs.Value : GIContributors.Find(GIContributors.ContributorFilter.All); - var voSettings = m_BakingSet.settings.virtualOffsetSettings; - if (!voSettings.useVirtualOffset) + foreach (var renderer in contributors.renderers) { - offsets = null; - return; - } - - ModifyPhysicsComponentsForBaking(); + int layerMask = 1 << renderer.component.gameObject.layer; + if ((layerMask & mask) == 0) + continue; - var queriesHitBackBefore = Physics.queriesHitBackfaces; - try - { - if (!queriesHitBackBefore) - Physics.queriesHitBackfaces = true; + var mesh = renderer.component.GetComponent().sharedMesh; + if (mesh == null) + continue; - AddOccluders(); - DoApplyVirtualOffsets(positions, out offsets, voSettings, cellToVolumes); + int subMeshCount = mesh.subMeshCount; + for (int i = 0; i < subMeshCount; ++i) + { + m_RayTracingAccelerationStructure.AddInstance(new MeshInstanceDesc(mesh, i) + { + localToWorldMatrix = renderer.component.transform.localToWorldMatrix, + enableTriangleCulling = false + }); + } } - finally + + foreach (var terrain in contributors.terrains) { - if (!queriesHitBackBefore) - Physics.queriesHitBackfaces = false; - - // We need to restore even if we are going to modify again because removing colliders from a volume component might lead to changes - // in rendering while baking is in process and this is undesirable. If we re-enable now the enabling/disabling all happen in a single frame. - RestorePhysicsComponentsAfterBaking(); - // We cleanup occluders here in case bake is cancelled by the user. We have to add them again later when the validity masks are processed. - CleanupOccluders(); + int layerMask = 1 << terrain.component.gameObject.layer; + if ((layerMask & mask) == 0) + continue; + + m_RayTracingAccelerationStructure.AddTerrain(new TerrainDesc(terrain.component) + { + localToWorldMatrix = terrain.component.transform.localToWorldMatrix, + enableTriangleCulling = false + }); } } - static void GeneratePhysicsComponentToModList() + static void CreateRayTracingResources() { - s_ExcludedColliders = new List(); - s_ExcludedRigidBodies = new List(); + if (m_RayTracingContext != null) + return; + + var backend = RayTracingContext.IsBackendSupported(RayTracingBackend.Hardware) ? RayTracingBackend.Compute : RayTracingBackend.Compute; + + var resources = ScriptableObject.CreateInstance(); + ResourceReloader.ReloadAllNullIn(resources, "Packages/com.unity.rendering.light-transport"); + Func fileLoader = (filename, type) => AssetDatabase.LoadAssetAtPath("Packages/com.unity.render-pipelines.core/" + filename, type); + + m_RayTracingContext = new RayTracingContext(backend, resources); + m_RayTracingShader = m_RayTracingContext.CreateRayTracingShader("Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset", fileLoader); + m_RayTracingAccelerationStructure = m_RayTracingContext.CreateAccelerationStructure(new AccelerationStructureOptions()); - // Scene may contain unwanted colliders (like Volumes for example) - // So we disable any collider not attached to a MeshRenderer before doing the baking. Otherwise it will mess up with virtual offset and validity. - var colliderObjects = Object.FindObjectsByType(FindObjectsInactive.Exclude, FindObjectsSortMode.InstanceID); - foreach (var collider in colliderObjects) + _Probes = Shader.PropertyToID("_Probes"); + _Offsets = Shader.PropertyToID("_Offsets"); + } + + // Duplicated in HLSL + struct ProbeData + { + public Vector3 position; + public float originBias; + public float tMax; + public float geometryBias; + public int probeIndex; + internal float _; + }; + + static void ApplyVirtualOffsets(GIContributors? contributors, Vector3[] positions, out Vector3[] offsets) + { + var voSettings = m_BakingSet.settings.virtualOffsetSettings; + if (!voSettings.useVirtualOffset) { - if (collider.enabled && (!GIContributors.ContributesGI(collider.gameObject) || !collider.TryGetComponent(out var _))) - s_ExcludedColliders.Add(collider); + offsets = null; + return; } - // Because we need to trigger physics update to update the physics search tree when adding new occluders - // rigid bodies might end up triggering the simulation, which is something we do not want. Therefore we force - // them to be kinematic and therefore blocking the forces for being applied. - var rigidbodies = Object.FindObjectsByType(FindObjectsInactive.Exclude, FindObjectsSortMode.InstanceID); - foreach (var rigidBody in rigidbodies) + var cellToVolumes = GetTouchupsPerCell(out bool hasAppliers); + offsets = new Vector3[positions.Length]; + + var scaleForSearchDist = voSettings.searchMultiplier; + if (scaleForSearchDist == 0.0f) { - if (!rigidBody.isKinematic) - s_ExcludedRigidBodies.Add(rigidBody); + if (hasAppliers) + DoApplyVirtualOffsetsFromAdjustmentVolumes(positions, offsets, cellToVolumes); + return; } - } + var computeBufferTarget = GraphicsBuffer.Target.CopyDestination | GraphicsBuffer.Target.CopySource + | GraphicsBuffer.Target.Structured | GraphicsBuffer.Target.Raw; + + // Allocate shared data + CreateRayTracingResources(); + BuildAccelerationStructure(contributors, voSettings.collisionMask); + + var cmd = new CommandBuffer(); + var probeData = new ProbeData[k_MaxProbeCountPerBatch]; + var batchResult = new Vector3[k_MaxProbeCountPerBatch]; + using var probeBuffer = new GraphicsBuffer(computeBufferTarget, k_MaxProbeCountPerBatch, Marshal.SizeOf()); + using var offsetBuffer = new GraphicsBuffer(computeBufferTarget, k_MaxProbeCountPerBatch, Marshal.SizeOf()); + using var scratchBuffer = RayTracingHelper.CreateScratchBufferForBuildAndDispatch(m_RayTracingAccelerationStructure, m_RayTracingShader, + (uint)k_MaxProbeCountPerBatch, 1, 1); + + // Setup RT structure + m_RayTracingAccelerationStructure.Build(cmd, scratchBuffer); + m_RayTracingShader.SetAccelerationStructure(cmd, "_AccelStruct", m_RayTracingAccelerationStructure); + m_RayTracingShader.SetBufferParam(cmd, _Probes, probeBuffer); + m_RayTracingShader.SetBufferParam(cmd, _Offsets, offsetBuffer); + + // Run virtual offset in batches + int batchPosIdx = 0; + float cellSize = m_ProfileInfo.cellSizeInMeters; + while (batchPosIdx < positions.Length) + { + // Prepare batch + int probeCountInBatch = 0; + var batchPosStart = batchPosIdx; + do + { + float rayOriginBias = voSettings.rayOriginBias; + float geometryBias = voSettings.outOfGeoOffset; - static void ModifyPhysicsComponentsForBaking() - { - foreach (var collider in s_ExcludedColliders) - collider.enabled = false; + int subdivLevel = m_BakingBatch.GetSubdivLevelAt(positions[batchPosIdx]); + var brickSize = ProbeReferenceVolume.CellSize(subdivLevel); + var searchDistance = (brickSize * m_ProfileInfo.minBrickSize) / ProbeBrickPool.kBrickCellCount; + var distanceSearch = scaleForSearchDist * searchDistance; + + int cellIndex = PosToIndex(Vector3Int.FloorToInt(positions[batchPosIdx] / cellSize)); + if (cellToVolumes.TryGetValue(cellIndex, out var volumes)) + { + bool adjusted = false; + foreach (var (touchup, obb, center, offset) in volumes.appliers) + { + if (touchup.ContainsPoint(obb, center, positions[batchPosIdx])) + { + positions[batchPosIdx] += offset; + offsets[batchPosIdx] = offset; + adjusted = true; + break; + } + } - foreach (var rigidBody in s_ExcludedRigidBodies) - rigidBody.isKinematic = true; + if (adjusted) + continue; + + foreach (var (touchup, obb, center) in volumes.overriders) + { + if (touchup.ContainsPoint(obb, center, positions[batchPosIdx])) + { + rayOriginBias = touchup.rayOriginBias; + geometryBias = touchup.geometryBias; + break; + } + } + } + + probeData[probeCountInBatch++] = new ProbeData + { + position = positions[batchPosIdx], + originBias = rayOriginBias, + tMax = distanceSearch, + geometryBias = geometryBias, + probeIndex = batchPosIdx, + }; + } + while (++batchPosIdx < positions.Length && probeCountInBatch < k_MaxProbeCountPerBatch); + + // Execute job + cmd.SetBufferData(probeBuffer, probeData); + m_RayTracingShader.Dispatch(cmd, scratchBuffer, (uint)probeCountInBatch, 1, 1); + + Graphics.ExecuteCommandBuffer(cmd); + cmd.Clear(); + + offsetBuffer.GetData(batchResult); + for (int i = 0; i < probeCountInBatch; i++) + { + positions[probeData[i].probeIndex] += batchResult[i]; + offsets[probeData[i].probeIndex] = batchResult[i]; + } + } + + m_RayTracingAccelerationStructure.ClearInstances(); + cmd.Dispose(); + + // If bake is triggered from the lighting pannel, we don't Dispose buffers now + if (ProbeVolumeLightingTab.instance == null) + Dispose(); } - static void RestorePhysicsComponentsAfterBaking() + static internal void Dispose() { - foreach (var collider in s_ExcludedColliders) - collider.enabled = true; - - foreach (var rigidBody in s_ExcludedRigidBodies) - rigidBody.isKinematic = false; + m_RayTracingAccelerationStructure?.Dispose(); + m_RayTracingAccelerationStructure = null; + m_RayTracingContext?.Dispose(); + m_RayTracingContext = null; } - static void AddOccluders() + static internal void RecomputeVOForDebugOnly() { - s_AddedOccluders = new List(); + var prv = ProbeReferenceVolume.instance; + if (prv.perSceneDataList.Count == 0) + return; - for (int sceneIndex = 0; sceneIndex < SceneManagement.SceneManager.sceneCount; ++sceneIndex) + var contributors = GIContributors.Find(GIContributors.ContributorFilter.All); + SetBakingContext(prv.perSceneDataList); + + if (!m_BakingSet.HasBeenBaked()) + return; + + globalBounds = prv.globalBounds; + CellCountInDirections(out minCellPosition, out maxCellPosition, prv.MaxBrickSize()); + cellCount = maxCellPosition + Vector3Int.one - minCellPosition; + + m_BakingBatch = new BakingBatch(128, cellCount); + m_ProfileInfo = new ProbeVolumeProfileInfo(); + ModifyProfileFromLoadedData(m_BakingSet); + + List positionList = new(); + Dictionary positionToIndex = new(); + foreach (var cell in ProbeReferenceVolume.instance.cells.Values) { - SceneManagement.Scene scene = SceneManagement.SceneManager.GetSceneAt(sceneIndex); - if (!scene.isLoaded) - continue; + var bakingCell = ConvertCellToBakingCell(cell.desc, cell.data); + + int numProbes = bakingCell.probePositions.Length; + int uniqueIndex = positionToIndex.Count; + var indices = new int[numProbes]; - GameObject[] gameObjects = scene.GetRootGameObjects(); - foreach (GameObject gameObject in gameObjects) + // DeduplicateProbePositions + for (int i = 0; i < numProbes; i++) { - MeshRenderer[] renderComponents = gameObject.GetComponentsInChildren(); - foreach (MeshRenderer mr in renderComponents) - { - if (GIContributors.ContributesGI(mr.gameObject) && !mr.gameObject.TryGetComponent(out _)) - { - var meshCollider = mr.gameObject.AddComponent(); - meshCollider.hideFlags |= HideFlags.DontSaveInEditor | HideFlags.DontSaveInBuild; + var pos = bakingCell.probePositions[i]; + int brickSubdiv = bakingCell.bricks[i / 64].subdivisionLevel; + int probeHash = m_BakingBatch.GetProbePositionHash(pos); - s_AddedOccluders.Add(meshCollider); - } + if (positionToIndex.TryGetValue(probeHash, out var index)) + { + indices[i] = index; + int oldBrickLevel = m_BakingBatch.uniqueBrickSubdiv[probeHash]; + if (brickSubdiv < oldBrickLevel) + m_BakingBatch.uniqueBrickSubdiv[probeHash] = brickSubdiv; + } + else + { + positionToIndex[probeHash] = uniqueIndex; + indices[i] = uniqueIndex; + m_BakingBatch.uniqueBrickSubdiv[probeHash] = brickSubdiv; + positionList.Add(pos); + uniqueIndex++; } } + + bakingCell.probeIndices = indices; + m_BakingBatch.cells.Add(bakingCell); + + // We need to force rebuild debug stuff. + cell.debugProbes = null; } - var autoSimState = Physics.simulationMode; - try + ApplyVirtualOffsets(contributors, positionList.ToArray(), out m_BakingBatch.virtualOffsets); + + foreach (var cell in m_BakingBatch.cells) { - Physics.simulationMode = SimulationMode.Script; - // We call this only to update the search tree with the newly added occluders. - Physics.Simulate(1e-4f); + int numProbes = cell.probePositions.Length; + for (int i = 0; i < numProbes; ++i) + { + int j = cell.probeIndices[i]; + cell.offsetVectors[i] = m_BakingBatch.virtualOffsets[j]; + } } - finally + + // Unload it all as we are gonna load back with newly written cells. + foreach (var sceneData in prv.perSceneDataList) + prv.AddPendingSceneRemoval(sceneData.sceneGUID); + + // Make sure unloading happens. + prv.PerformPendingOperations(); + + // Write back the assets. + WriteBakingCells(m_BakingBatch.cells.ToArray()); + + foreach (var data in prv.perSceneDataList) + data.ResolveCellData(); + + // We can now finally reload. + AssetDatabase.SaveAssets(); + AssetDatabase.Refresh(); + + m_BakingBatch = null; + + foreach (var sceneData in prv.perSceneDataList) { - Physics.simulationMode = autoSimState; + prv.AddPendingSceneLoading(sceneData.sceneGUID); } - } - private static void CleanupOccluders() - { - s_AddedOccluders?.ForEach(Object.DestroyImmediate); + prv.PerformPendingOperations(); } + } + partial class ProbeGIBaking + { struct TouchupsPerCell { public List<(ProbeTouchupVolume touchup, ProbeReferenceVolume.Volume obb, Vector3 center, Vector3 offset)> appliers; @@ -198,10 +364,9 @@ static Dictionary GetTouchupsPerCell(out bool hasAppliers) return cellToVolumes; } - static Vector3[] DoApplyVirtualOffsetsFromAdjustmentVolumes(Vector3[] positions, Dictionary cellToVolumes) + static Vector3[] DoApplyVirtualOffsetsFromAdjustmentVolumes(Vector3[] positions, Vector3[] offsets, Dictionary cellToVolumes) { float cellSize = m_ProfileInfo.cellSizeInMeters; - var offsets = new Vector3[positions.Length]; for (int i = 0; i < positions.Length; i++) { int cellIndex = PosToIndex(Vector3Int.FloorToInt(positions[i] / cellSize)); @@ -220,481 +385,5 @@ static Vector3[] DoApplyVirtualOffsetsFromAdjustmentVolumes(Vector3[] positions, } return offsets; } - - static void DoApplyVirtualOffsets(Vector3[] probePositions, out Vector3[] probeOffsets, VirtualOffsetSettings voSettings, Dictionary cellToVolumes) - { - var scaleForSearchDist = voSettings.searchMultiplier; - float rayOriginBias = voSettings.rayOriginBias; - float geometryBias = voSettings.outOfGeoOffset; - - if (scaleForSearchDist == 0.0f) - { - probeOffsets = DoApplyVirtualOffsetsFromAdjustmentVolumes(probePositions, cellToVolumes); - return; - } - - // Limit memory usage based on ray cast / hit structures (of which there are lots per position) - int maxPositionsPerBatch; - { - var rayCastBytesPerPosition = UnsafeUtility.SizeOf() * kRayDirectionsPerPosition; - var rayHitBytesPerPosition = UnsafeUtility.SizeOf() * kRayDirectionsPerPosition * voSettings.maxHitsPerRay; - var rayDataBytesPerPosition = rayCastBytesPerPosition + rayHitBytesPerPosition; - maxPositionsPerBatch = (kMaxMemoryUsage / 2) / rayDataBytesPerPosition; - -#if VERBOSE - Debug.Log($"Running virtual offset over {(probePositions.Length + maxPositionsPerBatch - 1)/maxPositionsPerBatch} batches."); -#endif - } - - // This data is shared across all jobs - var positions = new NativeArray(probePositions, Allocator.TempJob); - var offsets = new NativeArray(probePositions.Length, Allocator.TempJob, NativeArrayOptions.ClearMemory); - var searchDistanceForPosition = new NativeArray(positions.Length, Allocator.TempJob, NativeArrayOptions.UninitializedMemory); - var rayOriginBiasForPosition = new NativeArray(positions.Length, Allocator.TempJob, NativeArrayOptions.UninitializedMemory); - var geometryBiasForPosition = new NativeArray(positions.Length, Allocator.TempJob, NativeArrayOptions.UninitializedMemory); - var positionIndex = new NativeArray(positions.Length, Allocator.TempJob, NativeArrayOptions.UninitializedMemory); - - // Allocate ray cast/hit data - var raycastCommands = new[] - { - new NativeArray(maxPositionsPerBatch * kRayDirectionsPerPosition, Allocator.TempJob, NativeArrayOptions.UninitializedMemory), - new NativeArray(maxPositionsPerBatch * kRayDirectionsPerPosition, Allocator.TempJob, NativeArrayOptions.UninitializedMemory) - }; - { - // We need to set a known per-ray maxHits up-front since raycast command schedule reads this at schedule time. This is a bit annoying but it's a - // price we'll have to pay right now to be able to create commands from a job. - QueryParameters queryParams = new QueryParameters(); - queryParams.hitBackfaces = true; - queryParams.layerMask = 0; - var defaultRaycastCommand = new RaycastCommand(Vector3.zero, Vector3.zero, queryParams, 0f); - for (var i = 0; i < maxPositionsPerBatch * kRayDirectionsPerPosition; ++i) - raycastCommands[0][i] = raycastCommands[1][i] = defaultRaycastCommand; - } - var raycastHits = new[] - { - new NativeArray(maxPositionsPerBatch * kRayDirectionsPerPosition * voSettings.maxHitsPerRay, Allocator.TempJob, NativeArrayOptions.UninitializedMemory), - new NativeArray(maxPositionsPerBatch * kRayDirectionsPerPosition * voSettings.maxHitsPerRay,Allocator.TempJob, NativeArrayOptions.UninitializedMemory) - }; - - // Create job data - var createRayCastCommandsJob = new CreateRayCastCommandsJob - { - voSettings = voSettings, - positions = positions, - positionIndex = positionIndex, - searchDistanceForPosition = searchDistanceForPosition, - rayOriginBiasForPosition = rayOriginBiasForPosition, - queryParams = new QueryParameters(voSettings.collisionMask, true, QueryTriggerInteraction.UseGlobal, true), - }; - var pushOutGeometryJob = new PushOutGeometryJob - { - voSettings = voSettings, - positions = positions, - offsets = offsets, - geometryBiasForPosition = geometryBiasForPosition, - positionIndex = positionIndex, - }; - var jobHandles = new JobHandle[2]; - - try - { -#if VERBOSE - var positionsWithColliders = 0; -#endif - - int nextBatchIdx = 1; - int batchPosIdx = 0; - float cellSize = m_ProfileInfo.cellSizeInMeters; - while (batchPosIdx < positions.Length) - { - // Run a quick overlap check for each search box before setting up rays for the position - int overlapCount = 0; - var batchPosStart = batchPosIdx; - do { - int subdivLevel = m_BakingBatch.GetSubdivLevelAt(positions[batchPosIdx]); - var brickSize = ProbeReferenceVolume.CellSize(subdivLevel); - var searchDistance = (brickSize * m_ProfileInfo.minBrickSize) / ProbeBrickPool.kBrickCellCount; - var distanceSearch = scaleForSearchDist * searchDistance; - - int cellIndex = PosToIndex(Vector3Int.FloorToInt(positions[batchPosIdx] / cellSize)); - bool hasTouchups = cellToVolumes.TryGetValue(cellIndex, out var volumes), adjusted = false; - if (hasTouchups) - { - foreach (var (touchup, obb, center, offset) in volumes.appliers) - { - if (touchup.ContainsPoint(obb, center, positions[batchPosIdx])) - { - positions[batchPosIdx] += offset; - offsets[batchPosIdx] = offset; - adjusted = true; - break; - } - } - } - - if (!adjusted && Physics.CheckBox(positions[batchPosIdx], new Vector3(distanceSearch, distanceSearch, distanceSearch), Quaternion.identity, voSettings.collisionMask)) - { - if (hasTouchups) - { - foreach (var (touchup, obb, center) in volumes.overriders) - { - if (touchup.ContainsPoint(obb, center, positions[batchPosIdx])) - { - rayOriginBias = touchup.rayOriginBias; - geometryBias = touchup.geometryBias; - break; - } - } - } - - positionIndex[batchPosStart + overlapCount] = batchPosIdx; - searchDistanceForPosition[batchPosStart + overlapCount] = distanceSearch; - rayOriginBiasForPosition[batchPosStart + overlapCount] = rayOriginBias; - geometryBiasForPosition[batchPosStart + overlapCount] = geometryBias; - ++overlapCount; - } - } - while (++batchPosIdx < positions.Length && overlapCount < maxPositionsPerBatch); - - // Swap buffers and sync any already running job at that slot - nextBatchIdx = 1 - nextBatchIdx; - jobHandles[nextBatchIdx].Complete(); - - var raycastCommandsSub = raycastCommands[nextBatchIdx].GetSubArray(0, overlapCount * kRayDirectionsPerPosition); - var raycastHitsSub = raycastHits[nextBatchIdx].GetSubArray(0, overlapCount * kRayDirectionsPerPosition * voSettings.maxHitsPerRay); - - // Assign ranges and ray/hit arrays - createRayCastCommandsJob.startIdx = batchPosStart; - createRayCastCommandsJob.raycastCommands = raycastCommandsSub; - createRayCastCommandsJob.raycastHits = raycastHitsSub; - - pushOutGeometryJob.startIdx = batchPosStart; - pushOutGeometryJob.raycastCommands = raycastCommandsSub; - pushOutGeometryJob.raycastHits = raycastHitsSub; - -#if VERBOSE - positionsWithColliders += overlapCount; - Debug.Log($"Dispatching batch {batchPosStart} - {batchPosStart+overlapCount} using index {nextBatchIdx} (accumulated colliders {positionsWithColliders})"); -#endif - -#if USE_JOBS - // Kick off jobs immediately - var createRayCastCommandsJobHandle = createRayCastCommandsJob.Schedule(overlapCount, 32); - var raycastCommandsJobHandle = RaycastCommand.ScheduleBatch(raycastCommandsSub, raycastHitsSub, kMinCommandsPerJob, voSettings.maxHitsPerRay, createRayCastCommandsJobHandle); - jobHandles[nextBatchIdx] = pushOutGeometryJob.Schedule(overlapCount, 16, raycastCommandsJobHandle); - JobHandle.ScheduleBatchedJobs(); -#else - // Run jobs in-place for easier debugging - createRayCastCommandsJob.Run(overlapCount); - RaycastCommand.ScheduleBatch(raycastCommandsSub, raycastHitsSub, kMinCommandsPerJob, voSettings.maxHitsPerRay).Complete(); - pushOutGeometryJob.Run(overlapCount); -#endif - } - - // Sync any in-flight jobs (order doesn't matter) - JobHandle.CompleteAll(ref jobHandles[0], ref jobHandles[1]); - - // Copy out result data - positions.CopyTo(probePositions); - probeOffsets = offsets.ToArray(); - -#if VERBOSE - Debug.Log($"Earlied out {positions.Length - positionsWithColliders}/{positions.Length} probe positions from virtual offset."); - Debug.Log($"Working memory used: {(raycastCommands[0].Length * UnsafeUtility.SizeOf() * 2 + raycastHits[0].Length * UnsafeUtility.SizeOf() * 2) / 1024 / 1024} MB"); -#endif - } - catch (System.Exception e) - { - Debug.LogException(e); - JobHandle.CompleteAll(ref jobHandles[0], ref jobHandles[1]); - probeOffsets = null; - } - finally - { - positions.Dispose(); - offsets.Dispose(); - searchDistanceForPosition.Dispose(); - rayOriginBiasForPosition.Dispose(); - geometryBiasForPosition.Dispose(); - positionIndex.Dispose(); - - raycastCommands[0].Dispose(); - raycastCommands[1].Dispose(); - raycastHits[0].Dispose(); - raycastHits[1].Dispose(); - } - } - - // A job that creates raycast commands for any probe position that has passed the initial - // overlap culling test. Rays are created in the directions of a 3d grid around the center - // position. (3^3-1 rays per position) -#if USE_BURST - [BurstCompile] -#endif - struct CreateRayCastCommandsJob : IJobParallelFor - { - [ReadOnly] public VirtualOffsetSettings voSettings; - [NativeDisableContainerSafetyRestriction] - [ReadOnly] public NativeArray positions; - [NativeDisableContainerSafetyRestriction] - [ReadOnly] public NativeArray positionIndex; - [NativeDisableContainerSafetyRestriction] - [ReadOnly] public NativeArray searchDistanceForPosition; - [NativeDisableContainerSafetyRestriction] - [ReadOnly] public NativeArray rayOriginBiasForPosition; - - [ReadOnly] public int startIdx; - - [NativeDisableContainerSafetyRestriction] - [WriteOnly] public NativeArray raycastCommands; - [NativeDisableContainerSafetyRestriction] - [WriteOnly] public NativeArray raycastHits; - - public QueryParameters queryParams; - - public void Execute(int i) - { - int posIdx = positionIndex[i + startIdx]; - var position = positions[posIdx]; - var searchDistance = searchDistanceForPosition[i + startIdx]; - var rayOriginBias = rayOriginBiasForPosition[i + startIdx]; - - int cmdIdx = i * kRayDirectionsPerPosition; - - // Clear result array because raycast job won't return the actual number of hits :( - for (var j = 0; j < kRayDirectionsPerPosition * voSettings.maxHitsPerRay; ++j) - raycastHits[cmdIdx * voSettings.maxHitsPerRay + j] = default; - for (var j = 0; j < kRayDirectionsPerPosition; ++j) - { - var direction = kRayDirections[j]; - var origin = position + direction * rayOriginBias; - raycastCommands[cmdIdx++] = new RaycastCommand(origin, direction, queryParams, searchDistance); - } - } - - // Typed out in a way Burst understands. - const float k0 = 0, k1 = 1, k2 = (float)0.70710678118654752440084436210485, k3 = (float)0.57735026918962576450914878050196; - static readonly Vector3[] kRayDirections = - { - new(-k3, +k3, -k3), // -1 1 -1 - new( k0, +k2, -k2), // 0 1 -1 - new(+k3, +k3, -k3), // 1 1 -1 - new(-k2, +k2, k0), // -1 1 0 - new( k0, +k1, k0), // 0 1 0 - new(+k2, +k2, k0), // 1 1 0 - new(-k3, +k3, +k3), // -1 1 1 - new( k0, +k2, +k2), // 0 1 1 - new(+k3, +k3, +k3), // 1 1 1 - - new(-k2, k0, -k2), // -1 0 -1 - new( k0, k0, -k1), // 0 0 -1 - new(+k2, k0, -k2), // 1 0 -1 - new(-k1, k0, k0), // -1 0 0 - // k0, k0, k0 - skip center position (which would be a zero-length ray) - new(+k1, k0, k0), // 1 0 0 - new(-k2, k0, +k2), // -1 0 1 - new( k0, k0, +k1), // 0 0 1 - new(+k2, k0, +k2), // 1 0 1 - - new(-k3, -k3, -k3), // -1 -1 -1 - new( k0, -k2, -k2), // 0 -1 -1 - new(+k3, -k3, -k3), // 1 -1 -1 - new(-k2, -k2, k0), // -1 -1 0 - new( k0, -k1, k0), // 0 -1 0 - new(+k2, -k2, k0), // 1 -1 0 - new(-k3, -k3, +k3), // -1 -1 1 - new( k0, -k2, +k2), // 0 -1 1 - new(+k3, -k3, +k3), // 1 -1 1 - }; - } - - // A job that pushes probe positions out of geometry based on raycast results. -#if USE_BURST - [BurstCompile] -#endif - struct PushOutGeometryJob : IJobParallelFor - { - [ReadOnly] public VirtualOffsetSettings voSettings; - - [NativeDisableContainerSafetyRestriction] - [ReadOnly] public NativeArray positionIndex; - - [ReadOnly] public int startIdx; - - [ReadOnly] public NativeArray raycastCommands; - [ReadOnly] public NativeArray raycastHits; - - [NativeDisableContainerSafetyRestriction] - public NativeArray positions; - - [NativeDisableContainerSafetyRestriction] - [WriteOnly] public NativeArray offsets; - - [NativeDisableContainerSafetyRestriction] - [ReadOnly] public NativeArray geometryBiasForPosition; - - public void Execute(int i) - { - int cmdIdx = i * kRayDirectionsPerPosition; - int posIdx = positionIndex[i + startIdx]; - float geometryBias = geometryBiasForPosition[i + startIdx]; - var offset = PushOutOfGeometry(cmdIdx, geometryBias, voSettings.maxHitsPerRay); - positions[posIdx] += offset; - offsets[posIdx] = offset; - } - - static bool IsNewBestHit(float newDistance, float oldDistance, float newDot, float oldDot) - { - const float kDistanceThreshold = 5e-5f; - const float kDotThreshold = 1e-2f; - - var distanceDiff = newDistance - oldDistance; - - // If new distance is smaller by at least kDistanceThreshold, we accept it as our new best ray. - var newBestHit = distanceDiff < -kDistanceThreshold; - - // If new distance is larger but by no more than kDistanceThreshold, and ray is at least kDotThreshold more colinear with normal, accept it as new best ray - if (!newBestHit && distanceDiff < kDistanceThreshold && newDot - oldDot > kDotThreshold) - newBestHit = true; - - return newBestHit; - } - - void GetClosestColliderHit(int hitIdx, Vector3 outRay, int maxHitsPerRay, out float distance, out float dotSurface) - { - distance = float.MaxValue; - dotSurface = -1f; - - for (var n = hitIdx + maxHitsPerRay; hitIdx < n; ++hitIdx) - { - var hit = raycastHits[hitIdx]; - if (hit.colliderInstanceID == 0) - break; - - var dotRaySurface = Vector3.Dot(outRay, hit.normal); - if (IsNewBestHit(hit.distance, distance, dotRaySurface, dotSurface)) - { - distance = hit.distance; - dotSurface = dotRaySurface; - } - } - } - - Vector3 PushOutOfGeometry(int cmdIdx, float biasOutGeo, int maxHitsPerRay) - { - var minDist = float.MaxValue; - var maxDotSurface = -1f; - var outDirection = Vector3.zero; - - var hitIdx = cmdIdx * maxHitsPerRay; - for (var i = 0; i < kRayDirectionsPerPosition; ++i, hitIdx += maxHitsPerRay) - { - var outBoundRay = raycastCommands[cmdIdx++]; - GetClosestColliderHit(hitIdx, outBoundRay.direction, maxHitsPerRay, out var distanceForDir, out var dotSurface); - - if (distanceForDir < float.MaxValue) - { - // If any of the closest hit is outside, we are not inside geometry so we don't want to virtual offset. - // TO VERIFY: Is this too harsh? Should we allow some level of hit of a front face? - if (dotSurface < 0f) return Vector3.zero; - - if (IsNewBestHit(distanceForDir, minDist, dotSurface, maxDotSurface)) - { - outDirection = outBoundRay.direction; - minDist = distanceForDir; - maxDotSurface = dotSurface; - } - } - } - - if (minDist < float.MaxValue) - return outDirection * (minDist * 1.05f + biasOutGeo); - - return Vector3.zero; - } - } - - static internal void RecomputeVOForDebugOnly() - { - var prv = ProbeReferenceVolume.instance; - GeneratePhysicsComponentToModList(); - if (prv.perSceneDataList.Count > 0) - { - SetBakingContext(prv.perSceneDataList); - } - else return; - - - globalBounds = prv.globalBounds; - CellCountInDirections(out minCellPosition, out maxCellPosition, prv.MaxBrickSize()); - cellCount = maxCellPosition + Vector3Int.one - minCellPosition; - - m_BakingBatch = new BakingBatch(128, cellCount); - - List bakingCells = new List(); - - foreach (var cell in ProbeReferenceVolume.instance.cells.Values) - { - var bakingCell = ConvertCellToBakingCell(cell.desc, cell.data); - var positions = bakingCell.probePositions; - - for (int i = 0; i < positions.Length; ++i) - { - int probeHash = m_BakingBatch.GetProbePositionHash(positions[i]); - int subdivLevel = bakingCell.bricks[i / 64].subdivisionLevel; - if (m_BakingBatch.uniqueBrickSubdiv.TryGetValue(probeHash, out int currSubdiv)) - { - subdivLevel = Mathf.Min(subdivLevel, currSubdiv); - } - m_BakingBatch.uniqueBrickSubdiv[probeHash] = subdivLevel; - } - - ApplyVirtualOffsets(bakingCell.probePositions, out Vector3[] newOffsets); - - // Remove offsets before handing it over for debug - for (int i = 0; i < positions.Length; ++i) - { - bakingCell.probePositions[i] -= newOffsets[i]; - } - - bakingCell.offsetVectors = newOffsets; - - // We need to force rebuild debug stuff. - cell.debugProbes = null; - - bakingCells.Add(bakingCell); - } - - RestorePhysicsComponentsAfterBaking(); - CleanupOccluders(); - - // Unload it all as we are gonna load back with newly written cells. - foreach (var sceneData in prv.perSceneDataList) - { - prv.AddPendingSceneRemoval(sceneData.sceneGUID); - } - - // Make sure unloading happens. - prv.PerformPendingOperations(); - - // Write back the assets. - WriteBakingCells(bakingCells.ToArray()); - - foreach (var data in prv.perSceneDataList) - { - data.ResolveCellData(); - } - - // We can now finally reload. - AssetDatabase.SaveAssets(); - AssetDatabase.Refresh(); - - foreach (var sceneData in prv.perSceneDataList) - { - prv.AddPendingSceneLoading(sceneData.sceneGUID); - } - - prv.PerformPendingOperations(); - } } } diff --git a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeGIBaking.cs b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeGIBaking.cs index 5b6619be534..e9c14547a4e 100644 --- a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeGIBaking.cs +++ b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeGIBaking.cs @@ -158,7 +158,8 @@ public BakingProfiling(T stage, ref T currentStage) currentStage = stage; UpdateProgressBar(stage); - Profiling.Profiler.BeginSample(stage.ToString()); + if (LogFile != null) + Profiling.Profiler.BeginSample(stage.ToString()); } public void OnDispose(ref T currentStage) @@ -166,7 +167,8 @@ public void OnDispose(ref T currentStage) if (disposed) return; disposed = true; - Profiling.Profiler.EndSample(); + if (LogFile != null) + Profiling.Profiler.EndSample(); UpdateProgressBar(prevStage); currentStage = prevStage; @@ -185,6 +187,7 @@ public class BakingSetupProfiling : BakingProfiling public enum Stages { + OnBakeStarted, PrepareWorldSubdivision, EnsurePerSceneDataInOpenScenes, FindWorldBounds, @@ -209,7 +212,6 @@ public class BakingCompleteProfiling : BakingProfiling RemapBakedCells(bool isBakingSubset) newCells.Add(oldIndex, cell); } } - } + } return oldToNewCellRemapping; } @@ -1012,11 +1014,6 @@ static public void ApplyPostBakeOperations(NativeArray sh, } } - using (new BakingCompleteProfiling(BakingCompleteProfiling.Stages.AddOccluders)) - AddOccluders(); - - ModifyPhysicsComponentsForBaking(); - // Fetch results of all cells using var fetchScope = new BakingCompleteProfiling(BakingCompleteProfiling.Stages.FetchResults); BakingCompleteProfiling.GetProgressRange(out float progress0, out float progress1); @@ -1186,9 +1183,6 @@ static public void ApplyPostBakeOperations(NativeArray sh, } fetchScope.Dispose(); - RestorePhysicsComponentsAfterBaking(); - CleanupOccluders(); - m_BakingBatchIndex = 0; // Force maximum sh bands to perform baking, we need to store what sh bands was selected from the settings as we need to restore it after. @@ -1475,44 +1469,54 @@ static BakingCell ConvertCellToBakingCell(CellDesc cellDesc, CellData cellData) // Runtime data layout is for GPU consumption. // We need to convert it back to a linear layout for the baking cell. - int brickCount = probeCount / ProbeBrickPool.kBrickProbeCountTotal; int probeIndex = 0; + int chunkOffsetInProbes = 0; + var chunksCount = cellDesc.shChunkCount; var chunkSizeInProbes = ProbeBrickPool.GetChunkSizeInProbeCount(); Vector3Int locSize = ProbeBrickPool.ProbeCountToDataLocSize(chunkSizeInProbes); var blackSH = GetBlackSH(); - for (int brickIndex = 0; brickIndex < brickCount; ++brickIndex) + for (int chunkIndex = 0; chunkIndex < chunksCount; ++chunkIndex) { - int chunkIndex = brickIndex / ProbeBrickPool.GetChunkSizeInBrickCount(); var cellChunkData = GetCellChunkData(cellData, chunkIndex); - for (int z = 0; z < ProbeBrickPool.kBrickProbeCountPerDim; z++) + for (int brickIndex = 0; brickIndex < m_BakingSet.chunkSizeInBricks; ++brickIndex) { - for (int y = 0; y < ProbeBrickPool.kBrickProbeCountPerDim; y++) + if (probeIndex >= probeCount) + break; + + for (int z = 0; z < ProbeBrickPool.kBrickProbeCountPerDim; z++) { - for (int x = 0; x < ProbeBrickPool.kBrickProbeCountPerDim; x++) + for (int y = 0; y < ProbeBrickPool.kBrickProbeCountPerDim; y++) { - var remappedIndex = GetProbeGPUIndex(brickIndex, x, y, z, locSize); + for (int x = 0; x < ProbeBrickPool.kBrickProbeCountPerDim; x++) + { + var remappedIndex = GetProbeGPUIndex(brickIndex, x, y, z, locSize); - // Scenario data can be invalid due to partially baking the set. - if (cellChunkData.scenarioValid) - ReadFullFromShaderCoeffsL0L1L2(ref bc.sh[probeIndex], cellChunkData.shL0L1RxData, cellChunkData.shL1GL1RyData, cellChunkData.shL1BL1RzData, - cellChunkData.shL2Data_0, cellChunkData.shL2Data_1, cellChunkData.shL2Data_2, cellChunkData.shL2Data_3, remappedIndex); - else - bc.sh[probeIndex] = blackSH; + // Scenario data can be invalid due to partially baking the set. + if (cellChunkData.scenarioValid) + ReadFullFromShaderCoeffsL0L1L2(ref bc.sh[probeIndex], cellChunkData.shL0L1RxData, cellChunkData.shL1GL1RyData, cellChunkData.shL1BL1RzData, + cellChunkData.shL2Data_0, cellChunkData.shL2Data_1, cellChunkData.shL2Data_2, cellChunkData.shL2Data_3, remappedIndex); + else + bc.sh[probeIndex] = blackSH; + + bc.validityNeighbourMask[probeIndex] = cellChunkData.validityNeighMaskData[remappedIndex]; - bc.probePositions[probeIndex] = cellData.probePositions[remappedIndex]; - bc.validity[probeIndex] = cellData.validity[remappedIndex]; - bc.validityNeighbourMask[probeIndex] = cellChunkData.validityNeighMaskData[remappedIndex]; - bc.touchupVolumeInteraction[probeIndex] = cellData.touchupVolumeInteraction[remappedIndex]; - if (hasVirtualOffsets) - bc.offsetVectors[probeIndex] = cellData.offsetVectors[remappedIndex]; + remappedIndex += chunkOffsetInProbes; + bc.probePositions[probeIndex] = cellData.probePositions[remappedIndex]; + bc.validity[probeIndex] = cellData.validity[remappedIndex]; + bc.touchupVolumeInteraction[probeIndex] = cellData.touchupVolumeInteraction[remappedIndex]; + if (hasVirtualOffsets) + bc.offsetVectors[probeIndex] = cellData.offsetVectors[remappedIndex]; - probeIndex++; + probeIndex++; + } } } } + + chunkOffsetInProbes += chunkSizeInProbes; } return bc; @@ -1685,10 +1689,9 @@ unsafe static void WriteBakingCells(BakingCell[] bakingCells) for (var i = 0; i < bakingCells.Length; ++i) { + AnalyzeBrickForIndirectionEntries(ref bakingCells[i]); var bakingCell = bakingCells[i]; - AnalyzeBrickForIndirectionEntries(ref bakingCell); - m_BakingSet.cellDescs.Add(bakingCell.index, new CellDesc { position = bakingCell.position, @@ -1841,7 +1844,7 @@ unsafe static void WriteBakingCells(BakingCell[] bakingCells) positionsChunkTarget[index] = Vector3.zero; touchupVolumeInteractionChunkTarget[index] = 0.0f; if (hasVirtualOffsets) - offsetChunkTarget[index] = Vector3.zero; + offsetChunkTarget[index] = Vector3.zero; } else { @@ -2064,16 +2067,9 @@ public static void OnBakeCompletedCleanup() UnityEditor.Experimental.Lightmapping.additionalBakedProbesCompleted -= OnAdditionalProbesBakeCompleted; if (m_BakingBatch != null) UnityEditor.Experimental.Lightmapping.SetAdditionalBakedProbes(m_BakingBatch.index, null); - - RestorePhysicsComponentsAfterBaking(); - CleanupOccluders(); } } - s_ExcludedColliders = null; - s_ExcludedRigidBodies = null; - s_AddedOccluders = null; - // We need to reset that view ProbeReferenceVolume.instance.ResetDebugViewToMaxSubdiv(); } @@ -2083,6 +2079,7 @@ public static Vector3[] RunPlacement() ClearBakingBatch(); ProbeSubdivisionResult result; + GIContributors? contributors = null; float prevBrickSize = ProbeReferenceVolume.instance.MinBrickSize(); int prevMaxSubdiv = ProbeReferenceVolume.instance.GetMaxSubdivision(); @@ -2096,6 +2093,7 @@ public static Vector3[] RunPlacement() else { var ctx = PrepareProbeSubdivisionContext(); + contributors = ctx.contributors; // Subdivide the scene and place the bricks using (new BakingSetupProfiling(BakingSetupProfiling.Stages.BakeBricks)) @@ -2108,7 +2106,7 @@ public static Vector3[] RunPlacement() { float brickSize = m_ProfileInfo.minBrickSize; Matrix4x4 newRefToWS = Matrix4x4.TRS(Vector3.zero, Quaternion.identity, new Vector3(brickSize, brickSize, brickSize)); - ApplySubdivisionResults(result, newRefToWS, out positions); + ApplySubdivisionResults(result, contributors, newRefToWS, out positions); } // Restore loaded asset settings @@ -2228,11 +2226,14 @@ public static void ModifyProfileFromLoadedData(ProbeVolumeBakingSet bakingSet) } // Converts brick information into positional data at kBrickProbeCountPerDim * kBrickProbeCountPerDim * kBrickProbeCountPerDim resolution - internal static void ConvertBricksToPositions(ref BakingCell cell, Brick[] bricks, Vector3[] outProbePositions, int[] outBrickSubdiv) + internal static void ConvertBricksToPositions(Brick[] bricks, out Vector3[] outProbePositions, out int[] outBrickSubdiv) { int posIdx = 0; float scale = ProbeReferenceVolume.instance.MinBrickSize() / ProbeBrickPool.kBrickCellCount; + outProbePositions = new Vector3[bricks.Length * ProbeBrickPool.kBrickProbeCountTotal]; + outBrickSubdiv = new int[bricks.Length * ProbeBrickPool.kBrickProbeCountTotal]; + foreach (var b in bricks) { int brickSize = ProbeReferenceVolume.CellSize(b.subdivisionLevel); @@ -2248,6 +2249,7 @@ internal static void ConvertBricksToPositions(ref BakingCell cell, Brick[] brick outProbePositions[posIdx] = (Vector3)probeOffset * scale; outBrickSubdiv[posIdx] = b.subdivisionLevel; + posIdx++; } } @@ -2261,7 +2263,7 @@ static int PosToIndex(Vector3Int pos) return normalizedPos.z * (cellCount.x * cellCount.y) + normalizedPos.y * cellCount.x + normalizedPos.x; } - public static void ApplySubdivisionResults(ProbeSubdivisionResult results, Matrix4x4 refToWS, out Vector3[] positions) + public static void ApplySubdivisionResults(ProbeSubdivisionResult results, GIContributors? contributors, Matrix4x4 refToWS, out Vector3[] positions) { // For now we just have one baking batch. Later we'll have more than one for a set of scenes. // All probes need to be baked only once for the whole batch and not once per cell @@ -2278,8 +2280,8 @@ public static void ApplySubdivisionResults(ProbeSubdivisionResult results, Matri if (++i % 10 == 0) EditorUtility.DisplayProgressBar("Baking Probe Volumes", $"({i} of {results.cells.Count}) Subdivide Cell", Mathf.Lerp(progress0, progress1, i / (float)results.cells.Count)); - var probePositions = new Vector3[bricks.Length * ProbeBrickPool.kBrickProbeCountTotal]; - var brickSubdivLevels = new int[bricks.Length * ProbeBrickPool.kBrickProbeCountTotal]; + ConvertBricksToPositions(bricks, out var probePositions, out var brickSubdivLevels); + DeduplicateProbePositions(in probePositions, in brickSubdivLevels, positionToIndex, m_BakingBatch, positionList, out var probeIndices); BakingCell cell = new BakingCell() { @@ -2288,11 +2290,9 @@ public static void ApplySubdivisionResults(ProbeSubdivisionResult results, Matri bounds = bounds, bricks = bricks, probePositions = probePositions, + probeIndices = probeIndices, }; - ConvertBricksToPositions(ref cell, bricks, probePositions, brickSubdivLevels); - DeduplicateProbePositions(in probePositions, in brickSubdivLevels, positionToIndex, m_BakingBatch, positionList, out cell.probeIndices); - m_BakingBatch.cells.Add(cell); m_BakingBatch.cellIndex2SceneReferences[cell.index] = new HashSet(results.scenesPerCells[cell.position]); } @@ -2301,7 +2301,7 @@ public static void ApplySubdivisionResults(ProbeSubdivisionResult results, Matri // Virtually offset positions before passing them to lightmapper using (new BakingSetupProfiling(BakingSetupProfiling.Stages.ApplyVirtualOffsets)) - ApplyVirtualOffsets(positions, out m_BakingBatch.virtualOffsets); + ApplyVirtualOffsets(contributors, positions, out m_BakingBatch.virtualOffsets); } } } diff --git a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeBakingProcessSettingsDrawer.cs b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeBakingProcessSettingsDrawer.cs index 26e6a273cb4..6caff94d806 100644 --- a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeBakingProcessSettingsDrawer.cs +++ b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeBakingProcessSettingsDrawer.cs @@ -17,7 +17,6 @@ static class Styles public static readonly GUIContent virtualOffsetSearchMultiplier = EditorGUIUtility.TrTextContent("Search Distance Multiplier", "Determines the length of the sampling ray Unity uses to search for valid probe positions."); public static readonly GUIContent virtualOffsetBiasOutGeometry = EditorGUIUtility.TrTextContent("Geometry Bias", "Determines how far Unity pushes a probe out of geometry after a ray hit."); public static readonly GUIContent virtualOffsetRayOriginBias = EditorGUIUtility.TrTextContent("Ray Origin Bias", "Distance from the probe position used to determine the origin of the sampling ray."); - public static readonly GUIContent virtualOffsetMaxHitsPerRay = EditorGUIUtility.TrTextContent("Max Ray Hits", "How many collisions to allow per ray before determining the Virtual Offset probe position."); public static readonly GUIContent virtualOffsetCollisionMask = EditorGUIUtility.TrTextContent("Layer Mask", "Layers to include in collision calculations for Virtual Offset."); public static readonly GUIContent dilationSettingsTitle = EditorGUIUtility.TrTextContent("Probe Dilation Settings"); @@ -94,13 +93,11 @@ void DrawVirtualOffsetSettings(SerializedProperty virtualOffsetSettings) var virtualOffsetGeometrySearchMultiplier = virtualOffsetSettings.FindPropertyRelative("searchMultiplier"); var virtualOffsetBiasOutOfGeometry = virtualOffsetSettings.FindPropertyRelative("outOfGeoOffset"); var virtualOffsetRayOriginBias = virtualOffsetSettings.FindPropertyRelative("rayOriginBias"); - var virtualOffsetMaxHitsPerRay = virtualOffsetSettings.FindPropertyRelative("maxHitsPerRay"); var virtualOffsetCollisionMask = virtualOffsetSettings.FindPropertyRelative("collisionMask"); EditorGUILayout.PropertyField(virtualOffsetGeometrySearchMultiplier, Styles.virtualOffsetSearchMultiplier); EditorGUILayout.PropertyField(virtualOffsetBiasOutOfGeometry, Styles.virtualOffsetBiasOutGeometry); EditorGUILayout.PropertyField(virtualOffsetRayOriginBias, Styles.virtualOffsetRayOriginBias); - EditorGUILayout.PropertyField(virtualOffsetMaxHitsPerRay, Styles.virtualOffsetMaxHitsPerRay); EditorGUILayout.PropertyField(virtualOffsetCollisionMask, Styles.virtualOffsetCollisionMask); GUILayout.BeginHorizontal(); diff --git a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeBakingSetEditor.cs b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeBakingSetEditor.cs index a48fbd3fda3..d1029073253 100644 --- a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeBakingSetEditor.cs +++ b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeBakingSetEditor.cs @@ -39,7 +39,7 @@ static class Styles public static readonly string msgProbeFreeze = "Some scene(s) in this Baking Set are not currently loaded in the Hierarchy. Set Probe Positions to Don't Recalculate to not break compatibility with already baked scenarios."; public static readonly GUIContent maxDistanceBetweenProbes = new GUIContent("Max Probe Spacing", "Maximum distance between probes, in meters. Determines the number of bricks in a streamable unit."); public static readonly GUIContent minDistanceBetweenProbes = new GUIContent("Min Probe Spacing", "Minimum distance between probes, in meters."); - public static readonly string simplificationLevelsHighWarning = "High simplification levels have a big memory overhead, they are not recommended except for testing purposes."; + public static readonly string simplificationLevelsHighWarning = "A high number of brick size causes a big memory overhead, this is not recommended except for testing purposes."; public static readonly GUIContent indexDimensions = new GUIContent("Index Dimensions", "The dimensions of the index buffer."); public static readonly GUIContent minRendererVolumeSize = new GUIContent("Min Renderer Size", "The smallest Renderer size to consider when placing probes."); public static readonly GUIContent renderersLayerMask = new GUIContent("Layer Mask", "Specify Layers to use when generating probe positions."); @@ -157,10 +157,10 @@ void ProbePlacementGUI() SimplificationLevelsSlider(); - int levels = m_SimplificationLevels.intValue + 1; + int levels = ProbeVolumeBakingSet.GetMaxSubdivision(m_SimplificationLevels.intValue); MessageType helpBoxType = MessageType.Info; - string helpBoxText = $"Probe Volumes can use a maximum of {levels} subdivision levels."; - if (levels == 5) + string helpBoxText = $"Baked data will contain up to {levels} different size of bricks."; + if (levels == 6) { helpBoxType = MessageType.Warning; helpBoxText += "\n" + Styles.simplificationLevelsHighWarning; diff --git a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeEditor.cs b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeEditor.cs index e0e4c578acc..de1272ab611 100644 --- a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeEditor.cs +++ b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeEditor.cs @@ -35,6 +35,7 @@ internal static void APVDisabledHelpBox() { string apvDisabledErrorMsg = "Probe Volumes are not enabled."; var renderPipelineAssetType = GraphicsSettings.currentRenderPipelineAssetType; + var messageType = MessageType.Warning; // HDRP if (renderPipelineAssetType != null && renderPipelineAssetType.Name == "HDRenderPipelineAsset") @@ -52,7 +53,7 @@ internal static void APVDisabledHelpBox() var k_QualitySettingsHelpBox = Type.GetType("UnityEditor.Rendering.HighDefinition.HDEditorUtils,Unity.RenderPipelines.HighDefinition.Editor") .GetMethod("QualitySettingsHelpBoxForReflection", BindingFlags.Static | BindingFlags.NonPublic); - k_QualitySettingsHelpBox.Invoke(null, new object[] { apvDisabledErrorMsg, MessageType.Error, lightingGroup, probeVolume, "m_RenderPipelineSettings.lightProbeSystem" }); + k_QualitySettingsHelpBox.Invoke(null, new object[] { apvDisabledErrorMsg, messageType, lightingGroup, probeVolume, "m_RenderPipelineSettings.lightProbeSystem" }); } // URP @@ -63,13 +64,13 @@ internal static void APVDisabledHelpBox() var k_QualitySettingsHelpBox = Type.GetType("UnityEditor.Rendering.Universal.EditorUtils,Unity.RenderPipelines.Universal.Editor") .GetMethod("QualitySettingsHelpBox", BindingFlags.Static | BindingFlags.NonPublic); - k_QualitySettingsHelpBox.Invoke(null, new object[] { apvDisabledErrorMsg, MessageType.Error, "m_LightProbeSystem" }); + k_QualitySettingsHelpBox.Invoke(null, new object[] { apvDisabledErrorMsg, messageType, "m_LightProbeSystem" }); } // Custom pipelines else { - EditorGUILayout.HelpBox(apvDisabledErrorMsg, MessageType.Error); + EditorGUILayout.HelpBox(apvDisabledErrorMsg, messageType); } } diff --git a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeLightingTab.cs b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeLightingTab.cs index 7bb89b2d556..10892331c21 100644 --- a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeLightingTab.cs +++ b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeLightingTab.cs @@ -28,7 +28,7 @@ static class Styles { public static readonly GUIContent helpIcon = EditorGUIUtility.IconContent("_Help"); public static readonly GUIContent settingsIcon = EditorGUIUtility.IconContent("_Popup"); - public static readonly GUIContent debugIcon = EditorGUIUtility.IconContent("DebuggerEnabled"); + public static readonly GUIContent debugIcon = EditorGUIUtility.IconContent("d_debug"); public static readonly GUIContent lightingSettings = new GUIContent("Lighting Settings Asset"); public static readonly GUIContent bakingTitle = new GUIContent("Baking"); @@ -209,6 +209,8 @@ public override void OnDisable() Undo.undoRedoEvent -= OnUndoRedo; EditorSceneManager.sceneOpened -= OnSceneOpened; + + ProbeGIBaking.Dispose(); } void OnUndoRedo(in UndoRedoInfo info) @@ -272,6 +274,11 @@ public override void OnHeaderSettingsGUI() var rect = GUILayoutUtility.GetRect(iconSize.x, iconSize.y); if (EditorGUI.DropdownButton(rect, Styles.settingsIcon, FocusType.Passive, EditorStyles.iconButton)) EditorUtility.DisplayCustomMenu(rect, new[] { EditorGUIUtility.TrTextContent("Open Debug Window") }, -1, OpenProbeVolumeDebugPanel, null); + + //var style = new GUIStyle(EditorStyles.iconButton); + //style.padding = new RectOffset(1, 1, 1, 1); + //if (GUI.Button(rect, Styles.debugIcon, style)) + // OpenProbeVolumeDebugPanel(null, null, 0); } void OpenProbeVolumeDebugPanel(object userData, string[] options, int selected) diff --git a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeUI.Drawer.cs b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeUI.Drawer.cs index e19bc6d162b..3d2e2b9b432 100644 --- a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeUI.Drawer.cs +++ b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeUI.Drawer.cs @@ -146,15 +146,6 @@ static void Drawer_VolumeContent(SerializedProbeVolume serialized, Editor owner) EditorGUILayout.LabelField("Subdivision Override", EditorStyles.boldLabel); SubdivisionRange(serialized, maxSubdiv, minDistance); - if (hasProfile) - { - int minSubdivInVolume = serialized.overridesSubdivision.boolValue ? serialized.lowestSubdivisionLevelOverride.intValue : 0; - int maxSubdivInVolume = serialized.overridesSubdivision.boolValue ? serialized.highestSubdivisionLevelOverride.intValue : maxSubdiv; - - EditorGUILayout.HelpBox($"Number of simplification levels will vary between {maxSubdiv - maxSubdivInVolume} and {maxSubdiv - minSubdivInVolume}", MessageType.Info); - } - - EditorGUILayout.Space(); } EditorGUI.EndDisabledGroup(); diff --git a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset.meta b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset.meta new file mode 100644 index 00000000000..85442358b97 --- /dev/null +++ b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: dfcc0fb5ecf4d6c4e8654b6853578ceb +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset.compute b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset.compute new file mode 100644 index 00000000000..40cb66736c4 --- /dev/null +++ b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset.compute @@ -0,0 +1,24 @@ +#define RAYTRACING_BACKEND_COMPUTE +#define GROUP_SIZE_X 16 +#define GROUP_SIZE_Y 1 +#define RAYTRACING_GROUP_SIZE (GROUP_SIZE_X*GROUP_SIZE_Y) + +#include "TraceVirtualOffset.hlsl" + +int g_DispatchWidth; +int g_DispatchHeight; +int g_DispatchDepth; + +#pragma kernel MainRayGenShader + +[numthreads(GROUP_SIZE_X, GROUP_SIZE_Y, 1)] +void MainRayGenShader(uint3 gidx : SV_DispatchThreadID, uint lidx : SV_GroupIndex) +{ + UnifiedRT::DispatchInfo dispatchInfo; + dispatchInfo.dispatchThreadID = gidx; + dispatchInfo.dispatchDimensionsInThreads = int3(g_DispatchWidth, g_DispatchHeight, g_DispatchDepth); + dispatchInfo.localThreadIndex = lidx; + dispatchInfo.globalThreadIndex = gidx.x + gidx.y * g_DispatchWidth + gidx.z * (g_DispatchWidth* g_DispatchHeight); + + RayGenExecute(dispatchInfo); +} diff --git a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset.compute.meta b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset.compute.meta new file mode 100644 index 00000000000..bddf368997e --- /dev/null +++ b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset.compute.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 805f10d263aac4b4098c0279cd37a4f3 +ComputeShaderImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset.hlsl b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset.hlsl new file mode 100644 index 00000000000..b091bae65ee --- /dev/null +++ b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset.hlsl @@ -0,0 +1,112 @@ +#include "Packages/com.unity.rendering.light-transport/Runtime/UnifiedRayTracing/FetchGeometry.hlsl" +#include "Packages/com.unity.rendering.light-transport/Runtime/UnifiedRayTracing/TraceRay.hlsl" + +#undef FLT_MAX // fix redefinition warning + +#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl" +#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Sampling/Sampling.hlsl" + +#define SAMPLE_COUNT (3*3*3 - 1) + +static const float k0 = 0, k1 = 1, k2 = 0.70710678118654752440084436210485f, k3 = 0.57735026918962576450914878050196f; +static const float3 k_RayDirections[SAMPLE_COUNT] = { + float3(-k3, +k3, -k3), // -1 1 -1 + float3( k0, +k2, -k2), // 0 1 -1 + float3(+k3, +k3, -k3), // 1 1 -1 + float3(-k2, +k2, k0), // -1 1 0 + float3( k0, +k1, k0), // 0 1 0 + float3(+k2, +k2, k0), // 1 1 0 + float3(-k3, +k3, +k3), // -1 1 1 + float3( k0, +k2, +k2), // 0 1 1 + float3(+k3, +k3, +k3), // 1 1 1 + + float3(-k2, k0, -k2), // -1 0 -1 + float3( k0, k0, -k1), // 0 0 -1 + float3(+k2, k0, -k2), // 1 0 -1 + float3(-k1, k0, k0), // -1 0 0 + // k0, k0, k0 - skip center position (which would be a zero-length ray) + float3(+k1, k0, k0), // 1 0 0 + float3(-k2, k0, +k2), // -1 0 1 + float3( k0, k0, +k1), // 0 0 1 + float3(+k2, k0, +k2), // 1 0 1 + + float3(-k3, -k3, -k3), // -1 -1 -1 + float3( k0, -k2, -k2), // 0 -1 -1 + float3(+k3, -k3, -k3), // 1 -1 -1 + float3(-k2, -k2, k0), // -1 -1 0 + float3( k0, -k1, k0), // 0 -1 0 + float3(+k2, -k2, k0), // 1 -1 0 + float3(-k3, -k3, +k3), // -1 -1 1 + float3( k0, -k2, +k2), // 0 -1 1 + float3(+k3, -k3, +k3), // 1 -1 1; +}; + +UNITY_DECLARE_RT_ACCEL_STRUCT(_AccelStruct); + +struct ProbeData +{ + float3 position; + float originBias; + float tMax; + float geometryBias; + float padding2; + float padding3; +}; + +StructuredBuffer _Probes; +RWStructuredBuffer _Offsets; + +void RayGenExecute(UnifiedRT::DispatchInfo dispatchInfo) +{ + ProbeData probe = _Probes[dispatchInfo.globalThreadIndex]; + float3 outDirection = 0.0f; + float maxDotSurface = -1; + float minDist = FLT_MAX; + + UnifiedRT::Ray ray; + ray.tMax = probe.tMax; + ray.tMin = 0.0f; + + UnifiedRT::RayTracingAccelStruct accelStruct = UNITY_GET_RT_ACCEL_STRUCT(_AccelStruct); + + for (uint i = 0; i < SAMPLE_COUNT; ++i) + { + ray.direction = k_RayDirections[i]; + ray.origin = probe.position + probe.originBias * ray.direction; + + UnifiedRT::Hit hit = UnifiedRT::TraceRayClosestHit(dispatchInfo, accelStruct, 0xFFFFFFFF, ray, 0); + + float kDistanceThreshold = 5e-5f; + float kDotThreshold = 1e-2f; + + float distanceDiff = hit.hitDistance - minDist; + if (hit.IsValid() && distanceDiff < kDistanceThreshold) + { + //accelStruct.instanceList[hit.instanceIndex].userMaterialID; + + // If any of the closest hit is outside, we are not inside geometry so we don't want to virtual offset. + // TO VERIFY: Is this too harsh? Should we allow some level of hit of a front face? + if (hit.isFrontFace) + { + outDirection = 0.0f; + break; + } + + UnifiedRT::HitGeomAttributes attributes = UnifiedRT::FetchHitGeomAttributes(accelStruct, hit, UnifiedRT::kGeomAttribFaceNormal); + float dotSurface = dot(ray.direction, attributes.faceNormal); + + // If new distance is smaller by at least kDistanceThreshold, or if ray is at least kDotThreshold more colinear with normal + if (distanceDiff < -kDistanceThreshold || dotSurface - maxDotSurface > kDotThreshold) + { + outDirection = ray.direction; + maxDotSurface = dotSurface; + minDist = hit.hitDistance; + } + } + } + + if (minDist == FLT_MAX) + minDist = 0.0f; + + _Offsets[dispatchInfo.globalThreadIndex] = (minDist * 1.05f + probe.geometryBias) * outDirection; +} diff --git a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset.hlsl.meta b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset.hlsl.meta new file mode 100644 index 00000000000..c47112a7bb1 --- /dev/null +++ b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset.hlsl.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: e27d9e40febc1dc47833236fa205216a +ShaderIncludeImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset.raytrace b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset.raytrace new file mode 100644 index 00000000000..98a68c09c88 --- /dev/null +++ b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset.raytrace @@ -0,0 +1,22 @@ +#define RAYTRACING_BACKEND_HARDWARE +#include "TraceVirtualOffset.hlsl" + +#pragma max_recursion_depth 1 + +[shader("raygeneration")] +void MainRayGenShader() +{ + UnifiedRT::DispatchInfo dispatchInfo; + dispatchInfo.dispatchThreadID = DispatchRaysIndex(); + dispatchInfo.dispatchDimensionsInThreads = DispatchRaysDimensions(); + dispatchInfo.localThreadIndex = 0; + dispatchInfo.globalThreadIndex = DispatchRaysIndex().x + DispatchRaysIndex().y * DispatchRaysDimensions().x + DispatchRaysIndex().z * (DispatchRaysDimensions().x * DispatchRaysDimensions().y); + + RayGenExecute(dispatchInfo); +} + +[shader("miss")] +void MainMissShader0(inout UnifiedRT::Hit hit : SV_RayPayload) +{ + hit.instanceIndex = -1; +} diff --git a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset.raytrace.meta b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset.raytrace.meta new file mode 100644 index 00000000000..fed2be30f87 --- /dev/null +++ b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/VirtualOffset/TraceVirtualOffset.raytrace.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: b60511f4aa1443f4d8c0b18f4fec92f4 +RayTracingShaderImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.core/Editor/Unity.RenderPipelines.Core.Editor.asmdef b/Packages/com.unity.render-pipelines.core/Editor/Unity.RenderPipelines.Core.Editor.asmdef index 8799c2794bd..21a4a1ba1a1 100644 --- a/Packages/com.unity.render-pipelines.core/Editor/Unity.RenderPipelines.Core.Editor.asmdef +++ b/Packages/com.unity.render-pipelines.core/Editor/Unity.RenderPipelines.Core.Editor.asmdef @@ -4,7 +4,8 @@ "references": [ "GUID:df380645f10b7bc4b97d4f5eb6303d95", "GUID:2665a8d13d1b3f18800f46e256720795", - "GUID:d8b63aba1907145bea998dd612889d6b" + "GUID:d8b63aba1907145bea998dd612889d6b", + "GUID:214c0945bb158c940aada223f3223ee8" ], "includePlatforms": [ "Editor" diff --git a/Packages/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeReferenceVolume.cs b/Packages/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeReferenceVolume.cs index af492c0e8c9..4185b897ac3 100644 --- a/Packages/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeReferenceVolume.cs +++ b/Packages/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeReferenceVolume.cs @@ -1349,11 +1349,6 @@ void PerformPendingLoading() void PerformPendingDeletion() { - if (!m_ProbeReferenceVolumeInit) - { - m_PendingScenesToBeUnloaded.Clear(); // If we are not init, we have not loaded yet. - } - foreach (var unloadRequest in m_PendingScenesToBeUnloaded) { RemovePendingScene(unloadRequest.Key, unloadRequest.Value); @@ -1575,17 +1570,22 @@ internal void Clear() { if (m_ProbeReferenceVolumeInit) { - // Need to do that first because some assets may be in the process of being removed. - PerformPendingOperations(); - - UnloadAllCells(); - m_Pool.Clear(); - m_BlendingPool.Clear(); - m_Index.Clear(); - cells.Clear(); - - Debug.Assert(m_ToBeLoadedCells.size == 0); - Debug.Assert(m_LoadedCells.size == 0); + try + { + // Need to do that first because some assets may be in the process of being removed. + PerformPendingOperations(); + } + finally + { + UnloadAllCells(); + m_Pool.Clear(); + m_BlendingPool.Clear(); + m_Index.Clear(); + cells.Clear(); + + Debug.Assert(m_ToBeLoadedCells.size == 0); + Debug.Assert(m_LoadedCells.size == 0); + } } if (clearAssetsOnVolumeClear) @@ -1914,6 +1914,8 @@ void DeinitProbeReferenceVolume() ClearDebugData(); m_ProbeReferenceVolumeInit = false; + m_PendingScenesToBeUnloaded.Clear(); + m_ActiveScenes.Clear(); } /// diff --git a/Packages/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeVolumeBakingProcessSettings.cs b/Packages/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeVolumeBakingProcessSettings.cs index 7db4a38421d..7004437ce4e 100644 --- a/Packages/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeVolumeBakingProcessSettings.cs +++ b/Packages/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeVolumeBakingProcessSettings.cs @@ -28,7 +28,6 @@ internal struct VirtualOffsetSettings [Range(0f, 1f)] public float outOfGeoOffset; [Range(0f, 2f)] public float searchMultiplier; [Range(-0.05f, 0f)] public float rayOriginBias; - [Range(4, 24)] public int maxHitsPerRay; public LayerMask collisionMask; internal void SetDefaults() @@ -44,7 +43,6 @@ internal void UpgradeFromTo(ProbeVolumeBakingProcessSettings.SettingsVersion fro if (from < ProbeVolumeBakingProcessSettings.SettingsVersion.ThreadedVirtualOffset && to >= ProbeVolumeBakingProcessSettings.SettingsVersion.ThreadedVirtualOffset) { rayOriginBias = -0.001f; - maxHitsPerRay = 10; collisionMask = Physics.DefaultRaycastLayers; } } diff --git a/Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/LensFlareCommonSRP.cs b/Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/LensFlareCommonSRP.cs index dc5335452b3..26bbc84584a 100644 --- a/Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/LensFlareCommonSRP.cs +++ b/Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/LensFlareCommonSRP.cs @@ -373,6 +373,21 @@ static public float ShapeAttenuationAreaDiscLight(Vector3 forward, Vector3 wo) return ShapeAttenuateForwardLight(forward, wo); } + static bool IsLensFlareSRPHidden(Camera cam, LensFlareComponentSRP comp, LensFlareDataSRP data) + { + if (!comp.enabled || + !comp.gameObject.activeSelf || + !comp.gameObject.activeInHierarchy || + data == null || + data.elements == null || + data.elements.Length == 0 || + comp.intensity <= 0.0f || + ((cam.cullingMask & (1 << comp.gameObject.layer)) == 0)) + return true; + + return false; + } + /// /// Compute internal parameters needed to render single flare /// @@ -502,15 +517,9 @@ static public bool IsCloudLayerOpacityNeeded(Camera cam) LensFlareComponentSRP comp = info.comp; LensFlareDataSRP data = comp.lensFlareData; - if (!comp.enabled || - !comp.gameObject.activeSelf || - !comp.gameObject.activeInHierarchy || - data == null || - data.elements == null || - data.elements.Length == 0 || + if (IsLensFlareSRPHidden(cam, comp, data) || !comp.useOcclusion || - (comp.useOcclusion && comp.sampleCount == 0) || - comp.intensity <= 0.0f) + (comp.useOcclusion && comp.sampleCount == 0)) continue; if (comp.useBackgroundCloudOcclusion) @@ -729,13 +738,7 @@ static public void ComputeOcclusion(Material lensFlareShader, Camera cam, LensFlareComponentSRP comp = info.comp; LensFlareDataSRP data = comp.lensFlareData; - if (!comp.enabled || - !comp.gameObject.activeSelf || - !comp.gameObject.activeInHierarchy || - data == null || - data.elements == null || - data.elements.Length == 0 || - comp.intensity <= 0.0f || + if (IsLensFlareSRPHidden(cam, comp, data) || !comp.useOcclusion || (comp.useOcclusion && comp.sampleCount == 0)) continue; @@ -1026,13 +1029,7 @@ static public void DoLensFlareDataDrivenCommon(Material lensFlareShader, Camera LensFlareComponentSRP comp = info.comp; LensFlareDataSRP data = comp.lensFlareData; - if (!comp.enabled || - !comp.gameObject.activeSelf || - !comp.gameObject.activeInHierarchy || - data == null || - data.elements == null || - data.elements.Length == 0 || - comp.intensity <= 0.0f) + if (IsLensFlareSRPHidden(cam, comp, data)) continue; #if UNITY_EDITOR diff --git a/Packages/com.unity.render-pipelines.core/ShaderLibrary/API/FoveatedRendering_Metal.hlsl b/Packages/com.unity.render-pipelines.core/ShaderLibrary/API/FoveatedRendering_Metal.hlsl index 62130036b81..22e8f0fc04e 100644 --- a/Packages/com.unity.render-pipelines.core/ShaderLibrary/API/FoveatedRendering_Metal.hlsl +++ b/Packages/com.unity.render-pipelines.core/ShaderLibrary/API/FoveatedRendering_Metal.hlsl @@ -1,7 +1,7 @@ #ifndef UNITY_FOVEATED_RENDERING_METAL_INCLUDED #define UNITY_FOVEATED_RENDERING_METAL_INCLUDED -#if defined(SHADER_API_METAL) && defined(_FOVEATED_RENDERING_NON_UNIFORM_RASTER) && !defined(UNITY_COMPILER_DXC) +#if !defined(UNITY_COMPILER_DXC) && (defined(UNITY_PLATFORM_OSX) || defined(UNITY_PLATFORM_IOS)) // These are tokens that hlslcc is looking for in order // to inject variable rasterization rate MSL code. @@ -108,7 +108,7 @@ return uv * _ScreenSize.xy; } - + // Adapt old remap functions to their new name float2 RemapFoveatedRenderingResolve(float2 uv) { return RemapFoveatedRenderingLinearToNonUniform(uv); } float2 RemapFoveatedRenderingPrevFrameResolve(float2 uv) {return RemapFoveatedRenderingPrevFrameLinearToNonUniform(uv); } @@ -116,6 +116,6 @@ float2 RemapFoveatedRenderingPrevFrameDistort(float2 uv) { return RemapFoveatedRenderingPrevFrameNonUniformToLinear(uv); } int2 RemapFoveatedRenderingDistortCS(int2 positionCS, bool yflip) { return RemapFoveatedRenderingNonUniformToLinearCS(positionCS, yflip); } -#endif // SHADER_API_METAL && _FOVEATED_RENDERING_NON_UNIFORM_RASTER && !UNITY_COMPILER_DXC +#endif #endif // UNITY_FOVEATED_RENDERING_METAL_INCLUDED diff --git a/Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl b/Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl index 1a98bb5c08f..6c4031107c6 100644 --- a/Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl +++ b/Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl @@ -1,13 +1,18 @@ #ifndef UNITY_FOVEATED_RENDERING_INCLUDED #define UNITY_FOVEATED_RENDERING_INCLUDED -#if defined(_FOVEATED_RENDERING_NON_UNIFORM_RASTER) -# if defined(SHADER_API_PS5) -# include "Packages/com.unity.render-pipelines.ps5/ShaderLibrary/API/FoveatedRendering_PSSL.hlsl" -# endif -# if defined(SHADER_API_METAL) -# include "Packages/com.unity.render-pipelines.core/ShaderLibrary/API/FoveatedRendering_Metal.hlsl" -# endif +#if (!defined(UNITY_COMPILER_DXC) && (defined(UNITY_PLATFORM_OSX) || defined(UNITY_PLATFORM_IOS))) || \ + defined(SHADER_API_PS5) + +#define SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER 1 + +#if defined(SHADER_API_PS5) + #include "Packages/com.unity.render-pipelines.ps5/ShaderLibrary/API/FoveatedRendering_PSSL.hlsl" #endif +#if defined(SHADER_API_METAL) + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/API/FoveatedRendering_Metal.hlsl" +#endif + +#endif #endif // UNITY_FOVEATED_RENDERING_INCLUDED diff --git a/Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl b/Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl new file mode 100644 index 00000000000..eb0d4625042 --- /dev/null +++ b/Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl @@ -0,0 +1,18 @@ +#ifndef UNITY_FOVEATED_RENDERING_KEYWORDS_INCLUDED +#define UNITY_FOVEATED_RENDERING_KEYWORDS_INCLUDED + +#if (!defined(UNITY_COMPILER_DXC) && (defined(UNITY_PLATFORM_OSX) || defined(UNITY_PLATFORM_IOS))) || \ + defined(SHADER_API_PS5) + +#define SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER 1 + +// On Metal Foveated Rendering is currently not supported with DXC +#pragma warning (disable : 3568) // unknown pragma ignored + +#pragma never_use_dxc metal +#pragma dynamic_branch _ _FOVEATED_RENDERING_NON_UNIFORM_RASTER + +#pragma warning (default : 3568) // restore unknown pragma ignored + +#endif +#endif // UNITY_FOVEATED_RENDERING_KEYWORDS_INCLUDED diff --git a/Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl.meta b/Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl.meta new file mode 100644 index 00000000000..ba7efe2c969 --- /dev/null +++ b/Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: c32bc6ee3c5a47b5829b4db408c79d3b +timeCreated: 1688113951 \ No newline at end of file diff --git a/Packages/com.unity.render-pipelines.core/package.json b/Packages/com.unity.render-pipelines.core/package.json index 3723fbcab59..0c70dbf05ca 100644 --- a/Packages/com.unity.render-pipelines.core/package.json +++ b/Packages/com.unity.render-pipelines.core/package.json @@ -9,6 +9,7 @@ "com.unity.ugui": "2.0.0", "com.unity.modules.physics": "1.0.0", "com.unity.modules.terrain": "1.0.0", - "com.unity.modules.jsonserialize": "1.0.0" + "com.unity.modules.jsonserialize": "1.0.0", + "com.unity.rendering.light-transport": "1.0.0" } } \ No newline at end of file diff --git a/Packages/com.unity.render-pipelines.high-definition/CHANGELOG.md b/Packages/com.unity.render-pipelines.high-definition/CHANGELOG.md index 5531c448ba8..3e244cdb40f 100644 --- a/Packages/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/Packages/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -15,6 +15,7 @@ This version is compatible with Unity 2023.3.0a1. ### Changed - Stripping or IRenderPipelineGraphicsSettings. +- Removed Static Batching (disabled) requirement from HDRP Wizard. Static Batching is now supported with ray tracing. ### Fixed - Fix leak with Compute Buffer from APV Resources. diff --git a/Packages/com.unity.render-pipelines.high-definition/Documentation~/probevolumes-settings.md b/Packages/com.unity.render-pipelines.high-definition/Documentation~/probevolumes-settings.md index 3a0a8dc6ab2..6c2c94d4742 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Documentation~/probevolumes-settings.md +++ b/Packages/com.unity.render-pipelines.high-definition/Documentation~/probevolumes-settings.md @@ -147,10 +147,6 @@ This section appears only if you enable **Lighting Scenarios** under **Light Pro Ray Origin bias Set the distance between a probe's center and the point HDRP uses to determine the origin of that probe's sampling ray. High values may cause unwanted results, such as sampling from an area of the scene with dissimilar lighting. - - Max Ray Hits - Set how many times a sampling ray hits geometry before HDRP determines the position of the probe where that ray originated. - Layer Mask Specify which layers HDRP includes in collision calculations for [Virtual Offset](probevolumes-fixissues.html). diff --git a/Packages/com.unity.render-pipelines.high-definition/Editor/Wizard/HDWizard.Configuration.cs b/Packages/com.unity.render-pipelines.high-definition/Editor/Wizard/HDWizard.Configuration.cs index 4b07c03b772..239608aa89c 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Editor/Wizard/HDWizard.Configuration.cs +++ b/Packages/com.unity.render-pipelines.high-definition/Editor/Wizard/HDWizard.Configuration.cs @@ -198,7 +198,6 @@ Entry[] BuildEntryList() { new Entry(QualityScope.Global, InclusiveMode.DXROptional, Style.dxrAutoGraphicsAPIWarning_WindowsOnly, IsDXRAutoGraphicsAPICorrect_WindowsOnly, FixDXRAutoGraphicsAPI_WindowsOnly), new Entry(QualityScope.Global, InclusiveMode.DXROptional, Style.dxrD3D12Warning_WindowsOnly, IsDXRDirect3D12Correct_WindowsOnly, FixDXRDirect3D12_WindowsOnly), - new Entry(QualityScope.Global, InclusiveMode.DXR, Style.dxrStaticBatching, IsDXRStaticBatchingCorrect, FixDXRStaticBatching), new Entry(QualityScope.CurrentQuality, InclusiveMode.DXR, Style.dxrActivated, IsDXRActivationCorrect, FixDXRActivation), new Entry(QualityScope.Global, InclusiveMode.DXR, Style.dxrBuildTarget, IsValidBuildTarget, FixBuildTarget), new Entry(QualityScope.Global, InclusiveMode.DXR, Style.dxrResources, IsDXRResourcesCorrect, FixDXRResources), @@ -210,7 +209,6 @@ Entry[] BuildEntryList() { new Entry(QualityScope.Global, InclusiveMode.DXR, Style.dxrAutoGraphicsAPI, IsDXRAutoGraphicsAPICorrect, FixDXRAutoGraphicsAPI), new Entry(QualityScope.Global, InclusiveMode.DXR, Style.dxrD3D12, IsDXRDirect3D12Correct, FixDXRDirect3D12), - new Entry(QualityScope.Global, InclusiveMode.DXR, Style.dxrStaticBatching, IsDXRStaticBatchingCorrect, FixDXRStaticBatching), new Entry(QualityScope.CurrentQuality, InclusiveMode.DXR, Style.dxrActivated, IsDXRActivationCorrect, FixDXRActivation), new Entry(QualityScope.Global, InclusiveMode.DXR, Style.dxrBuildTarget, IsValidBuildTarget, FixBuildTarget), new Entry(QualityScope.Global, InclusiveMode.DXR, Style.dxrResources, IsDXRResourcesCorrect, FixDXRResources), @@ -870,14 +868,6 @@ void FixBuildTarget(bool fromAsyncUnused) EditorUserBuildSettings.SwitchActiveBuildTarget(BuildTargetGroup.Standalone, BuildTarget.StandaloneWindows64); } - bool IsDXRStaticBatchingCorrect() - => !GetStaticBatching(CalculateSelectedBuildTarget()); - - void FixDXRStaticBatching(bool fromAsyncUnused) - { - SetStaticBatching(CalculateSelectedBuildTarget(), false); - } - bool IsDXRActivationCorrect() => HDRenderPipeline.currentAsset != null && HDRenderPipeline.currentAsset.currentPlatformRenderPipelineSettings.supportRayTracing; diff --git a/Packages/com.unity.render-pipelines.high-definition/Editor/Wizard/HDWizard.Window.cs b/Packages/com.unity.render-pipelines.high-definition/Editor/Wizard/HDWizard.Window.cs index d8432232470..81695f4dc37 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Editor/Wizard/HDWizard.Window.cs +++ b/Packages/com.unity.render-pipelines.high-definition/Editor/Wizard/HDWizard.Window.cs @@ -190,9 +190,6 @@ public ConfigStyle(string label, string error, string button = null, MessageType public static readonly ConfigStyle dxrBuildTarget = new ConfigStyle( label: L10n.Tr("Build Target"), error: L10n.Tr("To build your Project as a Unity Player your build target must be StandaloneWindows64, Playstation5 or Xbox series X")); - public static readonly ConfigStyle dxrStaticBatching = new ConfigStyle( - label: L10n.Tr("Static Batching"), - error: L10n.Tr("Static Batching is not supported!")); public static readonly ConfigStyle dxrActivated = new ConfigStyle( label: L10n.Tr("DXR activated"), error: L10n.Tr("DXR is not activated!")); diff --git a/Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs b/Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs index 7ddbbe21e63..3ca6e791258 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs +++ b/Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs @@ -624,7 +624,6 @@ public HDRenderPipeline(HDRenderPipelineAsset asset) supportGPUStreaming = m_Asset.currentPlatformRenderPipelineSettings.supportProbeVolumeGPUStreaming }); RegisterRetrieveOfProbeVolumeExtraDataAction(); - SupportedRenderingFeatures.active.overridesLightProbeSystemWarningMessage = "This Light Probe system is not active because the pipeline uses Probe Volumes and the systems cannot co-exist. To disable Probe Volumes make sure the feature is disabled in the lighting section of the active HDRP Asset."; } m_SkyManager.Build(asset, runtimeResources, m_IBLFilterArray); diff --git a/Packages/com.unity.render-pipelines.high-definition/Runtime/Water/HDRenderPipeline.WaterSystem.cs b/Packages/com.unity.render-pipelines.high-definition/Runtime/Water/HDRenderPipeline.WaterSystem.cs index 58c48745241..8dc3a16bcea 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Runtime/Water/HDRenderPipeline.WaterSystem.cs +++ b/Packages/com.unity.render-pipelines.high-definition/Runtime/Water/HDRenderPipeline.WaterSystem.cs @@ -1074,8 +1074,7 @@ WaterGBuffer RenderWaterGBuffer(RenderGraph renderGraph, CullingResults cull, HD { colorFormat = GraphicsFormat.R8G8B8A8_UNorm, enableRandomWrite = true, name = "Water GBuffer 3", fallBackToBlackTexture = true }); BufferHandle indirectBuffer = renderGraph.CreateBuffer(new BufferDesc((WaterConsts.k_NumWaterVariants + 1) * 3, sizeof(uint), GraphicsBuffer.Target.IndirectArguments) { name = "Water Deferred Indirect" }); - BufferHandle tileBuffer = renderGraph.CreateBuffer(new BufferDesc((WaterConsts.k_NumWaterVariants + 1) * numTiles * m_MaxViewCount, - sizeof(uint), GraphicsBuffer.Target.Append) { name = "Water Deferred Tiles" }); + BufferHandle tileBuffer = renderGraph.CreateBuffer(new BufferDesc((WaterConsts.k_NumWaterVariants + 1) * numTiles * m_MaxViewCount, sizeof(uint)) { name = "Water Deferred Tiles" }); // Set the textures handles for the water gbuffer outputGBuffer.waterGBuffer0 = WaterGbuffer0; diff --git a/Packages/com.unity.render-pipelines.universal/Documentation~/renderer-features/how-to-custom-effect-render-objects.md b/Packages/com.unity.render-pipelines.universal/Documentation~/renderer-features/how-to-custom-effect-render-objects.md index dd4b1450588..7c7a8ef5446 100644 --- a/Packages/com.unity.render-pipelines.universal/Documentation~/renderer-features/how-to-custom-effect-render-objects.md +++ b/Packages/com.unity.render-pipelines.universal/Documentation~/renderer-features/how-to-custom-effect-render-objects.md @@ -138,5 +138,3 @@ With the extra `Character` Renderer Feature, Unity renders GameObjects as follow 2. The `DrawCharacterBehind` Renderer Feature draws parts of the character that are behind other GameObjects. This happens in the **AfterRenderingOpaques** event. 3. The `Character` Renderer Feature draws parts of the character that are in front of other GameObjects. This happens in the **AfterRenderingOpaques** event, and after executing the `DrawCharacterBehind` Renderer Feature. - -To see another use case of the Render Objects Renderer Feature, refer to the **Object Occlusion** scene in the [Universal Rendering Examples](https://github.com/Unity-Technologies/UniversalRenderingExamples) project. diff --git a/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/ShaderPassDecal.hlsl b/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/ShaderPassDecal.hlsl index 587e7885997..7822eec0f6c 100644 --- a/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/ShaderPassDecal.hlsl +++ b/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/ShaderPassDecal.hlsl @@ -55,9 +55,7 @@ #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/NormalReconstruction.hlsl" #endif -#if defined(_FOVEATED_RENDERING_NON_UNIFORM_RASTER) #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl" -#endif void MeshDecalsPositionZBias(inout Varyings input) { @@ -248,8 +246,11 @@ void Frag(PackedVaryings packedInput, float2 positionSS = input.positionCS.xy * _ScreenSize.zw; -#if defined(_FOVEATED_RENDERING_NON_UNIFORM_RASTER) - positionSS = RemapFoveatedRenderingNonUniformToLinearCS(input.positionCS.xy, true) * _ScreenSize.zw; +#if defined(SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + if (_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + { + positionSS = RemapFoveatedRenderingNonUniformToLinearCS(input.positionCS.xy, true) * _ScreenSize.zw; + } #endif #ifdef DECAL_PROJECTOR diff --git a/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/UnlitGBufferPass.hlsl b/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/UnlitGBufferPass.hlsl new file mode 100644 index 00000000000..c73c51c8e8a --- /dev/null +++ b/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/UnlitGBufferPass.hlsl @@ -0,0 +1,75 @@ + +#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Unlit.hlsl" +#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/UnityGBuffer.hlsl" +#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderVariablesFunctions.hlsl" + +void InitializeInputData(Varyings input, out InputData inputData) +{ + inputData = (InputData)0; + + // InputData is only used for DebugDisplay purposes in Unlit, so these are not initialized. + #if defined(DEBUG_DISPLAY) + inputData.positionWS = input.positionWS; + inputData.normalWS = NormalizeNormalPerPixel(input.normalWS); + #else + inputData.positionWS = half3(0, 0, 0); + inputData.normalWS = NormalizeNormalPerPixel(input.normalWS); + inputData.viewDirectionWS = half3(0, 0, 1); + #endif + inputData.shadowCoord = 0; + inputData.fogCoord = 0; + inputData.vertexLighting = half3(0, 0, 0); + inputData.bakedGI = half3(0, 0, 0); + inputData.normalizedScreenSpaceUV = 0; + inputData.shadowMask = half4(1, 1, 1, 1); +} + +PackedVaryings vert(Attributes input) +{ + Varyings output = (Varyings)0; + output = BuildVaryings(input); + PackedVaryings packedOutput = PackVaryings(output); + return packedOutput; +} + +FragmentOutput frag(PackedVaryings packedInput) +{ + Varyings unpacked = UnpackVaryings(packedInput); + UNITY_SETUP_INSTANCE_ID(unpacked); + UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(unpacked); + SurfaceDescription surfaceDescription = BuildSurfaceDescription(unpacked); + + SurfaceData surfaceData = (SurfaceData)0; + surfaceData.alpha = 1; + +#if defined(_ALPHATEST_ON) + surfaceData.alpha = AlphaDiscard(surfaceDescription.Alpha, surfaceDescription.AlphaClipThreshold); +#endif + +#if defined(LOD_FADE_CROSSFADE) && USE_UNITY_CROSSFADE + LODFadeCrossFade(unpacked.positionCS); +#endif + +#if defined(_ALPHAMODULATE_ON) + surfaceData.albedo = AlphaModulate(surfaceDescription.BaseColor, surfaceData.alpha); +#else + surfaceData.albedo = surfaceDescription.BaseColor; +#endif + +#if defined(_DBUFFER) + ApplyDecalToBaseColor(unpacked.positionCS, surfaceData.albedo); +#endif + + InputData inputData; + InitializeInputData(unpacked, inputData); + + #if defined(_SCREEN_SPACE_OCCLUSION) && !defined(_SURFACE_TYPE_TRANSPARENT) + float2 normalizedScreenSpaceUV = GetNormalizedScreenSpaceUV(unpacked.positionCS); + AmbientOcclusionFactor aoFactor = GetScreenSpaceAmbientOcclusion(normalizedScreenSpaceUV); + surfaceData.albedo.rgb *= aoFactor.directAmbientOcclusion; + #else + surfaceData.occlusion = 1; + #endif + + return SurfaceDataToGbuffer(surfaceData, inputData, float3(0,0,0), kLightingInvalid); +} diff --git a/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/UnlitGBufferPass.hlsl.meta b/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/UnlitGBufferPass.hlsl.meta new file mode 100644 index 00000000000..f4b68884942 --- /dev/null +++ b/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/UnlitGBufferPass.hlsl.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 73b8a22390b7d43f7803cb609e674fe6 +ShaderIncludeImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalDecalSubTarget.cs b/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalDecalSubTarget.cs index a54196840d4..45ab7c5e5b1 100644 --- a/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalDecalSubTarget.cs +++ b/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalDecalSubTarget.cs @@ -974,7 +974,6 @@ static class Descriptors public static KeywordCollection DBufferProjector = new KeywordCollection { { CoreKeywordDescriptors.DBuffer }, - { CoreKeywordDescriptors.FoveatedRendering }, { Descriptors.DecalLayers }, }; @@ -1020,7 +1019,6 @@ static class Descriptors { CoreKeywordDescriptors.ShadowsSoftMedium }, { CoreKeywordDescriptors.ShadowsSoftHigh }, { CoreKeywordDescriptors.ForwardPlus }, - { CoreKeywordDescriptors.FoveatedRendering }, { CoreKeywordDescriptors.DebugDisplay }, { Descriptors.DecalsNormalBlend }, { Descriptors.DecalLayers }, diff --git a/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalLitSubTarget.cs b/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalLitSubTarget.cs index d1f0a5de718..2a3b852b9f0 100644 --- a/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalLitSubTarget.cs +++ b/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalLitSubTarget.cs @@ -333,7 +333,7 @@ public static SubShaderDescriptor LitSubShader(UniversalTarget target, WorkflowM SubShaderDescriptor result = new SubShaderDescriptor() { pipelineTag = UniversalTarget.kPipelineTag, - customTags = UniversalTarget.kLitMaterialTypeTag, + customTags = complexLit ? UniversalTarget.kComplexLitMaterialTypeTag : UniversalTarget.kLitMaterialTypeTag, renderType = renderType, renderQueue = renderQueue, disableBatchingTag = disableBatchingTag, @@ -346,8 +346,8 @@ public static SubShaderDescriptor LitSubShader(UniversalTarget target, WorkflowM else result.passes.Add(LitPasses.Forward(target, workflowMode, blendModePreserveSpecular, CorePragmas.Forward, LitKeywords.Forward)); - if (!complexLit) - result.passes.Add(LitPasses.GBuffer(target, workflowMode, blendModePreserveSpecular)); + // ForwardOnly ComplexLit fills GBuffer too for potential custom usage of the GBuffer. + result.passes.Add(LitPasses.GBuffer(target, workflowMode, blendModePreserveSpecular)); // cull the shadowcaster pass if we know it will never be used if (target.castShadows || target.allowMaterialOverride) diff --git a/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalTarget.cs b/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalTarget.cs index 38a3b865b75..74cf739ed27 100644 --- a/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalTarget.cs +++ b/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalTarget.cs @@ -116,6 +116,7 @@ sealed class UniversalTarget : Target, IHasMetadata, ILegacyTarget, IMaySupportV // Constants static readonly GUID kSourceCodeGuid = new GUID("8c72f47fdde33b14a9340e325ce56f4d"); // UniversalTarget.cs public const string kPipelineTag = "UniversalPipeline"; + public const string kComplexLitMaterialTypeTag = "\"UniversalMaterialType\" = \"ComplexLit\""; public const string kLitMaterialTypeTag = "\"UniversalMaterialType\" = \"Lit\""; public const string kUnlitMaterialTypeTag = "\"UniversalMaterialType\" = \"Unlit\""; public const string kAlwaysRenderMotionVectorsTag = "\"AlwaysRenderMotionVectors\" = \"true\""; @@ -1662,6 +1663,8 @@ static class CoreIncludes const string kDBuffer = "Packages/com.unity.render-pipelines.universal/ShaderLibrary/DBuffer.hlsl"; const string kSelectionPickingPass = "Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/SelectionPickingPass.hlsl"; const string kLODCrossFade = "Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl"; + const string kFoveatedRenderingKeywords = "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl"; + const string kFoveatedRendering = "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl"; // Files that are included with #include_with_pragmas const string kDOTS = "Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl"; @@ -1676,6 +1679,8 @@ static class CoreIncludes { kLighting, IncludeLocation.Pregraph }, { kInput, IncludeLocation.Pregraph }, { kTextureStack, IncludeLocation.Pregraph }, // TODO: put this on a conditional + { kFoveatedRenderingKeywords, IncludeLocation.Pregraph, true }, + { kFoveatedRendering, IncludeLocation.Pregraph }, }; public static readonly IncludeCollection DOTSPregraph = new IncludeCollection @@ -2157,16 +2162,6 @@ static class CoreKeywordDescriptors stages = KeywordShaderStage.Fragment, }; - public static readonly KeywordDescriptor FoveatedRendering = new KeywordDescriptor() - { - displayName = "Foveated Rendering Non Uniform Raster", - referenceName = "_FOVEATED_RENDERING_NON_UNIFORM_RASTER", - type = KeywordType.Boolean, - definition = KeywordDefinition.MultiCompile, - scope = KeywordScope.Global, - stages = KeywordShaderStage.Fragment, - }; - public static readonly KeywordDescriptor SceneSelectionPass = new KeywordDescriptor() { displayName = "Scene Selection Pass", diff --git a/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalUnlitSubTarget.cs b/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalUnlitSubTarget.cs index 63ba95ef162..4151ccb4f58 100644 --- a/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalUnlitSubTarget.cs +++ b/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalUnlitSubTarget.cs @@ -185,6 +185,9 @@ public static SubShaderDescriptor Unlit(UniversalTarget target, string renderTyp if (target.castShadows || target.allowMaterialOverride) result.passes.Add(PassVariant(CorePasses.ShadowCaster(target), CorePragmas.Instanced)); + // Fill GBuffer with color and normal for custom GBuffer use cases. + result.passes.Add(UnlitPasses.GBuffer(target)); + // Currently neither of these passes (selection/picking) can be last for the game view for // UI shaders to render correctly. Verify [1352225] before changing this order. result.passes.Add(PassVariant(CorePasses.SceneSelection(target), CorePragmas.Default)); @@ -278,6 +281,48 @@ public static PassDescriptor DepthNormalOnly(UniversalTarget target) return result; } + // Deferred only in SM4.5 + // GBuffer fill for consistency. + public static PassDescriptor GBuffer(UniversalTarget target) + { + var result = new PassDescriptor + { + // Definition + displayName = "GBuffer", + referenceName = "SHADERPASS_GBUFFER", + lightMode = "UniversalGBuffer", + useInPreview = true, + + // Template + passTemplatePath = UniversalTarget.kUberTemplatePath, + sharedTemplateDirectories = UniversalTarget.kSharedTemplateDirectories, + + // Port Mask + validVertexBlocks = CoreBlockMasks.Vertex, + validPixelBlocks = CoreBlockMasks.FragmentColorAlpha, + + // Fields + structs = CoreStructCollections.Default, + requiredFields = UnlitRequiredFields.GBuffer, + fieldDependencies = CoreFieldDependencies.Default, + + // Conditional State + renderStates = CoreRenderStates.UberSwitchedRenderState(target), + pragmas = CorePragmas.GBuffer, + defines = new DefineCollection(), + keywords = new KeywordCollection { UnlitKeywords.GBuffer }, + includes = new IncludeCollection { UnlitIncludes.GBuffer }, + + // Custom Interpolator Support + customInterpolators = CoreCustomInterpDescriptors.Common + }; + + CorePasses.AddTargetSurfaceControlsToPass(ref result, target); + CorePasses.AddLODCrossFadeControlToPass(ref result, target); + + return result; + } + #region PortMasks static class UnlitBlockMasks { @@ -303,6 +348,13 @@ static class UnlitRequiredFields { StructFields.Varyings.normalWS, }; + + public static readonly FieldCollection GBuffer = new FieldCollection() + { + StructFields.Varyings.positionWS, + StructFields.Varyings.normalWS, + UniversalStructFields.Varyings.sh // Satisfy !LIGHTMAP_ON requirements. + }; } #endregion } @@ -323,6 +375,13 @@ static class UnlitKeywords CoreKeywordDescriptors.DebugDisplay, CoreKeywordDescriptors.ScreenSpaceAmbientOcclusion, }; + + public static readonly KeywordCollection GBuffer = new KeywordCollection + { + { CoreKeywordDescriptors.DBuffer }, + { CoreKeywordDescriptors.LODFadeCrossFade }, + { CoreKeywordDescriptors.ScreenSpaceAmbientOcclusion }, + }; } #endregion @@ -330,6 +389,7 @@ static class UnlitKeywords static class UnlitIncludes { const string kUnlitPass = "Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/UnlitPass.hlsl"; + const string kUnlitGBufferPass = "Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/UnlitGBufferPass.hlsl"; public static IncludeCollection Unlit = new IncludeCollection { @@ -344,6 +404,19 @@ static class UnlitIncludes { CoreIncludes.CorePostgraph }, { kUnlitPass, IncludeLocation.Postgraph }, }; + + public static IncludeCollection GBuffer = new IncludeCollection + { + // Pre-graph + { CoreIncludes.DOTSPregraph }, + { CoreIncludes.CorePregraph }, + { CoreIncludes.ShaderGraphPregraph }, + { CoreIncludes.DBufferPregraph }, + + // Post-graph + { CoreIncludes.CorePostgraph }, + { kUnlitGBufferPass, IncludeLocation.Postgraph }, + }; } #endregion } diff --git a/Packages/com.unity.render-pipelines.universal/Editor/ShaderScriptableStripper.cs b/Packages/com.unity.render-pipelines.universal/Editor/ShaderScriptableStripper.cs index 3435f7127ee..4f492c3e087 100644 --- a/Packages/com.unity.render-pipelines.universal/Editor/ShaderScriptableStripper.cs +++ b/Packages/com.unity.render-pipelines.universal/Editor/ShaderScriptableStripper.cs @@ -809,16 +809,6 @@ internal bool StripUnsupportedVariants_DirectionalLightmap(ref IShaderScriptable return false; } - internal bool StripUnsupportedVariants_LightmapProbes(ref IShaderScriptableStrippingData strippingData) - { - // We can strip shaders where both lightmaps and probe volumes are enabled - if ((strippingData.IsKeywordEnabled(m_Lightmap) || strippingData.IsKeywordEnabled(m_DynamicLightmap)) - && (strippingData.IsKeywordEnabled(m_ProbeVolumesL1) || strippingData.IsKeywordEnabled(m_ProbeVolumesL2))) - return true; - - return false; - } - internal bool StripUnsupportedVariants_EditorVisualization(ref IShaderScriptableStrippingData strippingData) { // Editor visualization is only used in scene view debug modes. @@ -834,10 +824,6 @@ internal bool StripUnsupportedVariants(ref IShaderScriptableStrippingData stripp if (StripUnsupportedVariants_DirectionalLightmap(ref strippingData)) return true; - // We can strip shaders where both lightmaps and probe volumes are enabled - if (StripUnsupportedVariants_LightmapProbes(ref strippingData)) - return true; - if (StripUnsupportedVariants_EditorVisualization(ref strippingData)) return true; diff --git a/Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/URPDecal/PassDBuffer.template b/Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/URPDecal/PassDBuffer.template index b524a5d2377..ed90bd03231 100644 --- a/Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/URPDecal/PassDBuffer.template +++ b/Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/URPDecal/PassDBuffer.template @@ -27,13 +27,14 @@ // Keywords #pragma multi_compile_fragment _ _DBUFFER_MRT1 _DBUFFER_MRT2 _DBUFFER_MRT3 - #pragma multi_compile_fragment _ _FOVEATED_RENDERING_NON_UNIFORM_RASTER + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #pragma multi_compile _ _DECAL_LAYERS ${VFXIncludeRP("VFXDecalVaryings.template")} #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/NormalSurfaceGradient.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/DecalInput.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/DBuffer.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl" struct ps_input { diff --git a/Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/URPDecal/PassScreenSpace.template b/Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/URPDecal/PassScreenSpace.template index e672bb3b204..efd75a08ca4 100644 --- a/Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/URPDecal/PassScreenSpace.template +++ b/Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/URPDecal/PassScreenSpace.template @@ -25,13 +25,14 @@ #pragma multi_compile_fragment _ _ADDITIONAL_LIGHT_SHADOWS #pragma multi_compile_fragment _ _SHADOWS_SOFT _SHADOWS_SOFT_LOW _SHADOWS_SOFT_MEDIUM _SHADOWS_SOFT_HIGH #pragma multi_compile _ _FORWARD_PLUS - #pragma multi_compile_fragment _ _FOVEATED_RENDERING_NON_UNIFORM_RASTER + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #pragma multi_compile_fragment _ DEBUG_DISPLAY #pragma multi_compile _DECAL_NORMAL_BLEND_LOW _DECAL_NORMAL_BLEND_MEDIUM _DECAL_NORMAL_BLEND_HIGH #pragma multi_compile _ _DECAL_LAYERS ${VFXIncludeRP("VFXDecalVaryings.template")} #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/DecalInput.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl" struct ps_input { diff --git a/Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/VFXPasses.template b/Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/VFXPasses.template index c49e0e8892d..d590711f849 100644 --- a/Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/VFXPasses.template +++ b/Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/VFXPasses.template @@ -32,6 +32,7 @@ ${VFXBegin:VFXPassForwardLitAdditionalPragma} #pragma multi_compile_fragment _ _LIGHT_COOKIES #pragma multi_compile _ _LIGHT_LAYERS #pragma multi_compile _ _FORWARD_PLUS +#include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl" #pragma multi_compile_fog #pragma multi_compile _ DEBUG_DISPLAY @@ -59,6 +60,7 @@ ${VFXBegin:VFXShaderGraphFunctionsInclude} #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/EntityLighting.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderGraphFunctions.hlsl" +#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl" ${VFXEnd} diff --git a/Packages/com.unity.render-pipelines.universal/Runtime/Passes/ColorGradingLutPass.cs b/Packages/com.unity.render-pipelines.universal/Runtime/Passes/ColorGradingLutPass.cs index 19be2bf01d2..96e9ad850e1 100644 --- a/Packages/com.unity.render-pipelines.universal/Runtime/Passes/ColorGradingLutPass.cs +++ b/Packages/com.unity.render-pipelines.universal/Runtime/Passes/ColorGradingLutPass.cs @@ -107,8 +107,10 @@ public override void Execute(ScriptableRenderContext context, ref RenderingData m_PassData.lutBuilderHdr = m_LutBuilderHdr; m_PassData.allowColorGradingACESHDR = m_AllowColorGradingACESHDR; +#if ENABLE_VR && ENABLE_XR_MODULE if (renderingData.cameraData.xr.supportsFoveatedRendering) renderingData.commandBuffer.SetFoveatedRenderingMode(FoveatedRenderingMode.Disabled); +#endif CoreUtils.SetRenderTarget(renderingData.commandBuffer, m_InternalLut, RenderBufferLoadAction.DontCare, RenderBufferStoreAction.Store, ClearFlag.None, Color.clear); ExecutePass(CommandBufferHelpers.GetRasterCommandBuffer(renderingData.commandBuffer), m_PassData, ref renderingData, m_InternalLut); diff --git a/Packages/com.unity.render-pipelines.universal/Runtime/Passes/GBufferPass.cs b/Packages/com.unity.render-pipelines.universal/Runtime/Passes/GBufferPass.cs index 895ed613cea..df29e47b6c1 100644 --- a/Packages/com.unity.render-pipelines.universal/Runtime/Passes/GBufferPass.cs +++ b/Packages/com.unity.render-pipelines.universal/Runtime/Passes/GBufferPass.cs @@ -13,6 +13,7 @@ internal class GBufferPass : ScriptableRenderPass static ShaderTagId s_ShaderTagLit = new ShaderTagId("Lit"); static ShaderTagId s_ShaderTagSimpleLit = new ShaderTagId("SimpleLit"); static ShaderTagId s_ShaderTagUnlit = new ShaderTagId("Unlit"); + static ShaderTagId s_ShaderTagComplexLit = new ShaderTagId("ComplexLit"); static ShaderTagId s_ShaderTagUniversalGBuffer = new ShaderTagId("UniversalGBuffer"); static ShaderTagId s_ShaderTagUniversalMaterialType = new ShaderTagId("UniversalMaterialType"); @@ -43,20 +44,22 @@ public GBufferPass(RenderPassEvent evt, RenderQueueRange renderQueueRange, Layer if (s_ShaderTagValues == null) { - s_ShaderTagValues = new ShaderTagId[4]; + s_ShaderTagValues = new ShaderTagId[5]; s_ShaderTagValues[0] = s_ShaderTagLit; s_ShaderTagValues[1] = s_ShaderTagSimpleLit; s_ShaderTagValues[2] = s_ShaderTagUnlit; - s_ShaderTagValues[3] = new ShaderTagId(); // Special catch all case for materials where UniversalMaterialType is not defined or the tag value doesn't match anything we know. + s_ShaderTagValues[3] = s_ShaderTagComplexLit; + s_ShaderTagValues[4] = new ShaderTagId(); // Special catch all case for materials where UniversalMaterialType is not defined or the tag value doesn't match anything we know. } if (s_RenderStateBlocks == null) { - s_RenderStateBlocks = new RenderStateBlock[4]; + s_RenderStateBlocks = new RenderStateBlock[5]; s_RenderStateBlocks[0] = DeferredLights.OverwriteStencil(m_RenderStateBlock, (int)StencilUsage.MaterialMask, (int)StencilUsage.MaterialLit); s_RenderStateBlocks[1] = DeferredLights.OverwriteStencil(m_RenderStateBlock, (int)StencilUsage.MaterialMask, (int)StencilUsage.MaterialSimpleLit); s_RenderStateBlocks[2] = DeferredLights.OverwriteStencil(m_RenderStateBlock, (int)StencilUsage.MaterialMask, (int)StencilUsage.MaterialUnlit); - s_RenderStateBlocks[3] = s_RenderStateBlocks[0]; + s_RenderStateBlocks[3] = DeferredLights.OverwriteStencil(m_RenderStateBlock, (int)StencilUsage.MaterialMask, (int)StencilUsage.MaterialUnlit); // Fill GBuffer, but skip lighting pass for ComplexLit + s_RenderStateBlocks[4] = s_RenderStateBlocks[0]; } } diff --git a/Packages/com.unity.render-pipelines.universal/Runtime/UniversalRenderPipeline.cs b/Packages/com.unity.render-pipelines.universal/Runtime/UniversalRenderPipeline.cs index 2a5827a1407..26b36bf6946 100644 --- a/Packages/com.unity.render-pipelines.universal/Runtime/UniversalRenderPipeline.cs +++ b/Packages/com.unity.render-pipelines.universal/Runtime/UniversalRenderPipeline.cs @@ -272,7 +272,6 @@ public UniversalRenderPipeline(UniversalRenderPipelineAsset asset) supportDiskStreaming = false, supportScenarios = false }); - SupportedRenderingFeatures.active.overridesLightProbeSystemWarningMessage = "This Light Probe system is not active because the pipeline uses Probe Volumes and the systems cannot co-exist.\nTo disable Probe Volumes make sure the feature is disabled in the lighting section of the active URP Asset."; } } diff --git a/Packages/com.unity.render-pipelines.universal/Runtime/UniversalRenderPipelineGlobalSettings.cs b/Packages/com.unity.render-pipelines.universal/Runtime/UniversalRenderPipelineGlobalSettings.cs index 769350f1413..d7fe9f60174 100644 --- a/Packages/com.unity.render-pipelines.universal/Runtime/UniversalRenderPipelineGlobalSettings.cs +++ b/Packages/com.unity.render-pipelines.universal/Runtime/UniversalRenderPipelineGlobalSettings.cs @@ -200,7 +200,15 @@ string[] prefixedRenderingLayerNames [SerializeField] uint m_ValidRenderingLayers; /// Valid rendering layers that can be used by graphics. - public uint validRenderingLayers => m_ValidRenderingLayers; + public uint validRenderingLayers { + get + { + if (m_PrefixedRenderingLayerNames == null) + UpdateRenderingLayerNames(); + + return m_ValidRenderingLayers; + } + } /// Regenerate Rendering Layer names and their prefixed versions. internal void UpdateRenderingLayerNames() diff --git a/Packages/com.unity.render-pipelines.universal/ShaderLibrary/Clustering.hlsl b/Packages/com.unity.render-pipelines.universal/ShaderLibrary/Clustering.hlsl index 0cff205c7a0..04727089ccb 100644 --- a/Packages/com.unity.render-pipelines.universal/ShaderLibrary/Clustering.hlsl +++ b/Packages/com.unity.render-pipelines.universal/ShaderLibrary/Clustering.hlsl @@ -4,6 +4,8 @@ #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl" #if USE_FORWARD_PLUS +#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl" + // Debug switches for disabling parts of the algorithm. Not implemented for mobile. #define URP_FP_DISABLE_ZBINNING 0 @@ -24,6 +26,21 @@ ClusterIterator ClusterInit(float2 normalizedScreenSpaceUV, float3 positionWS, i { ClusterIterator state = (ClusterIterator)0; +#if defined(SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + if (_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + { +#if UNITY_UV_STARTS_AT_TOP + // RemapFoveatedRenderingNonUniformToLinear expects the UV coordinate to be non-flipped, so we un-flip it before + // the call, and then flip it back afterwards. + normalizedScreenSpaceUV.y = 1.0 - normalizedScreenSpaceUV.y; +#endif + normalizedScreenSpaceUV = RemapFoveatedRenderingNonUniformToLinear(normalizedScreenSpaceUV); +#if UNITY_UV_STARTS_AT_TOP + normalizedScreenSpaceUV.y = 1.0 - normalizedScreenSpaceUV.y; +#endif + } +#endif // SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER + uint2 tileId = uint2(normalizedScreenSpaceUV * URP_FP_TILE_SCALE); state.tileOffset = tileId.y * URP_FP_TILE_COUNT_X + tileId.x; #if defined(USING_STEREO_MATRICES) diff --git a/Packages/com.unity.render-pipelines.universal/ShaderLibrary/MotionVectorsCommon.hlsl b/Packages/com.unity.render-pipelines.universal/ShaderLibrary/MotionVectorsCommon.hlsl index 748fa9689aa..430441169da 100644 --- a/Packages/com.unity.render-pipelines.universal/ShaderLibrary/MotionVectorsCommon.hlsl +++ b/Packages/com.unity.render-pipelines.universal/ShaderLibrary/MotionVectorsCommon.hlsl @@ -1,6 +1,8 @@ #ifndef UNIVERSAL_PIPELINE_MOTIONVECTORSCOMMON_INCLUDED #define UNIVERSAL_PIPELINE_MOTIONVECTORSCOMMON_INCLUDED +#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl" + // This is required to avoid artifacts ("gaps" in the _MotionVectorTexture) on some platform void ApplyMotionVectorZBias(inout float4 positionCS) { @@ -11,10 +13,6 @@ void ApplyMotionVectorZBias(inout float4 positionCS) #endif } -#if defined(_FOVEATED_RENDERING_NON_UNIFORM_RASTER) - #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl" -#endif - float2 CalcNdcMotionVectorFromCsPositions(float4 posCS, float4 prevPosCS) { // Note: unity_MotionVectorsParams.y is 0 is forceNoMotion is enabled @@ -27,28 +25,34 @@ float2 CalcNdcMotionVectorFromCsPositions(float4 posCS, float4 prevPosCS) float2 posNDC = posCS.xy * rcp(posCS.w); float2 prevPosNDC = prevPosCS.xy * rcp(prevPosCS.w); - #if defined(_FOVEATED_RENDERING_NON_UNIFORM_RASTER) - // Convert velocity from NDC space (-1..1) to screen UV 0..1 space since FoveatedRendering remap needs that range. - float2 posUV = RemapFoveatedRenderingResolve(posNDC * 0.5 + 0.5); - float2 prevPosUV = RemapFoveatedRenderingPrevFrameLinearToNonUniform(prevPosNDC * 0.5 + 0.5); - - // Calculate forward velocity - float2 velocity = (posUV - prevPosUV); - #if UNITY_UV_STARTS_AT_TOP - velocity.y = -velocity.y; - #endif - #else - // Calculate forward velocity - float2 velocity = (posNDC.xy - prevPosNDC.xy); - #if UNITY_UV_STARTS_AT_TOP - velocity.y = -velocity.y; - #endif - - // Convert velocity from NDC space (-1..1) to UV 0..1 space - // Note: It doesn't mean we don't have negative values, we store negative or positive offset in UV space. - // Note: ((posNDC * 0.5 + 0.5) - (prevPosNDC * 0.5 + 0.5)) = (velocity * 0.5) - velocity.xy *= 0.5; + float2 velocity; + #if defined(SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + if (_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + { + // Convert velocity from NDC space (-1..1) to screen UV 0..1 space since FoveatedRendering remap needs that range. + float2 posUV = RemapFoveatedRenderingResolve(posNDC * 0.5 + 0.5); + float2 prevPosUV = RemapFoveatedRenderingPrevFrameLinearToNonUniform(prevPosNDC * 0.5 + 0.5); + + // Calculate forward velocity + velocity = (posUV - prevPosUV); + #if UNITY_UV_STARTS_AT_TOP + velocity.y = -velocity.y; + #endif + } + else #endif + { + // Calculate forward velocity + velocity = (posNDC.xy - prevPosNDC.xy); + #if UNITY_UV_STARTS_AT_TOP + velocity.y = -velocity.y; + #endif + + // Convert velocity from NDC space (-1..1) to UV 0..1 space + // Note: It doesn't mean we don't have negative values, we store negative or positive offset in UV space. + // Note: ((posNDC * 0.5 + 0.5) - (prevPosNDC * 0.5 + 0.5)) = (velocity * 0.5) + velocity.xy *= 0.5; + } return velocity; } diff --git a/Packages/com.unity.render-pipelines.universal/ShaderLibrary/ObjectMotionVectors.hlsl b/Packages/com.unity.render-pipelines.universal/ShaderLibrary/ObjectMotionVectors.hlsl index f144854d5c3..2b8a772d3a5 100644 --- a/Packages/com.unity.render-pipelines.universal/ShaderLibrary/ObjectMotionVectors.hlsl +++ b/Packages/com.unity.render-pipelines.universal/ShaderLibrary/ObjectMotionVectors.hlsl @@ -11,12 +11,9 @@ #pragma multi_compile_instancing #include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl" -//-------------------------------------- +//------------------------------------- // Other pragmas -#pragma multi_compile_fragment _ _FOVEATED_RENDERING_NON_UNIFORM_RASTER -// Marc-André Loyer: Metal's Foveated Rendering code relies on shader compiler changes to be able to set the needed data -// for "non-uniform <==> Linear rasterizer" UV-space transformations, but this is not currently supported with DXC. -#pragma never_use_dxc metal +#include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" // ------------------------------------- // Includes diff --git a/Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl b/Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl index c1232cd3b41..df73a1642d8 100644 --- a/Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl +++ b/Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl @@ -234,8 +234,11 @@ float SampleAndGetLinearEyeDepth(float2 uv) // This returns a vector in world unit (not a position), from camera to the given point described by uv screen coordinate and depth (in absolute world unit). half3 ReconstructViewPos(float2 uv, float linearDepth) { - #if defined(_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + #if defined(SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + if (_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + { uv = RemapFoveatedRenderingNonUniformToLinear(uv); + } #endif // Screen is y-inverted. @@ -354,11 +357,17 @@ half4 SSAO(Varyings input) : SV_Target if (halfLinearDepth_o > FALLOFF) return PackAONormal(HALF_ZERO, HALF_ZERO); - #if defined(_FOVEATED_RENDERING_NON_UNIFORM_RASTER) - float2 pixelDensity = RemapFoveatedRenderingDensity(RemapFoveatedRenderingNonUniformToLinear(uv)); - #else - float2 pixelDensity = float2(1.0f, 1.0f); + float2 pixelDensity; + #if defined(SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + if (_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + { + pixelDensity = RemapFoveatedRenderingDensity(RemapFoveatedRenderingNonUniformToLinear(uv)); + } + else #endif + { + pixelDensity = float2(1.0f, 1.0f); + } // Normal for this fragment half3 normal_o = SampleNormal(uv, linearDepth_o, pixelDensity); @@ -395,8 +404,11 @@ half4 SSAO(Varyings input) : SV_Target half2 uv_s1_01 = saturate(half2(spos_s1 * rcp(zDist) + HALF_ONE) * HALF_HALF); #endif - #if defined(_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + #if defined(SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + if (_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + { uv_s1_01 = RemapFoveatedRenderingLinearToNonUniform(uv_s1_01); + } #endif // Relative depth of the sample point diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/CameraMotionVectors.shader b/Packages/com.unity.render-pipelines.universal/Shaders/CameraMotionVectors.shader index f0403a0adcd..a502240305b 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/CameraMotionVectors.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/CameraMotionVectors.shader @@ -10,9 +10,6 @@ Shader "Hidden/Universal Render Pipeline/CameraMotionVectors" ZWrite On HLSLPROGRAM - #pragma multi_compile_fragment _ _FOVEATED_RENDERING_NON_UNIFORM_RASTER - #pragma never_use_dxc metal - #pragma target 3.5 #pragma vertex vert @@ -23,9 +20,8 @@ Shader "Hidden/Universal Render Pipeline/CameraMotionVectors" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/UnityInput.hlsl" - #if defined(_FOVEATED_RENDERING_NON_UNIFORM_RASTER) - #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl" - #endif + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl" // ------------------------------------- // Structs @@ -69,9 +65,12 @@ Shader "Hidden/Universal Render Pipeline/CameraMotionVectors" depth = lerp(UNITY_NEAR_CLIP_VALUE, 1, SampleSceneDepth(uv).x); #endif - #if defined(_FOVEATED_RENDERING_NON_UNIFORM_RASTER) - // Get the UVs from non-unifrom space to linear space to determine the right world-space position - uv = RemapFoveatedRenderingNonUniformToLinear(uv); + #if defined(SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + if (_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + { + // Get the UVs from non-unifrom space to linear space to determine the right world-space position + uv = RemapFoveatedRenderingNonUniformToLinear(uv); + } #endif // Reconstruct world position @@ -86,7 +85,10 @@ Shader "Hidden/Universal Render Pipeline/CameraMotionVectors" float2 posNDC = posCS.xy * rcp(posCS.w); float2 prevPosNDC = prevPosCS.xy * rcp(prevPosCS.w); - #if defined(_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + float2 velocity; + #if defined(SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + if (_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + { // Convert velocity from NDC space (-1..1) to screen UV 0..1 space since FoveatedRendering remap needs that range. // Also return both position in non-uniform UV space to get the right velocity vector @@ -94,13 +96,16 @@ Shader "Hidden/Universal Render Pipeline/CameraMotionVectors" float2 prevPosUV = RemapFoveatedRenderingPrevFrameLinearToNonUniform(prevPosNDC * 0.5f + 0.5f); // Calculate forward velocity - float2 velocity = (posUV - prevPosUV); + velocity = (posUV - prevPosUV); #if UNITY_UV_STARTS_AT_TOP velocity.y = -velocity.y; #endif - #else + } + else + #endif + { // Calculate forward velocity - float2 velocity = (posNDC - prevPosNDC); + velocity = (posNDC - prevPosNDC); // TODO: test that velocity.y is correct #if UNITY_UV_STARTS_AT_TOP @@ -111,7 +116,8 @@ Shader "Hidden/Universal Render Pipeline/CameraMotionVectors" // Note: It doesn't mean we don't have negative values, we store negative or positive offset in the UV space. // Note: ((posNDC * 0.5 + 0.5) - (prevPosNDC * 0.5 + 0.5)) = (velocity * 0.5) velocity.xy *= 0.5; - #endif + } + return float4(velocity, 0, 0); } diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/ComplexLit.shader b/Packages/com.unity.render-pipelines.universal/Shaders/ComplexLit.shader index a857a8b1719..e461bc0735b 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/ComplexLit.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/ComplexLit.shader @@ -147,6 +147,7 @@ Shader "Universal Render Pipeline/Complex Lit" #pragma multi_compile_fragment _ _SCREEN_SPACE_OCCLUSION #pragma multi_compile_fragment _ _DBUFFER_MRT1 _DBUFFER_MRT2 _DBUFFER_MRT3 #pragma multi_compile_fragment _ _LIGHT_COOKIES + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl" @@ -221,6 +222,90 @@ Shader "Universal Render Pipeline/Complex Lit" ENDHLSL } + Pass + { + // Lightmode matches the ShaderPassName set in UniversalRenderPipeline.cs. SRPDefaultUnlit and passes with + // no LightMode tag are also rendered by Universal Render Pipeline + // + // Fill GBuffer data to prevent "holes", just in case someone wants to reuse GBuffer data. + // Deferred lighting is stenciled out for ComplexLit and rendered as forward. + Name "GBuffer" + Tags + { + "LightMode" = "UniversalGBuffer" + } + + // ------------------------------------- + // Render State Commands + ZWrite[_ZWrite] + ZTest LEqual + Cull[_Cull] + + HLSLPROGRAM + #pragma target 4.5 + + // Deferred Rendering Path does not support the OpenGL-based graphics API: + // Desktop OpenGL, OpenGL ES 3.0, WebGL 2.0. + #pragma exclude_renderers gles3 glcore + + // ------------------------------------- + // Shader Stages + #pragma vertex LitGBufferPassVertex + #pragma fragment LitGBufferPassFragment + + // ------------------------------------- + // Material Keywords + #pragma shader_feature_local _NORMALMAP + #pragma shader_feature_local_fragment _ALPHATEST_ON + //#pragma shader_feature_local_fragment _ALPHAPREMULTIPLY_ON + #pragma shader_feature_local_fragment _EMISSION + #pragma shader_feature_local_fragment _METALLICSPECGLOSSMAP + #pragma shader_feature_local_fragment _SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A + #pragma shader_feature_local_fragment _OCCLUSIONMAP + #pragma shader_feature_local _PARALLAXMAP + #pragma shader_feature_local _ _DETAIL_MULX2 _DETAIL_SCALED + + #pragma shader_feature_local_fragment _SPECULARHIGHLIGHTS_OFF + #pragma shader_feature_local_fragment _ENVIRONMENTREFLECTIONS_OFF + #pragma shader_feature_local_fragment _SPECULAR_SETUP + #pragma shader_feature_local _RECEIVE_SHADOWS_OFF + + // ------------------------------------- + // Universal Pipeline keywords + #pragma multi_compile _ _MAIN_LIGHT_SHADOWS _MAIN_LIGHT_SHADOWS_CASCADE _MAIN_LIGHT_SHADOWS_SCREEN + //#pragma multi_compile _ _ADDITIONAL_LIGHTS_VERTEX _ADDITIONAL_LIGHTS + //#pragma multi_compile _ _ADDITIONAL_LIGHT_SHADOWS + #pragma multi_compile_fragment _ _REFLECTION_PROBE_BLENDING + #pragma multi_compile_fragment _ _REFLECTION_PROBE_BOX_PROJECTION + #pragma multi_compile_fragment _ _SHADOWS_SOFT + #pragma multi_compile_fragment _ _DBUFFER_MRT1 _DBUFFER_MRT2 _DBUFFER_MRT3 + #pragma multi_compile_fragment _ _RENDER_PASS_ENABLED + #include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl" + + // ------------------------------------- + // Unity defined keywords + #pragma multi_compile _ LIGHTMAP_SHADOW_MIXING + #pragma multi_compile _ SHADOWS_SHADOWMASK + #pragma multi_compile _ DIRLIGHTMAP_COMBINED + #pragma multi_compile _ LIGHTMAP_ON + #pragma multi_compile _ DYNAMICLIGHTMAP_ON + #pragma multi_compile_fragment _ LOD_FADE_CROSSFADE + #pragma multi_compile_fragment _ _GBUFFER_NORMALS_OCT + #include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl" + + //-------------------------------------- + // GPU Instancing + #pragma multi_compile_instancing + #pragma instancing_options renderinglayer + #include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl" + + // ------------------------------------- + // Includes + #include "Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl" + #include "Packages/com.unity.render-pipelines.universal/Shaders/LitGBufferPass.hlsl" + ENDHLSL + } + Pass { Name "DepthOnly" diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/Lit.shader b/Packages/com.unity.render-pipelines.universal/Shaders/Lit.shader index 9388c656c72..0ed412fe08e 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/Lit.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/Lit.shader @@ -146,6 +146,7 @@ Shader "Universal Render Pipeline/Lit" #pragma multi_compile_fragment _ _LIGHT_COOKIES #pragma multi_compile _ _LIGHT_LAYERS #pragma multi_compile _ _FORWARD_PLUS + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl" diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/Nature/SpeedTree7.shader b/Packages/com.unity.render-pipelines.universal/Shaders/Nature/SpeedTree7.shader index fac4db52fd2..b2fbe43dfff 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/Nature/SpeedTree7.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/Nature/SpeedTree7.shader @@ -49,6 +49,7 @@ Shader "Universal Render Pipeline/Nature/SpeedTree7" #pragma multi_compile_fragment _ _LIGHT_COOKIES #pragma multi_compile _ _LIGHT_LAYERS #pragma multi_compile _ _FORWARD_PLUS + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl" #pragma multi_compile_fog diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/Nature/SpeedTree7Billboard.shader b/Packages/com.unity.render-pipelines.universal/Shaders/Nature/SpeedTree7Billboard.shader index 8847d7c7df5..c406ebf5dc2 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/Nature/SpeedTree7Billboard.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/Nature/SpeedTree7Billboard.shader @@ -38,6 +38,7 @@ Shader "Universal Render Pipeline/Nature/SpeedTree7 Billboard" #pragma multi_compile _ _ADDITIONAL_LIGHT_SHADOWS #pragma multi_compile_fragment _ _SHADOWS_SOFT _SHADOWS_SOFT_LOW _SHADOWS_SOFT_MEDIUM _SHADOWS_SOFT_HIGH #pragma multi_compile _ _FORWARD_PLUS + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #pragma multi_compile __ BILLBOARD_FACE_CAMERA_POS #pragma multi_compile __ LOD_FADE_CROSSFADE #pragma multi_compile_fragment _ _LIGHT_COOKIES diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/Nature/SpeedTree8.shader b/Packages/com.unity.render-pipelines.universal/Shaders/Nature/SpeedTree8.shader index 9b761214a9a..6effb83ba1b 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/Nature/SpeedTree8.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/Nature/SpeedTree8.shader @@ -65,6 +65,7 @@ Shader "Universal Render Pipeline/Nature/SpeedTree8" #pragma multi_compile_fragment _ LOD_FADE_CROSSFADE #pragma multi_compile_fragment _ _SCREEN_SPACE_OCCLUSION #pragma multi_compile_fragment _ _LIGHT_COOKIES + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl" #pragma multi_compile_fog diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesLit.shader b/Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesLit.shader index 2e187d3034e..ba36b999538 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesLit.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesLit.shader @@ -143,6 +143,7 @@ Shader "Universal Render Pipeline/Particles/Lit" #pragma multi_compile_fragment _ _SCREEN_SPACE_OCCLUSION #pragma multi_compile_fragment _ _LIGHT_COOKIES #pragma multi_compile _ _FORWARD_PLUS + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl" // ------------------------------------- diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesSimpleLit.shader b/Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesSimpleLit.shader index 35c20edee7c..3b74e3630e6 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesSimpleLit.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesSimpleLit.shader @@ -144,6 +144,7 @@ Shader "Universal Render Pipeline/Particles/Simple Lit" #pragma multi_compile_fragment _ _SCREEN_SPACE_OCCLUSION #pragma multi_compile_fragment _ _LIGHT_COOKIES #pragma multi_compile _ _FORWARD_PLUS + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl" // ------------------------------------- diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Bloom.shader b/Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Bloom.shader index 4fd17d2e4fa..1c5c1eb43b1 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Bloom.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Bloom.shader @@ -53,8 +53,11 @@ Shader "Hidden/Universal Render Pipeline/Bloom" UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(input); float2 uv = UnityStereoTransformScreenSpaceTex(input.texcoord); -#if defined(_FOVEATED_RENDERING_NON_UNIFORM_RASTER) - uv = RemapFoveatedRenderingLinearToNonUniform(uv); +#if defined(SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + if (_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + { + uv = RemapFoveatedRenderingLinearToNonUniform(uv); + } #endif #if _BLOOM_HQ @@ -181,9 +184,7 @@ Shader "Hidden/Universal Render Pipeline/Bloom" #pragma vertex Vert #pragma fragment FragPrefilter #pragma multi_compile_local _ _BLOOM_HQ - #pragma multi_compile_fragment _ _FOVEATED_RENDERING_NON_UNIFORM_RASTER - // Foveated rendering currently not supported in dxc on metal - #pragma never_use_dxc metal + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" ENDHLSL } @@ -194,6 +195,7 @@ Shader "Hidden/Universal Render Pipeline/Bloom" HLSLPROGRAM #pragma vertex Vert #pragma fragment FragBlurH + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" ENDHLSL } @@ -204,6 +206,7 @@ Shader "Hidden/Universal Render Pipeline/Bloom" HLSLPROGRAM #pragma vertex Vert #pragma fragment FragBlurV + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" ENDHLSL } @@ -215,6 +218,7 @@ Shader "Hidden/Universal Render Pipeline/Bloom" #pragma vertex Vert #pragma fragment FragUpsample #pragma multi_compile_local _ _BLOOM_HQ + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" ENDHLSL } } diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/UberPost.shader b/Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/UberPost.shader index b9dcb4b8d07..d299ed5c870 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/UberPost.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/UberPost.shader @@ -9,9 +9,7 @@ Shader "Hidden/Universal Render Pipeline/UberPost" #pragma multi_compile_local_fragment _ _DITHERING #pragma multi_compile_local_fragment _ _GAMMA_20 _LINEAR_TO_SRGB_CONVERSION #pragma multi_compile_local_fragment _ _USE_FAST_SRGB_LINEAR_CONVERSION - #pragma multi_compile_fragment _ _FOVEATED_RENDERING_NON_UNIFORM_RASTER - // Foveated rendering currently not supported in dxc on metal - #pragma never_use_dxc metal + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #pragma multi_compile_fragment _ DEBUG_DISPLAY #pragma multi_compile_fragment _ SCREEN_COORD_OVERRIDE #pragma multi_compile_local_fragment _ HDR_INPUT HDR_ENCODING @@ -182,8 +180,11 @@ Shader "Hidden/Universal Render Pipeline/UberPost" #if defined(BLOOM) { float2 uvBloom = ClampUVForBilinear(uvDistorted, _BloomTexture_TexelSize.xy); - #if defined(_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + #if defined(SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + if (_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + { uvBloom = RemapFoveatedRenderingNonUniformToLinear(uvBloom); + } #endif #if _BLOOM_HQ diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/SimpleLit.shader b/Packages/com.unity.render-pipelines.universal/Shaders/SimpleLit.shader index 67e316878a7..150743f2bdb 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/SimpleLit.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/SimpleLit.shader @@ -112,6 +112,7 @@ Shader "Universal Render Pipeline/Simple Lit" #pragma multi_compile_fragment _ _SCREEN_SPACE_OCCLUSION #pragma multi_compile_fragment _ _DBUFFER_MRT1 _DBUFFER_MRT2 _DBUFFER_MRT3 #pragma multi_compile_fragment _ _LIGHT_COOKIES + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl" #include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl" diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainDetailLit.shader b/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainDetailLit.shader index 714eab5abb4..4fba765d8b6 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainDetailLit.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainDetailLit.shader @@ -28,6 +28,7 @@ Shader "Hidden/TerrainEngine/Details/UniversalPipeline/Vertexlit" #pragma multi_compile_fragment _ _SCREEN_SPACE_OCCLUSION #pragma multi_compile_fragment _ _LIGHT_COOKIES #pragma multi_compile _ _FORWARD_PLUS + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" // ------------------------------------- // Unity defined keywords diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLit.shader b/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLit.shader index 754ccde7ee5..eab45adba74 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLit.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLit.shader @@ -77,6 +77,7 @@ Shader "Universal Render Pipeline/Terrain/Lit" #pragma multi_compile_fragment _ _SCREEN_SPACE_OCCLUSION #pragma multi_compile_fragment _ _DBUFFER_MRT1 _DBUFFER_MRT2 _DBUFFER_MRT3 #pragma multi_compile_fragment _ _LIGHT_COOKIES + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl" // ------------------------------------- diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitAdd.shader b/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitAdd.shader index 7f65be3839e..9b69b641c2f 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitAdd.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitAdd.shader @@ -70,6 +70,7 @@ Shader "Hidden/Universal Render Pipeline/Terrain/Lit (Add Pass)" #pragma multi_compile_fragment _ _SHADOWS_SOFT _SHADOWS_SOFT_LOW _SHADOWS_SOFT_MEDIUM _SHADOWS_SOFT_HIGH #pragma multi_compile_fragment _ _SCREEN_SPACE_OCCLUSION #pragma multi_compile_fragment _ _LIGHT_COOKIES + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" // ------------------------------------- // Unity defined keywords diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitBase.shader b/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitBase.shader index becdfb9ba1c..29bc68b4fd3 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitBase.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitBase.shader @@ -49,6 +49,7 @@ Shader "Hidden/Universal Render Pipeline/Terrain/Lit (Base Pass)" #pragma multi_compile_fragment _ _SHADOWS_SOFT _SHADOWS_SOFT_LOW _SHADOWS_SOFT_MEDIUM _SHADOWS_SOFT_HIGH #pragma multi_compile_fragment _ _SCREEN_SPACE_OCCLUSION #pragma multi_compile_fragment _ _LIGHT_COOKIES + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" // ------------------------------------- // Unity defined keywords diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrass.shader b/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrass.shader index 13620543e29..7d1565706e7 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrass.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrass.shader @@ -33,6 +33,7 @@ Shader "Hidden/TerrainEngine/Details/UniversalPipeline/WavingDoublePass" #pragma multi_compile_fragment _ _SHADOWS_SOFT _SHADOWS_SOFT_LOW _SHADOWS_SOFT_MEDIUM _SHADOWS_SOFT_HIGH #pragma multi_compile_fragment _ _SCREEN_SPACE_OCCLUSION #pragma multi_compile_fragment _ _LIGHT_COOKIES + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl" // ------------------------------------- diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassBillboard.shader b/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassBillboard.shader index 32201af0c4e..5850a14e541 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassBillboard.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassBillboard.shader @@ -30,6 +30,7 @@ Shader "Hidden/TerrainEngine/Details/UniversalPipeline/BillboardWavingDoublePass #pragma multi_compile _ LIGHTMAP_SHADOW_MIXING #pragma multi_compile _ SHADOWS_SHADOWMASK #pragma multi_compile _ _FORWARD_PLUS + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" // ------------------------------------- // Unity defined keywords diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/Unlit.shader b/Packages/com.unity.render-pipelines.universal/Shaders/Unlit.shader index aa380470ed0..12b8d533316 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/Unlit.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/Unlit.shader @@ -35,6 +35,7 @@ Shader "Universal Render Pipeline/Unlit" { "RenderType" = "Opaque" "IgnoreProjector" = "True" + "UniversalMaterialType" = "Unlit" "RenderPipeline" = "UniversalPipeline" } LOD 100 @@ -88,6 +89,52 @@ Shader "Universal Render Pipeline/Unlit" ENDHLSL } + // Fill GBuffer data to prevent "holes", just in case someone wants to reuse GBuffer for non-lighting effects. + // Deferred lighting is stenciled out. + Pass + { + Name "GBuffer" + Tags + { + "LightMode" = "UniversalGBuffer" + } + + HLSLPROGRAM + #pragma target 4.5 + + // Deferred Rendering Path does not support the OpenGL-based graphics API: + // Desktop OpenGL, OpenGL ES 3.0, WebGL 2.0. + #pragma exclude_renderers gles3 glcore + + // ------------------------------------- + // Shader Stages + #pragma vertex UnlitPassVertex + #pragma fragment UnlitPassFragment + + // ------------------------------------- + // Material Keywords + #pragma shader_feature_local_fragment _ALPHATEST_ON + #pragma shader_feature_local_fragment _ALPHAMODULATE_ON + + // ------------------------------------- + // Unity defined keywords + #pragma multi_compile_fragment _ _SCREEN_SPACE_OCCLUSION + #pragma multi_compile_fragment _ _DBUFFER_MRT1 _DBUFFER_MRT2 _DBUFFER_MRT3 + #pragma multi_compile_fragment _ LOD_FADE_CROSSFADE + #include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl" + + //-------------------------------------- + // GPU Instancing + #pragma multi_compile_instancing + #include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl" + + // ------------------------------------- + // Includes + #include "Packages/com.unity.render-pipelines.universal/Shaders/UnlitInput.hlsl" + #include "Packages/com.unity.render-pipelines.universal/Shaders/UnlitGBufferPass.hlsl" + ENDHLSL + } + Pass { Name "DepthOnly" diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/UnlitGBufferPass.hlsl b/Packages/com.unity.render-pipelines.universal/Shaders/UnlitGBufferPass.hlsl new file mode 100644 index 00000000000..c0bff62a8bc --- /dev/null +++ b/Packages/com.unity.render-pipelines.universal/Shaders/UnlitGBufferPass.hlsl @@ -0,0 +1,103 @@ +#ifndef URP_UNLIT_GBUFFER_PASS_INCLUDED +#define URP_UNLIT_GBUFFER_PASS_INCLUDED + +#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Unlit.hlsl" +#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/UnityGBuffer.hlsl" +#if defined(LOD_FADE_CROSSFADE) + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl" +#endif + +struct Attributes +{ + float4 positionOS : POSITION; + float2 uv : TEXCOORD0; + float3 normalOS : NORMAL; + + UNITY_VERTEX_INPUT_INSTANCE_ID +}; + +struct Varyings +{ + float4 positionCS : SV_POSITION; + float2 uv : TEXCOORD0; + float3 normalWS : TEXCOORD1; + + UNITY_VERTEX_INPUT_INSTANCE_ID + UNITY_VERTEX_OUTPUT_STEREO +}; + +void InitializeInputData(Varyings input, out InputData inputData) +{ + inputData = (InputData)0; + + inputData.normalWS = NormalizeNormalPerPixel(input.normalWS); + + inputData.positionWS = float3(0, 0, 0); + inputData.viewDirectionWS = half3(0, 0, 1); + inputData.shadowCoord = 0; + inputData.fogCoord = 0; + inputData.vertexLighting = half3(0, 0, 0); + inputData.bakedGI = half3(0, 0, 0); + inputData.normalizedScreenSpaceUV = 0; + inputData.shadowMask = half4(1, 1, 1, 1); +} + +Varyings UnlitPassVertex(Attributes input) +{ + Varyings output = (Varyings)0; + + UNITY_SETUP_INSTANCE_ID(input); + UNITY_TRANSFER_INSTANCE_ID(input, output); + UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(output); + + VertexPositionInputs vertexInput = GetVertexPositionInputs(input.positionOS.xyz); + output.positionCS = vertexInput.positionCS; + + output.uv = TRANSFORM_TEX(input.uv, _BaseMap); + + VertexNormalInputs normalInput = GetVertexNormalInputs(input.normalOS); + output.normalWS = normalInput.normalWS; + + return output; +} + +FragmentOutput UnlitPassFragment(Varyings input) +{ + UNITY_SETUP_INSTANCE_ID(input); + UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(input); + + half2 uv = input.uv; + half4 texColor = SampleAlbedoAlpha(uv, TEXTURE2D_ARGS(_BaseMap, sampler_BaseMap)); + half3 color = texColor.rgb * _BaseColor.rgb; + half alpha = texColor.a * _BaseColor.a; + + alpha = AlphaDiscard(alpha, _Cutoff); + color = AlphaModulate(color, alpha); + +#ifdef LOD_FADE_CROSSFADE + LODFadeCrossFade(input.positionCS); +#endif + + InputData inputData; + InitializeInputData(input, inputData); + +#ifdef _DBUFFER + ApplyDecalToBaseColor(input.positionCS, color); +#endif + + SurfaceData surfaceData = (SurfaceData)0; + surfaceData.albedo = color; + surfaceData.alpha = alpha; + +#if defined(_SCREEN_SPACE_OCCLUSION) // GBuffer never has transparents + float2 normalizedScreenSpaceUV = GetNormalizedScreenSpaceUV(input.positionCS); + AmbientOcclusionFactor aoFactor = GetScreenSpaceAmbientOcclusion(normalizedScreenSpaceUV); + surfaceData.occlusion = aoFactor.directAmbientOcclusion; +#else + surfaceData.occlusion = 1; +#endif + + return SurfaceDataToGbuffer(surfaceData, inputData, float3(0,0,0), kLightingInvalid); +} + +#endif diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/UnlitGBufferPass.hlsl.meta b/Packages/com.unity.render-pipelines.universal/Shaders/UnlitGBufferPass.hlsl.meta new file mode 100644 index 00000000000..947a0ce04ac --- /dev/null +++ b/Packages/com.unity.render-pipelines.universal/Shaders/UnlitGBufferPass.hlsl.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 28fcbf208a4c04495b93bb6d554908e0 +ShaderIncludeImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/Utils/ScreenSpaceAmbientOcclusion.shader b/Packages/com.unity.render-pipelines.universal/Shaders/Utils/ScreenSpaceAmbientOcclusion.shader index e5e72a094c2..93a7544a73c 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/Utils/ScreenSpaceAmbientOcclusion.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/Utils/ScreenSpaceAmbientOcclusion.shader @@ -38,8 +38,8 @@ Shader "Hidden/Universal Render Pipeline/ScreenSpaceAmbientOcclusion" #pragma multi_compile_local_fragment _SOURCE_DEPTH_LOW _SOURCE_DEPTH_MEDIUM _SOURCE_DEPTH_HIGH _SOURCE_DEPTH_NORMALS #pragma multi_compile_local_fragment _ _ORTHOGRAPHIC #pragma multi_compile_local_fragment _SAMPLE_COUNT_LOW _SAMPLE_COUNT_MEDIUM _SAMPLE_COUNT_HIGH - #pragma multi_compile_fragment _ _FOVEATED_RENDERING_NON_UNIFORM_RASTER + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl" ENDHLSL } @@ -56,6 +56,7 @@ Shader "Hidden/Universal Render Pipeline/ScreenSpaceAmbientOcclusion" HLSLPROGRAM #pragma vertex Vert #pragma fragment HorizontalBlur + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl" ENDHLSL } @@ -68,6 +69,7 @@ Shader "Hidden/Universal Render Pipeline/ScreenSpaceAmbientOcclusion" HLSLPROGRAM #pragma vertex Vert #pragma fragment VerticalBlur + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl" ENDHLSL } @@ -80,6 +82,7 @@ Shader "Hidden/Universal Render Pipeline/ScreenSpaceAmbientOcclusion" HLSLPROGRAM #pragma vertex Vert #pragma fragment FinalBlur + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl" ENDHLSL } @@ -99,6 +102,7 @@ Shader "Hidden/Universal Render Pipeline/ScreenSpaceAmbientOcclusion" #pragma vertex Vert #pragma fragment FragBilateralAfterOpaque + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl" half4 FragBilateralAfterOpaque(Varyings input) : SV_Target @@ -122,6 +126,7 @@ Shader "Hidden/Universal Render Pipeline/ScreenSpaceAmbientOcclusion" HLSLPROGRAM #pragma vertex Vert #pragma fragment HorizontalGaussianBlur + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl" ENDHLSL } @@ -134,6 +139,7 @@ Shader "Hidden/Universal Render Pipeline/ScreenSpaceAmbientOcclusion" HLSLPROGRAM #pragma vertex Vert #pragma fragment VerticalGaussianBlur + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl" ENDHLSL } @@ -153,6 +159,7 @@ Shader "Hidden/Universal Render Pipeline/ScreenSpaceAmbientOcclusion" #pragma vertex Vert #pragma fragment FragGaussianAfterOpaque + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl" half4 FragGaussianAfterOpaque(Varyings input) : SV_Target @@ -176,6 +183,7 @@ Shader "Hidden/Universal Render Pipeline/ScreenSpaceAmbientOcclusion" HLSLPROGRAM #pragma vertex Vert #pragma fragment KawaseBlur + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl" ENDHLSL } @@ -195,6 +203,7 @@ Shader "Hidden/Universal Render Pipeline/ScreenSpaceAmbientOcclusion" #pragma vertex Vert #pragma fragment FragKawaseAfterOpaque + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl" half4 FragKawaseAfterOpaque(Varyings input) : SV_Target diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/Utils/StencilDeferred.hlsl b/Packages/com.unity.render-pipelines.universal/Shaders/Utils/StencilDeferred.hlsl index f5d7a1c6e50..9fb358e01fe 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/Utils/StencilDeferred.hlsl +++ b/Packages/com.unity.render-pipelines.universal/Shaders/Utils/StencilDeferred.hlsl @@ -5,7 +5,7 @@ #include "Packages/com.unity.render-pipelines.universal/Shaders/Utils/Deferred.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Shadows.hlsl" #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/DynamicScaling.hlsl" -#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl" +#include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" struct Attributes { @@ -239,9 +239,12 @@ half4 DeferredShading(Varyings input) : SV_Target float2 screen_uv = (input.screenUV.xy / input.screenUV.z); -#if defined(_FOVEATED_RENDERING_NON_UNIFORM_RASTER) - float2 undistorted_screen_uv = screen_uv; - screen_uv = input.positionCS.xy * _ScreenSize.zw; +#if defined(SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + float2 undistorted_screen_uv = screen_uv; + if (_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + { + screen_uv = input.positionCS.xy * _ScreenSize.zw; + } #endif half4 shadowMask = 1.0; @@ -278,8 +281,11 @@ half4 DeferredShading(Varyings input) : SV_Target return half4(color, alpha); // Cannot discard because stencil must be updated. #endif - #if defined(_FOVEATED_RENDERING_NON_UNIFORM_RASTER) - input.positionCS.xy = undistorted_screen_uv * _ScreenSize.xy; + #if defined(SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + if (_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + { + input.positionCS.xy = undistorted_screen_uv * _ScreenSize.xy; + } #endif #if defined(USING_STEREO_MATRICES) diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/Utils/StencilDeferred.shader b/Packages/com.unity.render-pipelines.universal/Shaders/Utils/StencilDeferred.shader index 118683cc7d3..cc4f7226a01 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/Utils/StencilDeferred.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/Utils/StencilDeferred.shader @@ -108,7 +108,6 @@ Shader "Hidden/Universal Render Pipeline/StencilDeferred" HLSLPROGRAM #pragma target 4.5 - #pragma never_use_dxc metal // Foveated rendering currently not supported in dxc on metal // Deferred Rendering Path does not support the OpenGL-based graphics API: // Desktop OpenGL, OpenGL ES 3.0, WebGL 2.0. @@ -135,7 +134,6 @@ Shader "Hidden/Universal Render Pipeline/StencilDeferred" #pragma multi_compile_fragment _ _SCREEN_SPACE_OCCLUSION #pragma multi_compile_fragment _ _RENDER_PASS_ENABLED #pragma multi_compile_fragment _ _LIGHT_COOKIES - #pragma multi_compile_fragment _ _FOVEATED_RENDERING_NON_UNIFORM_RASTER #pragma multi_compile _ _LIGHT_LAYERS // ------------------------------------- @@ -173,7 +171,6 @@ Shader "Hidden/Universal Render Pipeline/StencilDeferred" HLSLPROGRAM #pragma target 4.5 - #pragma never_use_dxc metal // Foveated rendering currently not supported in dxc on metal // Deferred Rendering Path does not support the OpenGL-based graphics API: // Desktop OpenGL, OpenGL ES 3.0, WebGL 2.0. @@ -200,7 +197,6 @@ Shader "Hidden/Universal Render Pipeline/StencilDeferred" #pragma multi_compile_fragment _ _SCREEN_SPACE_OCCLUSION #pragma multi_compile_fragment _ _RENDER_PASS_ENABLED #pragma multi_compile_fragment _ _LIGHT_COOKIES - #pragma multi_compile_fragment _ _FOVEATED_RENDERING_NON_UNIFORM_RASTER #pragma multi_compile _ _LIGHT_LAYERS // ------------------------------------- @@ -237,7 +233,6 @@ Shader "Hidden/Universal Render Pipeline/StencilDeferred" HLSLPROGRAM #pragma target 4.5 - #pragma never_use_dxc metal // Foveated rendering currently not supported in dxc on metal // Deferred Rendering Path does not support the OpenGL-based graphics API: // Desktop OpenGL, OpenGL ES 3.0, WebGL 2.0. @@ -267,7 +262,6 @@ Shader "Hidden/Universal Render Pipeline/StencilDeferred" #pragma multi_compile_fragment _ _SCREEN_SPACE_OCCLUSION #pragma multi_compile_fragment _ _RENDER_PASS_ENABLED #pragma multi_compile_fragment _ _LIGHT_COOKIES - #pragma multi_compile_fragment _ _FOVEATED_RENDERING_NON_UNIFORM_RASTER #pragma multi_compile _ _LIGHT_LAYERS // ------------------------------------- @@ -304,7 +298,6 @@ Shader "Hidden/Universal Render Pipeline/StencilDeferred" HLSLPROGRAM #pragma target 4.5 - #pragma never_use_dxc metal // Foveated rendering currently not supported in dxc on metal // Deferred Rendering Path does not support the OpenGL-based graphics API: // Desktop OpenGL, OpenGL ES 3.0, WebGL 2.0. @@ -335,7 +328,6 @@ Shader "Hidden/Universal Render Pipeline/StencilDeferred" #pragma multi_compile_fragment _ _SCREEN_SPACE_OCCLUSION #pragma multi_compile_fragment _ _RENDER_PASS_ENABLED #pragma multi_compile_fragment _ _LIGHT_COOKIES - #pragma multi_compile_fragment _ _FOVEATED_RENDERING_NON_UNIFORM_RASTER // ------------------------------------- // Includes diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/XR/XRMirrorView.hlsl b/Packages/com.unity.render-pipelines.universal/Shaders/XR/XRMirrorView.hlsl index dcc3ccff4d0..28a2bc9c7bb 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/XR/XRMirrorView.hlsl +++ b/Packages/com.unity.render-pipelines.universal/Shaders/XR/XRMirrorView.hlsl @@ -52,13 +52,16 @@ float4 FragBilinear(Varyings input) : SV_Target float4 outColor; float2 uv = input.texcoord.xy; -#if defined(_FOVEATED_RENDERING_NON_UNIFORM_RASTER) - // We use stereo eye index to sample the correct slice when resolving foveated targets. - // Since MirrorView is not a stereo shader we have to populate unity_StereoEyeIndex ourselves. - unity_StereoEyeIndex = _SourceTexArraySlice; - - uv = RemapFoveatedRenderingLinearToNonUniform(input.texcoord.xy); -#endif // _FOVEATED_RENDERING_NON_UNIFORM_RASTER +#if defined(SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + if (_FOVEATED_RENDERING_NON_UNIFORM_RASTER) + { + // We use stereo eye index to sample the correct slice when resolving foveated targets. + // Since MirrorView is not a stereo shader we have to populate unity_StereoEyeIndex ourselves. + unity_StereoEyeIndex = _SourceTexArraySlice; + + uv = RemapFoveatedRenderingLinearToNonUniform(input.texcoord.xy); + } +#endif // SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER #if SRC_TEXTURE2D_X_ARRAY outColor = SAMPLE_TEXTURE2D_ARRAY(_SourceTex, sampler_LinearClamp, uv, _SourceTexArraySlice); diff --git a/Packages/com.unity.render-pipelines.universal/Shaders/XR/XRMirrorView.shader b/Packages/com.unity.render-pipelines.universal/Shaders/XR/XRMirrorView.shader index e93869bdeb4..00d260510a9 100644 --- a/Packages/com.unity.render-pipelines.universal/Shaders/XR/XRMirrorView.shader +++ b/Packages/com.unity.render-pipelines.universal/Shaders/XR/XRMirrorView.shader @@ -16,7 +16,6 @@ Shader "Hidden/Universal Render Pipeline/XR/XRMirrorView" HLSLPROGRAM #pragma vertex VertQuad #pragma fragment FragBilinear - #pragma multi_compile_fragment _ _FOVEATED_RENDERING_NON_UNIFORM_RASTER #pragma multi_compile_local_fragment _ HDR_COLORSPACE_CONVERSION_AND_ENCODING #pragma multi_compile_fragment _ DISABLE_TEXTURE2D_X_ARRAY @@ -25,6 +24,7 @@ Shader "Hidden/Universal Render Pipeline/XR/XRMirrorView" #else #define SRC_TEXTURE2D_X_ARRAY 1 #endif + #include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl" #include "Packages/com.unity.render-pipelines.universal/Shaders/XR/XRMirrorView.hlsl" ENDHLSL } diff --git a/Packages/com.unity.render-pipelines.universal/Tests/Editor/ShaderScriptableStripperTests.cs b/Packages/com.unity.render-pipelines.universal/Tests/Editor/ShaderScriptableStripperTests.cs index 8a6d33ab3c5..cd2fc2196ca 100644 --- a/Packages/com.unity.render-pipelines.universal/Tests/Editor/ShaderScriptableStripperTests.cs +++ b/Packages/com.unity.render-pipelines.universal/Tests/Editor/ShaderScriptableStripperTests.cs @@ -587,7 +587,6 @@ public void TestStripUnsupportedVariants(string shaderName, bool expectedDirLigh Shader shader = Shader.Find(shaderName); StripUnsupportedVariants_DirectionalLightmap(shader, expectedDirLightmap); - StripUnsupportedVariants_LightmapProbes(shader, expectedLightmapProbes); StripUnsupportedVariants_EditorVisualization(shader, expectedEditorVizualization); } @@ -615,47 +614,6 @@ public void StripUnsupportedVariants_DirectionalLightmap(Shader shader, bool exp helper.IsFalse(helper.stripper.StripUnsupportedVariants(ref helper.data)); } - public void StripUnsupportedVariants_LightmapProbes(Shader shader, bool expectedLightmapProbes) - { - TestHelper helper; - - helper = new TestHelper(shader, ShaderFeatures.None); - helper.IsFalse(helper.stripper.StripUnsupportedVariants_LightmapProbes(ref helper.data)); - helper.IsFalse(helper.stripper.StripUnsupportedVariants(ref helper.data)); - - // Lightmap - helper = new TestHelper(shader, ShaderFeatures.None); - TestHelper.s_EnabledKeywords = new List{ShaderKeywordStrings.LIGHTMAP_ON}; - helper.IsFalse(helper.stripper.StripUnsupportedVariants_LightmapProbes(ref helper.data)); - helper.IsFalse(helper.stripper.StripUnsupportedVariants(ref helper.data)); - - helper = new TestHelper(shader, ShaderFeatures.None); - TestHelper.s_EnabledKeywords = new List{ShaderKeywordStrings.LIGHTMAP_ON, ShaderKeywordStrings.ProbeVolumeL1}; - helper.AreEqual(expectedLightmapProbes, helper.stripper.StripUnsupportedVariants_LightmapProbes(ref helper.data)); - helper.AreEqual(expectedLightmapProbes, helper.stripper.StripUnsupportedVariants(ref helper.data)); - - helper = new TestHelper(shader, ShaderFeatures.None); - TestHelper.s_EnabledKeywords = new List{ShaderKeywordStrings.LIGHTMAP_ON, ShaderKeywordStrings.ProbeVolumeL2}; - helper.AreEqual(expectedLightmapProbes, helper.stripper.StripUnsupportedVariants_LightmapProbes(ref helper.data)); - helper.AreEqual(expectedLightmapProbes, helper.stripper.StripUnsupportedVariants(ref helper.data)); - - // Dynamic Lightmap - helper = new TestHelper(shader, ShaderFeatures.None); - TestHelper.s_EnabledKeywords = new List{ShaderKeywordStrings.DYNAMICLIGHTMAP_ON}; - helper.IsFalse(helper.stripper.StripUnsupportedVariants_LightmapProbes(ref helper.data)); - helper.IsFalse(helper.stripper.StripUnsupportedVariants(ref helper.data)); - - helper = new TestHelper(shader, ShaderFeatures.None); - TestHelper.s_EnabledKeywords = new List{ShaderKeywordStrings.DYNAMICLIGHTMAP_ON, ShaderKeywordStrings.ProbeVolumeL1}; - helper.AreEqual(expectedLightmapProbes, helper.stripper.StripUnsupportedVariants_LightmapProbes(ref helper.data)); - helper.AreEqual(expectedLightmapProbes, helper.stripper.StripUnsupportedVariants(ref helper.data)); - - helper = new TestHelper(shader, ShaderFeatures.None); - TestHelper.s_EnabledKeywords = new List{ShaderKeywordStrings.DYNAMICLIGHTMAP_ON, ShaderKeywordStrings.ProbeVolumeL2}; - helper.AreEqual(expectedLightmapProbes, helper.stripper.StripUnsupportedVariants_LightmapProbes(ref helper.data)); - helper.AreEqual(expectedLightmapProbes, helper.stripper.StripUnsupportedVariants(ref helper.data)); - } - public void StripUnsupportedVariants_EditorVisualization(Shader shader, bool expectedEditorVizualization) { TestHelper helper; diff --git a/Packages/com.unity.shadergraph/Editor/Data/Nodes/AbstractMaterialNode.cs b/Packages/com.unity.shadergraph/Editor/Data/Nodes/AbstractMaterialNode.cs index 7d00d55a920..e6ad83a1c60 100644 --- a/Packages/com.unity.shadergraph/Editor/Data/Nodes/AbstractMaterialNode.cs +++ b/Packages/com.unity.shadergraph/Editor/Data/Nodes/AbstractMaterialNode.cs @@ -75,6 +75,10 @@ public void UnregisterCallback(OnNodeModified callback) public void Dirty(ModificationScope scope) { + // Calling m_OnModified immediately upon dirtying the node can result in a lot of churn. For example, + // nodes can cause cascading view updates *multiple times* per operation. + // If this call causes future performance issues, we should investigate some kind of deferral or early out + // until all of the dirty nodes have been identified. if (m_OnModified != null) m_OnModified(this, scope); NodeValidation.HandleValidationExtensions(this); @@ -731,7 +735,6 @@ public virtual void Concretize() UpdatePrecision(inputSlots); EvaluateDynamicMaterialSlots(inputSlots, outputSlots); - Dirty(ModificationScope.Topological); } } diff --git a/Tests/SRPTests/Projects/BatchRendererGroup_HDRP/Packages/manifest.json b/Tests/SRPTests/Projects/BatchRendererGroup_HDRP/Packages/manifest.json index d46f2c8d35f..740a0573ce8 100644 --- a/Tests/SRPTests/Projects/BatchRendererGroup_HDRP/Packages/manifest.json +++ b/Tests/SRPTests/Projects/BatchRendererGroup_HDRP/Packages/manifest.json @@ -13,6 +13,7 @@ "com.unity.ide.visualstudio": "2.0.1", "com.unity.mathematics": "1.2.1", "com.unity.render-pipelines.core": "file:../../../../../Packages/com.unity.render-pipelines.core", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "com.unity.render-pipelines.high-definition": "file:../../../../../Packages/com.unity.render-pipelines.high-definition", "com.unity.render-pipelines.high-definition-config": "file:../../../../../Packages/com.unity.render-pipelines.high-definition-config", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", diff --git a/Tests/SRPTests/Projects/BatchRendererGroup_URP/Packages/manifest.json b/Tests/SRPTests/Projects/BatchRendererGroup_URP/Packages/manifest.json index 1301f1a5f3a..77281bd3c11 100644 --- a/Tests/SRPTests/Projects/BatchRendererGroup_URP/Packages/manifest.json +++ b/Tests/SRPTests/Projects/BatchRendererGroup_URP/Packages/manifest.json @@ -13,6 +13,7 @@ "com.unity.ide.visualstudio": "2.0.17", "com.unity.mathematics": "1.2.1", "com.unity.render-pipelines.core": "file:../../../../../Packages/com.unity.render-pipelines.core", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "com.unity.render-pipelines.universal": "file:../../../../../Packages/com.unity.render-pipelines.universal", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", "local.utf.references": "file:../../../Packages/local.utf.references", diff --git a/Tests/SRPTests/Projects/BuiltInGraphicsTest_Foundation/Packages/manifest.json b/Tests/SRPTests/Projects/BuiltInGraphicsTest_Foundation/Packages/manifest.json index 8e5ad6187a4..4f4d2511cf7 100644 --- a/Tests/SRPTests/Projects/BuiltInGraphicsTest_Foundation/Packages/manifest.json +++ b/Tests/SRPTests/Projects/BuiltInGraphicsTest_Foundation/Packages/manifest.json @@ -9,6 +9,7 @@ "com.unity.ide.vscode": "1.1.3", "com.unity.nuget.newtonsoft-json": "2.0.1-preview.1", "com.unity.render-pipelines.core": "file:../../../../../Packages/com.unity.render-pipelines.core", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "com.unity.render-pipelines.universal": "file:../../../../../Packages/com.unity.render-pipelines.universal", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", "local.utf.references": "file:../../../Packages/local.utf.references", diff --git a/Tests/SRPTests/Projects/BuiltInGraphicsTest_Lighting/Packages/manifest.json b/Tests/SRPTests/Projects/BuiltInGraphicsTest_Lighting/Packages/manifest.json index 8e5ad6187a4..4f4d2511cf7 100644 --- a/Tests/SRPTests/Projects/BuiltInGraphicsTest_Lighting/Packages/manifest.json +++ b/Tests/SRPTests/Projects/BuiltInGraphicsTest_Lighting/Packages/manifest.json @@ -9,6 +9,7 @@ "com.unity.ide.vscode": "1.1.3", "com.unity.nuget.newtonsoft-json": "2.0.1-preview.1", "com.unity.render-pipelines.core": "file:../../../../../Packages/com.unity.render-pipelines.core", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "com.unity.render-pipelines.universal": "file:../../../../../Packages/com.unity.render-pipelines.universal", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", "local.utf.references": "file:../../../Packages/local.utf.references", diff --git a/Tests/SRPTests/Projects/HDRP_DXR_Tests/Assets/ShaderVariantLists/Default.shadervariantlist b/Tests/SRPTests/Projects/HDRP_DXR_Tests/Assets/ShaderVariantLists/Default.shadervariantlist index 79890a7ca5a..a57187c83b5 100644 --- a/Tests/SRPTests/Projects/HDRP_DXR_Tests/Assets/ShaderVariantLists/Default.shadervariantlist +++ b/Tests/SRPTests/Projects/HDRP_DXR_Tests/Assets/ShaderVariantLists/Default.shadervariantlist @@ -645,11 +645,19 @@ Compiled shader: HDRP/3DSMaxPhysicalMaterial/PhysicalMaterial3DsMax, pass: PathT Compiled shader: HDRP/3DSMaxPhysicalMaterial/PhysicalMaterial3DsMax, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: HDRP/3DSMaxPhysicalMaterial/PhysicalMaterial3DsMax, pass: ShadowCaster, stage: vertex, keywords Compiled shader: HDRP/Decal, pass: DBufferProjector, stage: all, keywords DECALS_3RT INSTANCING_ON _MATERIAL_AFFECTS_ALBEDO _MATERIAL_AFFECTS_MASKMAP _MATERIAL_AFFECTS_NORMAL +Compiled shader: HDRP/Decal, pass: DBufferProjector, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT INSTANCING_ON _COLORMAP _MASKMAP _MATERIAL_AFFECTS_MASKMAP _NORMALMAP +Compiled shader: HDRP/Decal, pass: DBufferProjector, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT INSTANCING_ON _COLORMAP _MATERIAL_AFFECTS_ALBEDO Compiled shader: HDRP/Decal, pass: DBufferProjector, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT INSTANCING_ON _COLORMAP _MATERIAL_AFFECTS_ALBEDO _MATERIAL_AFFECTS_MASKMAP _MATERIAL_AFFECTS_NORMAL +Compiled shader: HDRP/Decal, pass: DBufferProjector, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT INSTANCING_ON _COLORMAP _MATERIAL_AFFECTS_NORMAL _NORMALMAP Compiled shader: HDRP/Decal, pass: DBufferProjector, stage: all, keywords INSTANCING_ON +Compiled shader: HDRP/Decal, pass: DBufferProjector, stage: all, keywords INSTANCING_ON _NORMALMAP Compiled shader: HDRP/Decal, pass: DBufferProjector, stage: pixel, keywords DECALS_3RT INSTANCING_ON _MATERIAL_AFFECTS_ALBEDO _MATERIAL_AFFECTS_MASKMAP _MATERIAL_AFFECTS_NORMAL +Compiled shader: HDRP/Decal, pass: DBufferProjector, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT INSTANCING_ON _COLORMAP _MASKMAP _MATERIAL_AFFECTS_MASKMAP _NORMALMAP +Compiled shader: HDRP/Decal, pass: DBufferProjector, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT INSTANCING_ON _COLORMAP _MATERIAL_AFFECTS_ALBEDO Compiled shader: HDRP/Decal, pass: DBufferProjector, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT INSTANCING_ON _COLORMAP _MATERIAL_AFFECTS_ALBEDO _MATERIAL_AFFECTS_MASKMAP _MATERIAL_AFFECTS_NORMAL +Compiled shader: HDRP/Decal, pass: DBufferProjector, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT INSTANCING_ON _COLORMAP _MATERIAL_AFFECTS_NORMAL _NORMALMAP Compiled shader: HDRP/Decal, pass: DBufferProjector, stage: vertex, keywords INSTANCING_ON +Compiled shader: HDRP/Decal, pass: DBufferProjector, stage: vertex, keywords INSTANCING_ON _NORMALMAP Compiled shader: HDRP/LayeredLit, pass: DepthOnly, stage: all, keywords WRITE_DECAL_BUFFER Compiled shader: HDRP/LayeredLit, pass: DepthOnly, stage: all, keywords WRITE_DECAL_BUFFER _ALPHATEST_ON _ENABLE_GEOMETRIC_SPECULAR_AA _LAYEREDLIT_3_LAYERS _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 Compiled shader: HDRP/LayeredLit, pass: DepthOnly, stage: all, keywords WRITE_DECAL_BUFFER _ALPHATEST_ON _LAYEREDLIT_3_LAYERS @@ -672,10 +680,10 @@ Compiled shader: HDRP/LayeredLit, pass: DepthOnly, stage: vertex, keywords WRITE Compiled shader: HDRP/LayeredLit, pass: DepthOnly, stage: vertex, keywords WRITE_NORMAL_BUFFER Compiled shader: HDRP/LayeredLit, pass: Forward, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_3RT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _MATERIAL_FEATURE_SUBSURFACE_SCATTERING _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 Compiled shader: HDRP/LayeredLit, pass: Forward, stage: vertex, keywords -Compiled shader: HDRP/LayeredLit, pass: ForwardDXR, stage: raytracing, keywords _ALPHATEST_ON _LAYEREDLIT_3_LAYERS _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 -Compiled shader: HDRP/LayeredLit, pass: ForwardDXR, stage: raytracing, keywords _DISABLE_SSR _LAYEREDLIT_3_LAYERS _MATERIAL_FEATURE_SUBSURFACE_SCATTERING _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 -Compiled shader: HDRP/LayeredLit, pass: ForwardDXR, stage: raytracing, keywords _LAYEREDLIT_3_LAYERS _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 -Compiled shader: HDRP/LayeredLit, pass: ForwardDXR, stage: raytracing, keywords _LAYEREDLIT_3_LAYERS _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 +Compiled shader: HDRP/LayeredLit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _ALPHATEST_ON _LAYEREDLIT_3_LAYERS _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 +Compiled shader: HDRP/LayeredLit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR _LAYEREDLIT_3_LAYERS _MATERIAL_FEATURE_SUBSURFACE_SCATTERING _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 +Compiled shader: HDRP/LayeredLit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _LAYEREDLIT_3_LAYERS _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 +Compiled shader: HDRP/LayeredLit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _LAYEREDLIT_3_LAYERS _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 Compiled shader: HDRP/LayeredLit, pass: GBuffer, stage: all, keywords _ALPHATEST_ON _LAYEREDLIT_3_LAYERS Compiled shader: HDRP/LayeredLit, pass: GBuffer, stage: all, keywords _LAYEREDLIT_3_LAYERS Compiled shader: HDRP/LayeredLit, pass: GBuffer, stage: all, keywords @@ -694,12 +702,12 @@ Compiled shader: HDRP/LayeredLit, pass: GBuffer, stage: pixel, keywords DECALS_4 Compiled shader: HDRP/LayeredLit, pass: GBuffer, stage: vertex, keywords _ALPHATEST_ON _LAYEREDLIT_3_LAYERS Compiled shader: HDRP/LayeredLit, pass: GBuffer, stage: vertex, keywords _LAYEREDLIT_3_LAYERS Compiled shader: HDRP/LayeredLit, pass: GBuffer, stage: vertex, keywords -Compiled shader: HDRP/LayeredLit, pass: GBufferDXR, stage: raytracing, keywords _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 -Compiled shader: HDRP/LayeredLit, pass: IndirectDXR, stage: raytracing, keywords _ALPHATEST_ON _LAYEREDLIT_3_LAYERS _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 -Compiled shader: HDRP/LayeredLit, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR _LAYEREDLIT_3_LAYERS _MATERIAL_FEATURE_SUBSURFACE_SCATTERING _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 -Compiled shader: HDRP/LayeredLit, pass: IndirectDXR, stage: raytracing, keywords _LAYEREDLIT_3_LAYERS _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 -Compiled shader: HDRP/LayeredLit, pass: IndirectDXR, stage: raytracing, keywords _LAYEREDLIT_3_LAYERS _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 -Compiled shader: HDRP/LayeredLit, pass: IndirectDXR, stage: raytracing, keywords MULTI_BOUNCE_INDIRECT _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 +Compiled shader: HDRP/LayeredLit, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 +Compiled shader: HDRP/LayeredLit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _ALPHATEST_ON _LAYEREDLIT_3_LAYERS _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 +Compiled shader: HDRP/LayeredLit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR _LAYEREDLIT_3_LAYERS _MATERIAL_FEATURE_SUBSURFACE_SCATTERING _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 +Compiled shader: HDRP/LayeredLit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _LAYEREDLIT_3_LAYERS _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 +Compiled shader: HDRP/LayeredLit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _LAYEREDLIT_3_LAYERS _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 +Compiled shader: HDRP/LayeredLit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT MULTI_BOUNCE_INDIRECT _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 Compiled shader: HDRP/LayeredLit, pass: ShadowCaster, stage: all, keywords _ALPHATEST_ON _ENABLE_GEOMETRIC_SPECULAR_AA _LAYEREDLIT_3_LAYERS _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 Compiled shader: HDRP/LayeredLit, pass: ShadowCaster, stage: all, keywords _ALPHATEST_ON _LAYEREDLIT_3_LAYERS Compiled shader: HDRP/LayeredLit, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR _LAYEREDLIT_3_LAYERS _MATERIAL_FEATURE_SUBSURFACE_SCATTERING _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 @@ -730,7 +738,7 @@ Compiled shader: HDRP/LayeredLitTessellation, pass: DepthOnly, stage: domain, ke Compiled shader: HDRP/LayeredLitTessellation, pass: DepthOnly, stage: hull, keywords WRITE_DECAL_BUFFER _LAYEREDLIT_3_LAYERS Compiled shader: HDRP/LayeredLitTessellation, pass: DepthOnly, stage: pixel, keywords WRITE_DECAL_BUFFER _LAYEREDLIT_3_LAYERS _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 Compiled shader: HDRP/LayeredLitTessellation, pass: DepthOnly, stage: vertex, keywords WRITE_DECAL_BUFFER _LAYEREDLIT_3_LAYERS -Compiled shader: HDRP/LayeredLitTessellation, pass: ForwardDXR, stage: raytracing, keywords _LAYEREDLIT_3_LAYERS _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 +Compiled shader: HDRP/LayeredLitTessellation, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _LAYEREDLIT_3_LAYERS _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 Compiled shader: HDRP/LayeredLitTessellation, pass: GBuffer, stage: all, keywords _LAYEREDLIT_3_LAYERS Compiled shader: HDRP/LayeredLitTessellation, pass: GBuffer, stage: all, keywords _LAYEREDLIT_3_LAYERS _TESSELLATION_PHONG Compiled shader: HDRP/LayeredLitTessellation, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _LAYEREDLIT_3_LAYERS _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 @@ -738,7 +746,7 @@ Compiled shader: HDRP/LayeredLitTessellation, pass: GBuffer, stage: domain, keyw Compiled shader: HDRP/LayeredLitTessellation, pass: GBuffer, stage: hull, keywords _LAYEREDLIT_3_LAYERS Compiled shader: HDRP/LayeredLitTessellation, pass: GBuffer, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _LAYEREDLIT_3_LAYERS _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 Compiled shader: HDRP/LayeredLitTessellation, pass: GBuffer, stage: vertex, keywords _LAYEREDLIT_3_LAYERS -Compiled shader: HDRP/LayeredLitTessellation, pass: IndirectDXR, stage: raytracing, keywords _LAYEREDLIT_3_LAYERS _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 +Compiled shader: HDRP/LayeredLitTessellation, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _LAYEREDLIT_3_LAYERS _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 Compiled shader: HDRP/LayeredLitTessellation, pass: ShadowCaster, stage: all, keywords _LAYEREDLIT_3_LAYERS Compiled shader: HDRP/LayeredLitTessellation, pass: ShadowCaster, stage: all, keywords _LAYEREDLIT_3_LAYERS _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 Compiled shader: HDRP/LayeredLitTessellation, pass: ShadowCaster, stage: all, keywords _LAYEREDLIT_3_LAYERS _TESSELLATION_PHONG @@ -809,12 +817,11 @@ Compiled shader: HDRP/Lit, pass: DepthOnly, stage: vertex, keywords WRITE_NORMAL Compiled shader: HDRP/Lit, pass: DepthOnly, stage: vertex, keywords WRITE_NORMAL_BUFFER _DISABLE_SSR_TRANSPARENT _NORMALMAP Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords _DISABLE_SSR_TRANSPARENT _NORMALMAP Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords _DISABLE_SSR_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords _DOUBLESIDED_ON _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DEBUG_DISPLAY DECALS_3RT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT _NORMALMAP _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DEBUG_DISPLAY DECALS_3RT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DEBUG_DISPLAY DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR_TRANSPARENT _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DEBUG_DISPLAY DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR_TRANSPARENT _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DEBUG_DISPLAY DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT @@ -823,14 +830,13 @@ Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIU Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_3RT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR_TRANSPARENT _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR_TRANSPARENT _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR_TRANSPARENT _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR_TRANSPARENT _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords DEBUG_DISPLAY _DISABLE_SSR_TRANSPARENT -Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords DEBUG_DISPLAY _DISABLE_SSR_TRANSPARENT _NORMALMAP Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords DEBUG_DISPLAY _DISABLE_SSR_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords DEBUG_DISPLAY _DOUBLESIDED_ON _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: all, keywords DEBUG_DISPLAY _SURFACE_TYPE_TRANSPARENT @@ -845,6 +851,7 @@ Compiled shader: HDRP/Lit, pass: Forward, stage: pixel, keywords AREA_SHADOW_MED Compiled shader: HDRP/Lit, pass: Forward, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_3RT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE Compiled shader: HDRP/Lit, pass: Forward, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: Forward, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR_TRANSPARENT _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR_TRANSPARENT _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT @@ -864,23 +871,24 @@ Compiled shader: HDRP/Lit, pass: Forward, stage: vertex, keywords DEBUG_DISPLAY Compiled shader: HDRP/Lit, pass: Forward, stage: vertex, keywords DEBUG_DISPLAY _DISABLE_SSR_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: vertex, keywords DEBUG_DISPLAY _DOUBLESIDED_ON _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: Forward, stage: vertex, keywords DEBUG_DISPLAY _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords _DISABLE_SSR _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _HEIGHTMAP _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _IRIDESCENCE_THICKNESSMAP _MATERIAL_FEATURE_IRIDESCENCE _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_ANISOTROPY _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_SPECULAR_COLOR _NORMALMAP_TANGENT_SPACE _SPECULARCOLORMAP -Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_SUBSURFACE_SCATTERING _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords _DOUBLESIDED_ON _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DEBUG_DISPLAY _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DEBUG_DISPLAY _DOUBLESIDED_ON _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DEBUG_DISPLAY DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DEBUG_DISPLAY DECALS_4RT DECAL_SURFACE_GRADIENT _DOUBLESIDED_ON _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DECALS_3RT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _HEIGHTMAP _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _IRIDESCENCE_THICKNESSMAP _MATERIAL_FEATURE_IRIDESCENCE _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_ANISOTROPY _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_SPECULAR_COLOR _NORMALMAP_TANGENT_SPACE _SPECULARCOLORMAP +Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_SUBSURFACE_SCATTERING _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DOUBLESIDED_ON _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: GBuffer, stage: all, keywords _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT Compiled shader: HDRP/Lit, pass: GBuffer, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: HDRP/Lit, pass: GBuffer, stage: all, keywords _DISABLE_SSR_TRANSPARENT _HEIGHTMAP @@ -950,48 +958,55 @@ Compiled shader: HDRP/Lit, pass: GBuffer, stage: vertex, keywords _DISABLE_SSR_T Compiled shader: HDRP/Lit, pass: GBuffer, stage: vertex, keywords DEBUG_DISPLAY _DISABLE_SSR_TRANSPARENT Compiled shader: HDRP/Lit, pass: GBuffer, stage: vertex, keywords DEBUG_DISPLAY _DISABLE_SSR_TRANSPARENT _NORMALMAP Compiled shader: HDRP/Lit, pass: GBuffer, stage: vertex, keywords DIRLIGHTMAP_COMBINED LIGHTMAP_ON _DISABLE_SSR_TRANSPARENT -Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords _DISABLE_SSR _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_ANISOTROPY _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_SPECULAR_COLOR _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords DEBUG_DISPLAY MINIMAL_GBUFFER _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_SUBSURFACE_SCATTERING _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords DEBUG_DISPLAY MINIMAL_GBUFFER _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords MINIMAL_GBUFFER _DISABLE_SSR _DISABLE_SSR_TRANSPARENT _EMISSIVE_COLOR_MAP _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords MINIMAL_GBUFFER _DISABLE_SSR _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords MINIMAL_GBUFFER _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_SUBSURFACE_SCATTERING _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords MINIMAL_GBUFFER _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _NORMALMAP_TANGENT_SPACE _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _HEIGHTMAP _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _IRIDESCENCE_THICKNESSMAP _MATERIAL_FEATURE_IRIDESCENCE _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_ANISOTROPY _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_SPECULAR_COLOR _NORMALMAP_TANGENT_SPACE _SPECULARCOLORMAP -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_SUBSURFACE_SCATTERING _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _NORMALMAP _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _DOUBLESIDED_ON _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY _DISABLE_SSR_TRANSPARENT _NORMALMAP _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY _DOUBLESIDED_ON _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY MULTI_BOUNCE_INDIRECT _DISABLE_SSR _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DIRLIGHTMAP_COMBINED LIGHTMAP_ON _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords MULTI_BOUNCE_INDIRECT _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords MULTI_BOUNCE_INDIRECT _DISABLE_SSR _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_ANISOTROPY _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_SPECULAR_COLOR _NORMALMAP_TANGENT_SPACE -Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords DEBUG_DISPLAY DECALS_3RT MINIMAL_GBUFFER _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_SUBSURFACE_SCATTERING _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords DEBUG_DISPLAY DECALS_3RT MINIMAL_GBUFFER _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords DECALS_3RT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords DECALS_3RT MINIMAL_GBUFFER _DISABLE_SSR _DISABLE_SSR_TRANSPARENT _EMISSIVE_COLOR_MAP _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords DECALS_3RT MINIMAL_GBUFFER _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_SUBSURFACE_SCATTERING _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords DECALS_3RT MINIMAL_GBUFFER _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_ANISOTROPY _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_SPECULAR_COLOR _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT MINIMAL_GBUFFER _DISABLE_SSR _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT MINIMAL_GBUFFER _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY DECALS_3RT _DISABLE_SSR_TRANSPARENT _NORMALMAP _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY DECALS_3RT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _NORMALMAP _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY DECALS_4RT DECAL_SURFACE_GRADIENT _DOUBLESIDED_ON _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY DECALS_4RT DECAL_SURFACE_GRADIENT MULTI_BOUNCE_INDIRECT _DISABLE_SSR _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY DECALS_4RT DECAL_SURFACE_GRADIENT MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_3RT _DISABLE_SSR_TRANSPARENT _NORMALMAP _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_3RT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_3RT MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _NORMALMAP_TANGENT_SPACE _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _HEIGHTMAP _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _IRIDESCENCE_THICKNESSMAP _MATERIAL_FEATURE_IRIDESCENCE _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_ANISOTROPY _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_SPECULAR_COLOR _NORMALMAP_TANGENT_SPACE _SPECULARCOLORMAP +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_SUBSURFACE_SCATTERING _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _NORMALMAP _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DOUBLESIDED_ON _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT DIRLIGHTMAP_COMBINED LIGHTMAP_ON _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT MULTI_BOUNCE_INDIRECT _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT MULTI_BOUNCE_INDIRECT _DISABLE_SSR _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_ANISOTROPY _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_SPECULAR_COLOR _NORMALMAP_TANGENT_SPACE +Compiled shader: HDRP/Lit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE Compiled shader: HDRP/Lit, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER _DISABLE_SSR_TRANSPARENT Compiled shader: HDRP/Lit, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE Compiled shader: HDRP/Lit, pass: MotionVectors, stage: pixel, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE @@ -1041,6 +1056,8 @@ Compiled shader: HDRP/Lit, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR Compiled shader: HDRP/Lit, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE Compiled shader: HDRP/Lit, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: HDRP/Lit, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT @@ -1115,14 +1132,18 @@ Compiled shader: HDRP/Lit, pass: SubSurfaceDXR, stage: raytracing, keywords _DIS Compiled shader: HDRP/Lit, pass: SubSurfaceDXR, stage: raytracing, keywords DEBUG_DISPLAY _DISABLE_SSR_TRANSPARENT _MATERIAL_FEATURE_SUBSURFACE_SCATTERING _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP_TANGENT_SPACE Compiled shader: HDRP/Lit, pass: SubSurfaceDXR, stage: raytracing, keywords DEBUG_DISPLAY _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE Compiled shader: HDRP/Lit, pass: TransparentDepthPrepass, stage: all, keywords _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: TransparentDepthPrepass, stage: all, keywords _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: TransparentDepthPrepass, stage: all, keywords _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: TransparentDepthPrepass, stage: all, keywords _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: TransparentDepthPrepass, stage: all, keywords _DOUBLESIDED_ON _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: TransparentDepthPrepass, stage: all, keywords _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: TransparentDepthPrepass, stage: all, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: TransparentDepthPrepass, stage: pixel, keywords _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: TransparentDepthPrepass, stage: pixel, keywords _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: TransparentDepthPrepass, stage: pixel, keywords _DISABLE_SSR_TRANSPARENT _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: TransparentDepthPrepass, stage: pixel, keywords _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: TransparentDepthPrepass, stage: pixel, keywords _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT +Compiled shader: HDRP/Lit, pass: TransparentDepthPrepass, stage: vertex, keywords _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: TransparentDepthPrepass, stage: vertex, keywords _DISABLE_SSR_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: TransparentDepthPrepass, stage: vertex, keywords _DOUBLESIDED_ON _SURFACE_TYPE_TRANSPARENT Compiled shader: HDRP/Lit, pass: TransparentDepthPrepass, stage: vertex, keywords _SURFACE_TYPE_TRANSPARENT @@ -1156,16 +1177,16 @@ Compiled shader: HDRP/LitTessellation, pass: Forward, stage: domain, keywords _D Compiled shader: HDRP/LitTessellation, pass: Forward, stage: hull, keywords _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _SURFACE_TYPE_TRANSPARENT _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE Compiled shader: HDRP/LitTessellation, pass: Forward, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _ENABLE_FOG_ON_TRANSPARENT _HEIGHTMAP _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE Compiled shader: HDRP/LitTessellation, pass: Forward, stage: vertex, keywords _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _SURFACE_TYPE_TRANSPARENT _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE -Compiled shader: HDRP/LitTessellation, pass: ForwardDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE -Compiled shader: HDRP/LitTessellation, pass: ForwardDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _NORMALMAP_TANGENT_SPACE _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE +Compiled shader: HDRP/LitTessellation, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE +Compiled shader: HDRP/LitTessellation, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _NORMALMAP_TANGENT_SPACE _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE Compiled shader: HDRP/LitTessellation, pass: GBuffer, stage: all, keywords _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE Compiled shader: HDRP/LitTessellation, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _NORMALMAP_TANGENT_SPACE _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE Compiled shader: HDRP/LitTessellation, pass: GBuffer, stage: domain, keywords _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE Compiled shader: HDRP/LitTessellation, pass: GBuffer, stage: hull, keywords _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE Compiled shader: HDRP/LitTessellation, pass: GBuffer, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _NORMALMAP_TANGENT_SPACE _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE Compiled shader: HDRP/LitTessellation, pass: GBuffer, stage: vertex, keywords _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE -Compiled shader: HDRP/LitTessellation, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE -Compiled shader: HDRP/LitTessellation, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _NORMALMAP_TANGENT_SPACE _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE +Compiled shader: HDRP/LitTessellation, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE +Compiled shader: HDRP/LitTessellation, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _NORMALMAP_TANGENT_SPACE _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE Compiled shader: HDRP/LitTessellation, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _ENABLE_FOG_ON_TRANSPARENT _HEIGHTMAP _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE Compiled shader: HDRP/LitTessellation, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _NORMALMAP_TANGENT_SPACE _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE Compiled shader: HDRP/LitTessellation, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _SURFACE_TYPE_TRANSPARENT _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE @@ -1189,7 +1210,7 @@ Compiled shader: HDRP/SG_Eye, pass: ForwardOnly, stage: all, keywords -Compiled shader: HDRP/SG_Eye, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: HDRP/SG_Eye, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: HDRP/SG_Eye, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: HDRP/SG_Eye, pass: ShadowCaster, stage: all, keywords Compiled shader: HDRP/SG_Eye, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR_TRANSPARENT @@ -1200,7 +1221,7 @@ Compiled shader: HDRP/TerrainLit, pass: DepthOnly, stage: pixel, keywords WRITE_ Compiled shader: HDRP/TerrainLit, pass: DepthOnly, stage: pixel, keywords WRITE_DECAL_BUFFER _MASKMAP _NORMALMAP _TERRAIN_INSTANCED_PERPIXEL_NORMAL Compiled shader: HDRP/TerrainLit, pass: DepthOnly, stage: vertex, keywords WRITE_DECAL_BUFFER _MASKMAP _NORMALMAP Compiled shader: HDRP/TerrainLit, pass: DepthOnly, stage: vertex, keywords WRITE_DECAL_BUFFER _MASKMAP _NORMALMAP _TERRAIN_INSTANCED_PERPIXEL_NORMAL -Compiled shader: HDRP/TerrainLit, pass: ForwardDXR, stage: raytracing, keywords _MASKMAP _NORMALMAP _TERRAIN_INSTANCED_PERPIXEL_NORMAL +Compiled shader: HDRP/TerrainLit, pass: ForwardDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _MASKMAP _NORMALMAP _TERRAIN_INSTANCED_PERPIXEL_NORMAL Compiled shader: HDRP/TerrainLit, pass: GBuffer, stage: all, keywords _MASKMAP _NORMALMAP _TERRAIN_INSTANCED_PERPIXEL_NORMAL Compiled shader: HDRP/TerrainLit, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _MASKMAP _NORMALMAP _TERRAIN_INSTANCED_PERPIXEL_NORMAL Compiled shader: HDRP/TerrainLit, pass: GBuffer, stage: pixel, keywords DECALS_4RT _MASKMAP _NORMALMAP @@ -1209,8 +1230,8 @@ Compiled shader: HDRP/TerrainLit, pass: GBuffer, stage: pixel, keywords DECALS_4 Compiled shader: HDRP/TerrainLit, pass: GBuffer, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _MASKMAP _NORMALMAP _TERRAIN_INSTANCED_PERPIXEL_NORMAL Compiled shader: HDRP/TerrainLit, pass: GBuffer, stage: vertex, keywords _MASKMAP _NORMALMAP Compiled shader: HDRP/TerrainLit, pass: GBuffer, stage: vertex, keywords _MASKMAP _NORMALMAP _TERRAIN_INSTANCED_PERPIXEL_NORMAL -Compiled shader: HDRP/TerrainLit, pass: GBufferDXR, stage: raytracing, keywords _MASKMAP _NORMALMAP _TERRAIN_INSTANCED_PERPIXEL_NORMAL -Compiled shader: HDRP/TerrainLit, pass: IndirectDXR, stage: raytracing, keywords _MASKMAP _NORMALMAP _TERRAIN_INSTANCED_PERPIXEL_NORMAL +Compiled shader: HDRP/TerrainLit, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _MASKMAP _NORMALMAP _TERRAIN_INSTANCED_PERPIXEL_NORMAL +Compiled shader: HDRP/TerrainLit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _MASKMAP _NORMALMAP _TERRAIN_INSTANCED_PERPIXEL_NORMAL Compiled shader: HDRP/TerrainLit, pass: PathTracingDXR, stage: raytracing, keywords DECALS_4RT _MASKMAP _NORMALMAP Compiled shader: HDRP/TerrainLit, pass: PathTracingDXR, stage: raytracing, keywords DECALS_4RT _MASKMAP _NORMALMAP _TERRAIN_INSTANCED_PERPIXEL_NORMAL Compiled shader: HDRP/TerrainLit, pass: PathTracingDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _MASKMAP _NORMALMAP @@ -1311,7 +1332,10 @@ Compiled shader: Hidden/HDRP/Blit, pass: BilinearCubeToOctahedralPadding, stage: Compiled shader: Hidden/HDRP/Blit, pass: BilinearCubeToOctahedralPadding, stage: pixel, keywords DISABLE_TEXTURE2D_X_ARRAY Compiled shader: Hidden/HDRP/Blit, pass: BilinearCubeToOctahedralPadding, stage: vertex, keywords Compiled shader: Hidden/HDRP/Blit, pass: BilinearCubeToOctahedralPadding, stage: vertex, keywords DISABLE_TEXTURE2D_X_ARRAY +Compiled shader: Hidden/HDRP/Blit, pass: BilinearQuad, stage: all, keywords DISABLE_TEXTURE2D_X_ARRAY +Compiled shader: Hidden/HDRP/Blit, pass: BilinearQuad, stage: pixel, keywords Compiled shader: Hidden/HDRP/Blit, pass: BilinearQuad, stage: pixel, keywords DISABLE_TEXTURE2D_X_ARRAY +Compiled shader: Hidden/HDRP/Blit, pass: BilinearQuad, stage: vertex, keywords Compiled shader: Hidden/HDRP/Blit, pass: BilinearQuad, stage: vertex, keywords DISABLE_TEXTURE2D_X_ARRAY Compiled shader: Hidden/HDRP/Blit, pass: BilinearQuadPadding, stage: all, keywords DISABLE_TEXTURE2D_X_ARRAY Compiled shader: Hidden/HDRP/Blit, pass: BilinearQuadPadding, stage: pixel, keywords @@ -1343,10 +1367,8 @@ Compiled shader: Hidden/HDRP/CopyDepthBuffer, pass: Copy Depth, stage: vertex, k Compiled shader: Hidden/HDRP/DebugFullScreen, pass: , stage: all, keywords Compiled shader: Hidden/HDRP/DebugFullScreen, pass: , stage: pixel, keywords Compiled shader: Hidden/HDRP/DebugFullScreen, pass: , stage: vertex, keywords -Compiled shader: Hidden/HDRP/DebugLightCluster, pass: , stage: all, keywords Compiled shader: Hidden/HDRP/DebugLightCluster, pass: , stage: pixel, keywords Compiled shader: Hidden/HDRP/DebugLightCluster, pass: , stage: vertex, keywords -Compiled shader: Hidden/HDRP/DebugLightCluster, pass: , stage: all, keywords Compiled shader: Hidden/HDRP/DebugLightCluster, pass: , stage: pixel, keywords Compiled shader: Hidden/HDRP/DebugLightCluster, pass: , stage: vertex, keywords Compiled shader: Hidden/HDRP/FinalPass, pass: , stage: all, keywords @@ -1545,7 +1567,7 @@ Compiled shader: Hidden/VFX/RefractiveEye/System/Output Particle Lit Quad, pass: Compiled shader: Hidden/VFX/RefractiveEye/System/Output Particle Lit Quad, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_3RT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT Compiled shader: Hidden/VFX/RefractiveEye/System/Output Particle Lit Quad, pass: Forward, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_3RT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT Compiled shader: Hidden/VFX/RefractiveEye/System/Output Particle Lit Quad, pass: Forward, stage: vertex, keywords _ALPHATEST_ON _DOUBLESIDED_ON _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT -Compiled shader: Hidden/VFX/RefractiveEye/System/Output Particle Lit Quad, pass: IndirectDXR, stage: raytracing, keywords _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT +Compiled shader: Hidden/VFX/RefractiveEye/System/Output Particle Lit Quad, pass: IndirectDXR, stage: raytracing, keywords DECALS_3RT _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT Compiled shader: Hidden/VFX/RefractiveEye/System/Output Particle Lit Quad, pass: ShadowCaster, stage: all, keywords _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT Compiled shader: Hidden/VFX/RefractiveEye/System/Output Particle Lit Quad, pass: ShadowCaster, stage: all, keywords _ALPHATEST_ON _DOUBLESIDED_ON _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT Compiled shader: Hidden/VFX/RefractiveEye/System/Output Particle Lit Quad, pass: ShadowCaster, stage: all, keywords @@ -1624,7 +1646,7 @@ Compiled shader: Shader Graphs/CheckerBoardSG, pass: GBuffer, stage: all, keywor Compiled shader: Shader Graphs/CheckerBoardSG, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/CheckerBoardSG, pass: GBuffer, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/CheckerBoardSG, pass: GBuffer, stage: vertex, keywords -Compiled shader: Shader Graphs/CheckerBoardSG, pass: IndirectDXR, stage: raytracing, keywords +Compiled shader: Shader Graphs/CheckerBoardSG, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/CheckerBoardSG, pass: MotionVectors, stage: all, keywords Compiled shader: Shader Graphs/CheckerBoardSG, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER Compiled shader: Shader Graphs/CheckerBoardSG, pass: MotionVectors, stage: pixel, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER @@ -1632,8 +1654,14 @@ Compiled shader: Shader Graphs/CheckerBoardSG, pass: MotionVectors, stage: verte Compiled shader: Shader Graphs/CheckerBoardSG, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/CheckerBoardSG, pass: ShadowCaster, stage: pixel, keywords Compiled shader: Shader Graphs/CheckerBoardSG, pass: ShadowCaster, stage: vertex, keywords +Compiled shader: Shader Graphs/Color Decal, pass: AtlasProjector, stage: all, keywords DECALS_4RT _MATERIAL_AFFECTS_ALBEDO +Compiled shader: Shader Graphs/Color Decal, pass: AtlasProjector, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _MATERIAL_AFFECTS_ALBEDO Compiled shader: Shader Graphs/Color Decal, pass: AtlasProjector, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _MATERIAL_AFFECTS_ALBEDO Compiled shader: Shader Graphs/Color Decal, pass: AtlasProjector, stage: vertex, keywords DECALS_4RT _MATERIAL_AFFECTS_ALBEDO +Compiled shader: Shader Graphs/Color Decal, pass: DBufferProjector, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT INSTANCING_ON _MATERIAL_AFFECTS_ALBEDO +Compiled shader: Shader Graphs/Color Decal, pass: DBufferProjector, stage: all, keywords DECALS_4RT INSTANCING_ON _MATERIAL_AFFECTS_ALBEDO +Compiled shader: Shader Graphs/Color Decal, pass: DBufferProjector, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT INSTANCING_ON _MATERIAL_AFFECTS_ALBEDO +Compiled shader: Shader Graphs/Color Decal, pass: DBufferProjector, stage: vertex, keywords DECALS_4RT INSTANCING_ON _MATERIAL_AFFECTS_ALBEDO Compiled shader: Shader Graphs/ElipseSG, pass: DepthOnly, stage: all, keywords Compiled shader: Shader Graphs/ElipseSG, pass: DepthOnly, stage: all, keywords WRITE_DECAL_BUFFER Compiled shader: Shader Graphs/ElipseSG, pass: DepthOnly, stage: pixel, keywords WRITE_DECAL_BUFFER @@ -1642,7 +1670,7 @@ Compiled shader: Shader Graphs/ElipseSG, pass: GBuffer, stage: all, keywords -Compiled shader: Shader Graphs/ElipseSG, pass: IndirectDXR, stage: raytracing, keywords +Compiled shader: Shader Graphs/ElipseSG, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/ElipseSG, pass: MotionVectors, stage: all, keywords Compiled shader: Shader Graphs/ElipseSG, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER Compiled shader: Shader Graphs/ElipseSG, pass: MotionVectors, stage: pixel, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER @@ -1662,9 +1690,9 @@ Compiled shader: Shader Graphs/EyeSG, pass: ForwardOnly, stage: pixel, keywords Compiled shader: Shader Graphs/EyeSG, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/EyeSG, pass: ForwardOnly, stage: vertex, keywords Compiled shader: Shader Graphs/EyeSG, pass: ForwardOnly, stage: vertex, keywords DEBUG_DISPLAY -Compiled shader: Shader Graphs/EyeSG, pass: GBufferDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT -Compiled shader: Shader Graphs/EyeSG, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT -Compiled shader: Shader Graphs/EyeSG, pass: IndirectDXR, stage: raytracing, keywords MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/EyeSG, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/EyeSG, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY DECALS_4RT DECAL_SURFACE_GRADIENT MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/EyeSG, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/EyeSG, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/EyeSG, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/EyeSG, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR_TRANSPARENT @@ -1683,8 +1711,8 @@ Compiled shader: Shader Graphs/Fabric_CottonWool, pass: ForwardOnly, stage: pixe Compiled shader: Shader Graphs/Fabric_CottonWool, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_CottonWool, pass: ForwardOnly, stage: vertex, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Fabric_CottonWool, pass: ForwardOnly, stage: vertex, keywords -Compiled shader: Shader Graphs/Fabric_CottonWool, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT -Compiled shader: Shader Graphs/Fabric_CottonWool, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/Fabric_CottonWool, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/Fabric_CottonWool, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Fabric_CottonWool, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_CottonWool, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Fabric_CottonWool, pass: ShadowCaster, stage: all, keywords _SURFACE_TYPE_TRANSPARENT @@ -1704,7 +1732,7 @@ Compiled shader: Shader Graphs/Fabric_CottonWool_AlphaClip, pass: ForwardOnly, s Compiled shader: Shader Graphs/Fabric_CottonWool_AlphaClip, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_CottonWool_AlphaClip, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_CottonWool_AlphaClip, pass: ForwardOnly, stage: vertex, keywords _ALPHATEST_ON -Compiled shader: Shader Graphs/Fabric_CottonWool_AlphaClip, pass: IndirectDXR, stage: raytracing, keywords _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/Fabric_CottonWool_AlphaClip, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_CottonWool_AlphaClip, pass: ShadowCaster, stage: all, keywords _ALPHATEST_ON Compiled shader: Shader Graphs/Fabric_CottonWool_AlphaClip, pass: ShadowCaster, stage: all, keywords _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_CottonWool_AlphaClip, pass: ShadowCaster, stage: pixel, keywords _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT @@ -1719,7 +1747,7 @@ Compiled shader: Shader Graphs/Fabric_CottonWool_SSS, pass: ForwardOnly, stage: Compiled shader: Shader Graphs/Fabric_CottonWool_SSS, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_CottonWool_SSS, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_CottonWool_SSS, pass: ForwardOnly, stage: vertex, keywords -Compiled shader: Shader Graphs/Fabric_CottonWool_SSS, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/Fabric_CottonWool_SSS, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_CottonWool_SSS, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_CottonWool_SSS, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/Fabric_CottonWool_SSS, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR_TRANSPARENT @@ -1734,7 +1762,7 @@ Compiled shader: Shader Graphs/Fabric_CottonWool_Transmission, pass: ForwardOnly Compiled shader: Shader Graphs/Fabric_CottonWool_Transmission, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_CottonWool_Transmission, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_CottonWool_Transmission, pass: ForwardOnly, stage: vertex, keywords -Compiled shader: Shader Graphs/Fabric_CottonWool_Transmission, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/Fabric_CottonWool_Transmission, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_CottonWool_Transmission, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_CottonWool_Transmission, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/Fabric_CottonWool_Transmission, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR_TRANSPARENT @@ -1754,8 +1782,8 @@ Compiled shader: Shader Graphs/Fabric_Silk, pass: ForwardOnly, stage: pixel, key Compiled shader: Shader Graphs/Fabric_Silk, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_Silk, pass: ForwardOnly, stage: vertex, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Fabric_Silk, pass: ForwardOnly, stage: vertex, keywords -Compiled shader: Shader Graphs/Fabric_Silk, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT -Compiled shader: Shader Graphs/Fabric_Silk, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/Fabric_Silk, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/Fabric_Silk, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Fabric_Silk, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_Silk, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Fabric_Silk, pass: ShadowCaster, stage: all, keywords _SURFACE_TYPE_TRANSPARENT @@ -1775,7 +1803,7 @@ Compiled shader: Shader Graphs/Fabric_Silk_AlphaClip_DS, pass: ForwardOnly, stag Compiled shader: Shader Graphs/Fabric_Silk_AlphaClip_DS, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON Compiled shader: Shader Graphs/Fabric_Silk_AlphaClip_DS, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON Compiled shader: Shader Graphs/Fabric_Silk_AlphaClip_DS, pass: ForwardOnly, stage: vertex, keywords _ALPHATEST_ON _DOUBLESIDED_ON -Compiled shader: Shader Graphs/Fabric_Silk_AlphaClip_DS, pass: IndirectDXR, stage: raytracing, keywords _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON +Compiled shader: Shader Graphs/Fabric_Silk_AlphaClip_DS, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON Compiled shader: Shader Graphs/Fabric_Silk_AlphaClip_DS, pass: ShadowCaster, stage: all, keywords _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON Compiled shader: Shader Graphs/Fabric_Silk_AlphaClip_DS, pass: ShadowCaster, stage: all, keywords _ALPHATEST_ON _DOUBLESIDED_ON Compiled shader: Shader Graphs/Fabric_Silk_AlphaClip_DS, pass: ShadowCaster, stage: pixel, keywords _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON @@ -1790,7 +1818,7 @@ Compiled shader: Shader Graphs/Fabric_Silk_SSS, pass: ForwardOnly, stage: all, k Compiled shader: Shader Graphs/Fabric_Silk_SSS, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_Silk_SSS, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_Silk_SSS, pass: ForwardOnly, stage: vertex, keywords -Compiled shader: Shader Graphs/Fabric_Silk_SSS, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/Fabric_Silk_SSS, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_Silk_SSS, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_Silk_SSS, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/Fabric_Silk_SSS, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR_TRANSPARENT @@ -1805,7 +1833,7 @@ Compiled shader: Shader Graphs/Fabric_Silk_Transmission, pass: ForwardOnly, stag Compiled shader: Shader Graphs/Fabric_Silk_Transmission, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_Silk_Transmission, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_Silk_Transmission, pass: ForwardOnly, stage: vertex, keywords -Compiled shader: Shader Graphs/Fabric_Silk_Transmission, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/Fabric_Silk_Transmission, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_Silk_Transmission, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Fabric_Silk_Transmission, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/Fabric_Silk_Transmission, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR_TRANSPARENT @@ -1838,9 +1866,9 @@ Compiled shader: Shader Graphs/FabricSG, pass: ForwardOnly, stage: pixel, keywor Compiled shader: Shader Graphs/FabricSG, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/FabricSG, pass: ForwardOnly, stage: vertex, keywords Compiled shader: Shader Graphs/FabricSG, pass: ForwardOnly, stage: vertex, keywords DEBUG_DISPLAY -Compiled shader: Shader Graphs/FabricSG, pass: GBufferDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT -Compiled shader: Shader Graphs/FabricSG, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT -Compiled shader: Shader Graphs/FabricSG, pass: IndirectDXR, stage: raytracing, keywords MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/FabricSG, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/FabricSG, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY DECALS_4RT DECAL_SURFACE_GRADIENT MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/FabricSG, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/FabricSG, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/FabricSG, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/FabricSG, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR_TRANSPARENT @@ -1851,13 +1879,21 @@ Compiled shader: Shader Graphs/FontShader, pass: ForwardOnly, stage: vertex, key Compiled shader: Shader Graphs/FontShader, pass: ShadowCaster, stage: all, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/FontShader, pass: ShadowCaster, stage: pixel, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/FontShader, pass: ShadowCaster, stage: vertex, keywords _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/Ground SG, pass: DepthOnly, stage: all, keywords +Compiled shader: Shader Graphs/Ground SG, pass: DepthOnly, stage: all, keywords WRITE_DECAL_BUFFER Compiled shader: Shader Graphs/Ground SG, pass: DepthOnly, stage: pixel, keywords WRITE_DECAL_BUFFER Compiled shader: Shader Graphs/Ground SG, pass: DepthOnly, stage: vertex, keywords +Compiled shader: Shader Graphs/Ground SG, pass: GBuffer, stage: all, keywords +Compiled shader: Shader Graphs/Ground SG, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/Ground SG, pass: GBuffer, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/Ground SG, pass: GBuffer, stage: vertex, keywords +Compiled shader: Shader Graphs/Ground SG, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT +Compiled shader: Shader Graphs/Ground SG, pass: MotionVectors, stage: all, keywords +Compiled shader: Shader Graphs/Ground SG, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER Compiled shader: Shader Graphs/Ground SG, pass: MotionVectors, stage: pixel, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER Compiled shader: Shader Graphs/Ground SG, pass: MotionVectors, stage: vertex, keywords Compiled shader: Shader Graphs/Ground SG, pass: PathTracingDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT +Compiled shader: Shader Graphs/Ground SG, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/Ground SG, pass: ShadowCaster, stage: pixel, keywords Compiled shader: Shader Graphs/Ground SG, pass: ShadowCaster, stage: vertex, keywords Compiled shader: Shader Graphs/Hair_Standard, pass: DepthForwardOnly, stage: all, keywords @@ -1874,8 +1910,8 @@ Compiled shader: Shader Graphs/Hair_Standard, pass: ForwardOnly, stage: pixel, k Compiled shader: Shader Graphs/Hair_Standard, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Hair_Standard, pass: ForwardOnly, stage: vertex, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Hair_Standard, pass: ForwardOnly, stage: vertex, keywords -Compiled shader: Shader Graphs/Hair_Standard, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT -Compiled shader: Shader Graphs/Hair_Standard, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/Hair_Standard, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/Hair_Standard, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Hair_Standard, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Hair_Standard, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Hair_Standard, pass: ShadowCaster, stage: all, keywords _SURFACE_TYPE_TRANSPARENT @@ -1904,8 +1940,8 @@ Compiled shader: Shader Graphs/Hair_Standard_AlphaClip, pass: ForwardOnly, stage Compiled shader: Shader Graphs/Hair_Standard_AlphaClip, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON Compiled shader: Shader Graphs/Hair_Standard_AlphaClip, pass: ForwardOnly, stage: vertex, keywords _ALPHATEST_ON Compiled shader: Shader Graphs/Hair_Standard_AlphaClip, pass: ForwardOnly, stage: vertex, keywords _ALPHATEST_ON _DOUBLESIDED_ON -Compiled shader: Shader Graphs/Hair_Standard_AlphaClip, pass: IndirectDXR, stage: raytracing, keywords _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT -Compiled shader: Shader Graphs/Hair_Standard_AlphaClip, pass: IndirectDXR, stage: raytracing, keywords _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON +Compiled shader: Shader Graphs/Hair_Standard_AlphaClip, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/Hair_Standard_AlphaClip, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON Compiled shader: Shader Graphs/Hair_Standard_AlphaClip, pass: ShadowCaster, stage: all, keywords _ALPHATEST_ON Compiled shader: Shader Graphs/Hair_Standard_AlphaClip, pass: ShadowCaster, stage: all, keywords _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Hair_Standard_AlphaClip, pass: ShadowCaster, stage: all, keywords _ALPHATEST_ON _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON @@ -1924,8 +1960,8 @@ Compiled shader: Shader Graphs/HairSG, pass: ForwardOnly, stage: all, keywords < Compiled shader: Shader Graphs/HairSG, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/HairSG, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/HairSG, pass: ForwardOnly, stage: vertex, keywords -Compiled shader: Shader Graphs/HairSG, pass: GBufferDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT -Compiled shader: Shader Graphs/HairSG, pass: IndirectDXR, stage: raytracing, keywords MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/HairSG, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/HairSG, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/HairSG, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/HairSG, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/HairSG, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR_TRANSPARENT @@ -1938,9 +1974,9 @@ Compiled shader: Shader Graphs/Lit Shader, pass: GBuffer, stage: all, keywords < Compiled shader: Shader Graphs/Lit Shader, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Lit Shader, pass: GBuffer, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Lit Shader, pass: GBuffer, stage: vertex, keywords -Compiled shader: Shader Graphs/Lit Shader, pass: GBufferDXR, stage: raytracing, keywords _DISABLE_SSR _DISABLE_SSR_TRANSPARENT -Compiled shader: Shader Graphs/Lit Shader, pass: GBufferDXR, stage: raytracing, keywords MINIMAL_GBUFFER _DISABLE_SSR _DISABLE_SSR_TRANSPARENT -Compiled shader: Shader Graphs/Lit Shader, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/Lit Shader, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/Lit Shader, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT MINIMAL_GBUFFER _DISABLE_SSR _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/Lit Shader, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Lit Shader, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/Lit Shader, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/Lit Shader, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR _DISABLE_SSR_TRANSPARENT @@ -1950,7 +1986,7 @@ Compiled shader: Shader Graphs/Lit_Anisotropy, pass: DepthOnly, stage: all, keyw Compiled shader: Shader Graphs/Lit_Anisotropy, pass: ForwardDXR, stage: raytracing, keywords Compiled shader: Shader Graphs/Lit_Anisotropy, pass: GBuffer, stage: all, keywords Compiled shader: Shader Graphs/Lit_Anisotropy, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT -Compiled shader: Shader Graphs/Lit_Anisotropy, pass: IndirectDXR, stage: raytracing, keywords +Compiled shader: Shader Graphs/Lit_Anisotropy, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/Lit_Anisotropy, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/Lit_Anisotropy, pass: ShadowCaster, stage: pixel, keywords Compiled shader: Shader Graphs/Lit_Anisotropy, pass: ShadowCaster, stage: vertex, keywords @@ -1960,7 +1996,7 @@ Compiled shader: Shader Graphs/Lit_Iridescence, pass: DepthOnly, stage: all, key Compiled shader: Shader Graphs/Lit_Iridescence, pass: ForwardDXR, stage: raytracing, keywords Compiled shader: Shader Graphs/Lit_Iridescence, pass: GBuffer, stage: all, keywords Compiled shader: Shader Graphs/Lit_Iridescence, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT -Compiled shader: Shader Graphs/Lit_Iridescence, pass: IndirectDXR, stage: raytracing, keywords +Compiled shader: Shader Graphs/Lit_Iridescence, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/Lit_Iridescence, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/Lit_Iridescence, pass: ShadowCaster, stage: pixel, keywords Compiled shader: Shader Graphs/Lit_Iridescence, pass: ShadowCaster, stage: vertex, keywords @@ -1970,7 +2006,7 @@ Compiled shader: Shader Graphs/Lit_Specular, pass: DepthOnly, stage: all, keywor Compiled shader: Shader Graphs/Lit_Specular, pass: ForwardDXR, stage: raytracing, keywords Compiled shader: Shader Graphs/Lit_Specular, pass: GBuffer, stage: all, keywords Compiled shader: Shader Graphs/Lit_Specular, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT -Compiled shader: Shader Graphs/Lit_Specular, pass: IndirectDXR, stage: raytracing, keywords +Compiled shader: Shader Graphs/Lit_Specular, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/Lit_Specular, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/Lit_Specular, pass: ShadowCaster, stage: pixel, keywords Compiled shader: Shader Graphs/Lit_Specular, pass: ShadowCaster, stage: vertex, keywords @@ -1980,7 +2016,7 @@ Compiled shader: Shader Graphs/Lit_Standard, pass: DepthOnly, stage: all, keywor Compiled shader: Shader Graphs/Lit_Standard, pass: ForwardDXR, stage: raytracing, keywords Compiled shader: Shader Graphs/Lit_Standard, pass: GBuffer, stage: all, keywords Compiled shader: Shader Graphs/Lit_Standard, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT -Compiled shader: Shader Graphs/Lit_Standard, pass: IndirectDXR, stage: raytracing, keywords +Compiled shader: Shader Graphs/Lit_Standard, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/Lit_Standard, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/Lit_Standard, pass: ShadowCaster, stage: pixel, keywords Compiled shader: Shader Graphs/Lit_Standard, pass: ShadowCaster, stage: vertex, keywords @@ -1990,7 +2026,7 @@ Compiled shader: Shader Graphs/Lit_SubSurface, pass: DepthOnly, stage: all, keyw Compiled shader: Shader Graphs/Lit_SubSurface, pass: ForwardDXR, stage: raytracing, keywords Compiled shader: Shader Graphs/Lit_SubSurface, pass: GBuffer, stage: all, keywords Compiled shader: Shader Graphs/Lit_SubSurface, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT -Compiled shader: Shader Graphs/Lit_SubSurface, pass: IndirectDXR, stage: raytracing, keywords +Compiled shader: Shader Graphs/Lit_SubSurface, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/Lit_SubSurface, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/Lit_SubSurface, pass: ShadowCaster, stage: pixel, keywords Compiled shader: Shader Graphs/Lit_SubSurface, pass: ShadowCaster, stage: vertex, keywords @@ -2000,7 +2036,7 @@ Compiled shader: Shader Graphs/Lit_Translucent, pass: DepthOnly, stage: all, key Compiled shader: Shader Graphs/Lit_Translucent, pass: ForwardDXR, stage: raytracing, keywords Compiled shader: Shader Graphs/Lit_Translucent, pass: GBuffer, stage: all, keywords Compiled shader: Shader Graphs/Lit_Translucent, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT -Compiled shader: Shader Graphs/Lit_Translucent, pass: IndirectDXR, stage: raytracing, keywords +Compiled shader: Shader Graphs/Lit_Translucent, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/Lit_Translucent, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/Lit_Translucent, pass: ShadowCaster, stage: pixel, keywords Compiled shader: Shader Graphs/Lit_Translucent, pass: ShadowCaster, stage: vertex, keywords @@ -2008,7 +2044,7 @@ Compiled shader: Shader Graphs/Lit_Translucent, pass: VisibilityDXR, stage: rayt Compiled shader: Shader Graphs/Lit_Transparent_Box, pass: Forward, stage: all, keywords _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_Box, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _ENABLE_FOG_ON_TRANSPARENT _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_Box, pass: ForwardDXR, stage: raytracing, keywords _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT -Compiled shader: Shader Graphs/Lit_Transparent_Box, pass: IndirectDXR, stage: raytracing, keywords _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/Lit_Transparent_Box, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_Box, pass: ShadowCaster, stage: all, keywords _ENABLE_FOG_ON_TRANSPARENT _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_Box, pass: ShadowCaster, stage: all, keywords _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_Box, pass: ShadowCaster, stage: pixel, keywords _ENABLE_FOG_ON_TRANSPARENT _REFRACTION_PLANE _SURFACE_TYPE_TRANSPARENT @@ -2019,7 +2055,7 @@ Compiled shader: Shader Graphs/Lit_Transparent_Box, pass: VisibilityDXR, stage: Compiled shader: Shader Graphs/Lit_Transparent_None, pass: Forward, stage: all, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_None, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_None, pass: ForwardDXR, stage: raytracing, keywords _SURFACE_TYPE_TRANSPARENT -Compiled shader: Shader Graphs/Lit_Transparent_None, pass: IndirectDXR, stage: raytracing, keywords _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/Lit_Transparent_None, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_None, pass: ShadowCaster, stage: all, keywords _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_None, pass: ShadowCaster, stage: all, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_None, pass: ShadowCaster, stage: pixel, keywords _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT @@ -2030,7 +2066,7 @@ Compiled shader: Shader Graphs/Lit_Transparent_None, pass: VisibilityDXR, stage: Compiled shader: Shader Graphs/Lit_Transparent_Sphere, pass: Forward, stage: all, keywords _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_Sphere, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _ENABLE_FOG_ON_TRANSPARENT _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_Sphere, pass: ForwardDXR, stage: raytracing, keywords _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT -Compiled shader: Shader Graphs/Lit_Transparent_Sphere, pass: IndirectDXR, stage: raytracing, keywords _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/Lit_Transparent_Sphere, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_Sphere, pass: ShadowCaster, stage: all, keywords _ENABLE_FOG_ON_TRANSPARENT _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_Sphere, pass: ShadowCaster, stage: all, keywords _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_Sphere, pass: ShadowCaster, stage: pixel, keywords _ENABLE_FOG_ON_TRANSPARENT _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT @@ -2041,7 +2077,7 @@ Compiled shader: Shader Graphs/Lit_Transparent_Sphere, pass: VisibilityDXR, stag Compiled shader: Shader Graphs/Lit_Transparent_Thin, pass: Forward, stage: all, keywords _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_Thin, pass: Forward, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _ENABLE_FOG_ON_TRANSPARENT _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_Thin, pass: ForwardDXR, stage: raytracing, keywords _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT -Compiled shader: Shader Graphs/Lit_Transparent_Thin, pass: IndirectDXR, stage: raytracing, keywords _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/Lit_Transparent_Thin, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_Thin, pass: ShadowCaster, stage: all, keywords _ENABLE_FOG_ON_TRANSPARENT _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_Thin, pass: ShadowCaster, stage: all, keywords _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/Lit_Transparent_Thin, pass: ShadowCaster, stage: pixel, keywords _ENABLE_FOG_ON_TRANSPARENT _REFRACTION_THIN _SURFACE_TYPE_TRANSPARENT @@ -2074,8 +2110,8 @@ Compiled shader: Shader Graphs/LitSG, pass: GBuffer, stage: all, keywords -Compiled shader: Shader Graphs/LitSG, pass: GBufferDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT -Compiled shader: Shader Graphs/LitSG, pass: IndirectDXR, stage: raytracing, keywords MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/LitSG, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/LitSG, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/LitSG, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/LitSG, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/LitSG, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR_TRANSPARENT @@ -2088,7 +2124,7 @@ Compiled shader: Shader Graphs/LitSGVariableSmoothness, pass: GBuffer, stage: al Compiled shader: Shader Graphs/LitSGVariableSmoothness, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/LitSGVariableSmoothness, pass: GBuffer, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/LitSGVariableSmoothness, pass: GBuffer, stage: vertex, keywords -Compiled shader: Shader Graphs/LitSGVariableSmoothness, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/LitSGVariableSmoothness, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/LitSGVariableSmoothness, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/LitSGVariableSmoothness, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/LitSGVariableSmoothness, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR_TRANSPARENT @@ -2098,13 +2134,25 @@ Compiled shader: Shader Graphs/LitTesselation_Standard, pass: DepthOnly, stage: Compiled shader: Shader Graphs/LitTesselation_Standard, pass: ForwardDXR, stage: raytracing, keywords Compiled shader: Shader Graphs/LitTesselation_Standard, pass: GBuffer, stage: all, keywords Compiled shader: Shader Graphs/LitTesselation_Standard, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT -Compiled shader: Shader Graphs/LitTesselation_Standard, pass: IndirectDXR, stage: raytracing, keywords +Compiled shader: Shader Graphs/LitTesselation_Standard, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/LitTesselation_Standard, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/LitTesselation_Standard, pass: VisibilityDXR, stage: raytracing, keywords TRANSPARENT_COLOR_SHADOW +Compiled shader: Shader Graphs/Metal Decal, pass: AtlasProjector, stage: all, keywords DECALS_4RT _MATERIAL_AFFECTS_MASKMAP +Compiled shader: Shader Graphs/Metal Decal, pass: AtlasProjector, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _MATERIAL_AFFECTS_MASKMAP Compiled shader: Shader Graphs/Metal Decal, pass: AtlasProjector, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _MATERIAL_AFFECTS_MASKMAP Compiled shader: Shader Graphs/Metal Decal, pass: AtlasProjector, stage: vertex, keywords DECALS_4RT _MATERIAL_AFFECTS_MASKMAP +Compiled shader: Shader Graphs/Metal Decal, pass: DBufferProjector, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT INSTANCING_ON _MATERIAL_AFFECTS_MASKMAP +Compiled shader: Shader Graphs/Metal Decal, pass: DBufferProjector, stage: all, keywords DECALS_4RT INSTANCING_ON _MATERIAL_AFFECTS_MASKMAP +Compiled shader: Shader Graphs/Metal Decal, pass: DBufferProjector, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT INSTANCING_ON _MATERIAL_AFFECTS_MASKMAP +Compiled shader: Shader Graphs/Metal Decal, pass: DBufferProjector, stage: vertex, keywords DECALS_4RT INSTANCING_ON _MATERIAL_AFFECTS_MASKMAP +Compiled shader: Shader Graphs/Normal Decal, pass: AtlasProjector, stage: all, keywords DECALS_4RT _MATERIAL_AFFECTS_NORMAL +Compiled shader: Shader Graphs/Normal Decal, pass: AtlasProjector, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _MATERIAL_AFFECTS_NORMAL Compiled shader: Shader Graphs/Normal Decal, pass: AtlasProjector, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _MATERIAL_AFFECTS_NORMAL Compiled shader: Shader Graphs/Normal Decal, pass: AtlasProjector, stage: vertex, keywords DECALS_4RT _MATERIAL_AFFECTS_NORMAL +Compiled shader: Shader Graphs/Normal Decal, pass: DBufferProjector, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT INSTANCING_ON _MATERIAL_AFFECTS_NORMAL +Compiled shader: Shader Graphs/Normal Decal, pass: DBufferProjector, stage: all, keywords DECALS_4RT INSTANCING_ON _MATERIAL_AFFECTS_NORMAL +Compiled shader: Shader Graphs/Normal Decal, pass: DBufferProjector, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT INSTANCING_ON _MATERIAL_AFFECTS_NORMAL +Compiled shader: Shader Graphs/Normal Decal, pass: DBufferProjector, stage: vertex, keywords DECALS_4RT INSTANCING_ON _MATERIAL_AFFECTS_NORMAL Compiled shader: Shader Graphs/PolygonSG, pass: DepthOnly, stage: all, keywords Compiled shader: Shader Graphs/PolygonSG, pass: DepthOnly, stage: all, keywords WRITE_DECAL_BUFFER Compiled shader: Shader Graphs/PolygonSG, pass: DepthOnly, stage: pixel, keywords WRITE_DECAL_BUFFER @@ -2113,7 +2161,7 @@ Compiled shader: Shader Graphs/PolygonSG, pass: GBuffer, stage: all, keywords -Compiled shader: Shader Graphs/PolygonSG, pass: IndirectDXR, stage: raytracing, keywords +Compiled shader: Shader Graphs/PolygonSG, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/PolygonSG, pass: MotionVectors, stage: all, keywords Compiled shader: Shader Graphs/PolygonSG, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER Compiled shader: Shader Graphs/PolygonSG, pass: MotionVectors, stage: pixel, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER @@ -2148,7 +2196,7 @@ Compiled shader: Shader Graphs/RectangleSG, pass: GBuffer, stage: all, keywords Compiled shader: Shader Graphs/RectangleSG, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/RectangleSG, pass: GBuffer, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/RectangleSG, pass: GBuffer, stage: vertex, keywords -Compiled shader: Shader Graphs/RectangleSG, pass: IndirectDXR, stage: raytracing, keywords +Compiled shader: Shader Graphs/RectangleSG, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/RectangleSG, pass: MotionVectors, stage: all, keywords Compiled shader: Shader Graphs/RectangleSG, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER Compiled shader: Shader Graphs/RectangleSG, pass: MotionVectors, stage: pixel, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER @@ -2164,7 +2212,7 @@ Compiled shader: Shader Graphs/RoundedPolygonSG, pass: GBuffer, stage: all, keyw Compiled shader: Shader Graphs/RoundedPolygonSG, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/RoundedPolygonSG, pass: GBuffer, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/RoundedPolygonSG, pass: GBuffer, stage: vertex, keywords -Compiled shader: Shader Graphs/RoundedPolygonSG, pass: IndirectDXR, stage: raytracing, keywords +Compiled shader: Shader Graphs/RoundedPolygonSG, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/RoundedPolygonSG, pass: MotionVectors, stage: all, keywords Compiled shader: Shader Graphs/RoundedPolygonSG, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER Compiled shader: Shader Graphs/RoundedPolygonSG, pass: MotionVectors, stage: pixel, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER @@ -2180,7 +2228,7 @@ Compiled shader: Shader Graphs/RoundedRectangleSG, pass: GBuffer, stage: all, ke Compiled shader: Shader Graphs/RoundedRectangleSG, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/RoundedRectangleSG, pass: GBuffer, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/RoundedRectangleSG, pass: GBuffer, stage: vertex, keywords -Compiled shader: Shader Graphs/RoundedRectangleSG, pass: IndirectDXR, stage: raytracing, keywords +Compiled shader: Shader Graphs/RoundedRectangleSG, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/RoundedRectangleSG, pass: MotionVectors, stage: all, keywords Compiled shader: Shader Graphs/RoundedRectangleSG, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER Compiled shader: Shader Graphs/RoundedRectangleSG, pass: MotionVectors, stage: pixel, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER @@ -2193,7 +2241,7 @@ Compiled shader: Shader Graphs/SG_Fabric_RTRT_OpaqueSSROff, pass: ForwardOnly, s Compiled shader: Shader Graphs/SG_Fabric_RTRT_OpaqueSSROff, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Fabric_RTRT_OpaqueSSROff, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Fabric_RTRT_OpaqueSSROff, pass: ForwardOnly, stage: vertex, keywords _SURFACE_TYPE_TRANSPARENT -Compiled shader: Shader Graphs/SG_Fabric_RTRT_OpaqueSSROff, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/SG_Fabric_RTRT_OpaqueSSROff, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Fabric_RTRT_OpaqueSSROff, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Fabric_RTRT_OpaqueSSROff, pass: ShadowCaster, stage: all, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Fabric_RTRT_OpaqueSSROff, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT @@ -2207,7 +2255,7 @@ Compiled shader: Shader Graphs/SG_Fabric_RTRT_OpaqueSSROn, pass: ForwardOnly, st Compiled shader: Shader Graphs/SG_Fabric_RTRT_OpaqueSSROn, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Fabric_RTRT_OpaqueSSROn, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Fabric_RTRT_OpaqueSSROn, pass: ForwardOnly, stage: vertex, keywords _SURFACE_TYPE_TRANSPARENT -Compiled shader: Shader Graphs/SG_Fabric_RTRT_OpaqueSSROn, pass: IndirectDXR, stage: raytracing, keywords _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/SG_Fabric_RTRT_OpaqueSSROn, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Fabric_RTRT_OpaqueSSROn, pass: ShadowCaster, stage: all, keywords _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Fabric_RTRT_OpaqueSSROn, pass: ShadowCaster, stage: all, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Fabric_RTRT_OpaqueSSROn, pass: ShadowCaster, stage: pixel, keywords _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT @@ -2224,7 +2272,7 @@ Compiled shader: Shader Graphs/SG_GradualRoughSurface, pass: GBuffer, stage: all Compiled shader: Shader Graphs/SG_GradualRoughSurface, pass: GBuffer, stage: all, keywords DECALS_3RT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SG_GradualRoughSurface, pass: GBuffer, stage: pixel, keywords DECALS_3RT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SG_GradualRoughSurface, pass: GBuffer, stage: vertex, keywords -Compiled shader: Shader Graphs/SG_GradualRoughSurface, pass: GBufferDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/SG_GradualRoughSurface, pass: GBufferDXR, stage: raytracing, keywords DECALS_3RT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SG_GradualRoughSurface, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SG_GradualRoughSurface, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/SG_GradualRoughSurface, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR_TRANSPARENT @@ -2234,7 +2282,7 @@ Compiled shader: Shader Graphs/SG_Hair_RTRT_OpaqueSSROff, pass: ForwardOnly, sta Compiled shader: Shader Graphs/SG_Hair_RTRT_OpaqueSSROff, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Hair_RTRT_OpaqueSSROff, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Hair_RTRT_OpaqueSSROff, pass: ForwardOnly, stage: vertex, keywords _SURFACE_TYPE_TRANSPARENT -Compiled shader: Shader Graphs/SG_Hair_RTRT_OpaqueSSROff, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/SG_Hair_RTRT_OpaqueSSROff, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Hair_RTRT_OpaqueSSROff, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Hair_RTRT_OpaqueSSROff, pass: ShadowCaster, stage: all, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Hair_RTRT_OpaqueSSROff, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT @@ -2248,7 +2296,7 @@ Compiled shader: Shader Graphs/SG_Hair_RTRT_OpaqueSSROn, pass: ForwardOnly, stag Compiled shader: Shader Graphs/SG_Hair_RTRT_OpaqueSSROn, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Hair_RTRT_OpaqueSSROn, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Hair_RTRT_OpaqueSSROn, pass: ForwardOnly, stage: vertex, keywords _SURFACE_TYPE_TRANSPARENT -Compiled shader: Shader Graphs/SG_Hair_RTRT_OpaqueSSROn, pass: IndirectDXR, stage: raytracing, keywords _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/SG_Hair_RTRT_OpaqueSSROn, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Hair_RTRT_OpaqueSSROn, pass: ShadowCaster, stage: all, keywords _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Hair_RTRT_OpaqueSSROn, pass: ShadowCaster, stage: all, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Hair_RTRT_OpaqueSSROn, pass: ShadowCaster, stage: pixel, keywords _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT @@ -2262,7 +2310,7 @@ Compiled shader: Shader Graphs/SG_Lit_RTRT_OpaqueSSROff, pass: Forward, stage: a Compiled shader: Shader Graphs/SG_Lit_RTRT_OpaqueSSROff, pass: Forward, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Lit_RTRT_OpaqueSSROff, pass: Forward, stage: vertex, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Lit_RTRT_OpaqueSSROff, pass: ForwardDXR, stage: raytracing, keywords _DISABLE_SSR _SURFACE_TYPE_TRANSPARENT -Compiled shader: Shader Graphs/SG_Lit_RTRT_OpaqueSSROff, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/SG_Lit_RTRT_OpaqueSSROff, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Lit_RTRT_OpaqueSSROff, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Lit_RTRT_OpaqueSSROff, pass: ShadowCaster, stage: all, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Lit_RTRT_OpaqueSSROff, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT @@ -2276,7 +2324,7 @@ Compiled shader: Shader Graphs/SG_Lit_RTRT_OpaqueSSROn, pass: Forward, stage: al Compiled shader: Shader Graphs/SG_Lit_RTRT_OpaqueSSROn, pass: Forward, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Lit_RTRT_OpaqueSSROn, pass: Forward, stage: vertex, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Lit_RTRT_OpaqueSSROn, pass: ForwardDXR, stage: raytracing, keywords _SURFACE_TYPE_TRANSPARENT -Compiled shader: Shader Graphs/SG_Lit_RTRT_OpaqueSSROn, pass: IndirectDXR, stage: raytracing, keywords _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/SG_Lit_RTRT_OpaqueSSROn, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Lit_RTRT_OpaqueSSROn, pass: ShadowCaster, stage: all, keywords _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Lit_RTRT_OpaqueSSROn, pass: ShadowCaster, stage: all, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_Lit_RTRT_OpaqueSSROn, pass: ShadowCaster, stage: pixel, keywords _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT @@ -2293,7 +2341,7 @@ Compiled shader: Shader Graphs/SG_Lit_SmoothReflection, pass: GBuffer, stage: al Compiled shader: Shader Graphs/SG_Lit_SmoothReflection, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SG_Lit_SmoothReflection, pass: GBuffer, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SG_Lit_SmoothReflection, pass: GBuffer, stage: vertex, keywords -Compiled shader: Shader Graphs/SG_Lit_SmoothReflection, pass: IndirectDXR, stage: raytracing, keywords MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/SG_Lit_SmoothReflection, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SG_Lit_SmoothReflection, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SG_Lit_SmoothReflection, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/SG_Lit_SmoothReflection, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR_TRANSPARENT @@ -2306,7 +2354,7 @@ Compiled shader: Shader Graphs/SG_LitOpaque, pass: GBuffer, stage: all, keywords Compiled shader: Shader Graphs/SG_LitOpaque, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/SG_LitOpaque, pass: GBuffer, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/SG_LitOpaque, pass: GBuffer, stage: vertex, keywords -Compiled shader: Shader Graphs/SG_LitOpaque, pass: IndirectDXR, stage: raytracing, keywords +Compiled shader: Shader Graphs/SG_LitOpaque, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT Compiled shader: Shader Graphs/SG_LitOpaque, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/SG_LitOpaque, pass: ShadowCaster, stage: pixel, keywords Compiled shader: Shader Graphs/SG_LitOpaque, pass: ShadowCaster, stage: vertex, keywords @@ -2320,7 +2368,7 @@ Compiled shader: Shader Graphs/SG_LitOpaqueCutoff, pass: GBuffer, stage: all, ke Compiled shader: Shader Graphs/SG_LitOpaqueCutoff, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _ALPHATEST_ON Compiled shader: Shader Graphs/SG_LitOpaqueCutoff, pass: GBuffer, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _ALPHATEST_ON Compiled shader: Shader Graphs/SG_LitOpaqueCutoff, pass: GBuffer, stage: vertex, keywords _ALPHATEST_ON -Compiled shader: Shader Graphs/SG_LitOpaqueCutoff, pass: IndirectDXR, stage: raytracing, keywords _ALPHATEST_ON +Compiled shader: Shader Graphs/SG_LitOpaqueCutoff, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _ALPHATEST_ON Compiled shader: Shader Graphs/SG_LitOpaqueCutoff, pass: ShadowCaster, stage: all, keywords _ALPHATEST_ON Compiled shader: Shader Graphs/SG_LitOpaqueCutoff, pass: ShadowCaster, stage: pixel, keywords _ALPHATEST_ON Compiled shader: Shader Graphs/SG_LitOpaqueCutoff, pass: ShadowCaster, stage: vertex, keywords _ALPHATEST_ON @@ -2333,7 +2381,7 @@ Compiled shader: Shader Graphs/SG_LitOpaqueCutoffShadow, pass: GBuffer, stage: a Compiled shader: Shader Graphs/SG_LitOpaqueCutoffShadow, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _ALPHATEST_ON Compiled shader: Shader Graphs/SG_LitOpaqueCutoffShadow, pass: GBuffer, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _ALPHATEST_ON Compiled shader: Shader Graphs/SG_LitOpaqueCutoffShadow, pass: GBuffer, stage: vertex, keywords _ALPHATEST_ON -Compiled shader: Shader Graphs/SG_LitOpaqueCutoffShadow, pass: IndirectDXR, stage: raytracing, keywords _ALPHATEST_ON +Compiled shader: Shader Graphs/SG_LitOpaqueCutoffShadow, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _ALPHATEST_ON Compiled shader: Shader Graphs/SG_LitOpaqueCutoffShadow, pass: ShadowCaster, stage: all, keywords _ALPHATEST_ON Compiled shader: Shader Graphs/SG_LitOpaqueCutoffShadow, pass: ShadowCaster, stage: pixel, keywords _ALPHATEST_ON Compiled shader: Shader Graphs/SG_LitOpaqueCutoffShadow, pass: ShadowCaster, stage: vertex, keywords _ALPHATEST_ON @@ -2348,8 +2396,8 @@ Compiled shader: Shader Graphs/SG_LitRecursiveRendering, pass: Forward, stage: v Compiled shader: Shader Graphs/SG_LitRecursiveRendering, pass: Forward, stage: vertex, keywords DEBUG_DISPLAY _DOUBLESIDED_ON _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_LitRecursiveRendering, pass: ForwardDXR, stage: raytracing, keywords _DOUBLESIDED_ON _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_LitRecursiveRendering, pass: ForwardDXR, stage: raytracing, keywords DEBUG_DISPLAY _DOUBLESIDED_ON _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT -Compiled shader: Shader Graphs/SG_LitRecursiveRendering, pass: IndirectDXR, stage: raytracing, keywords _DOUBLESIDED_ON _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT -Compiled shader: Shader Graphs/SG_LitRecursiveRendering, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY _DOUBLESIDED_ON _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/SG_LitRecursiveRendering, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY DECALS_4RT DECAL_SURFACE_GRADIENT _DOUBLESIDED_ON _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/SG_LitRecursiveRendering, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DOUBLESIDED_ON _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_LitRecursiveRendering, pass: RayTracingPrepass, stage: all, keywords _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_LitRecursiveRendering, pass: RayTracingPrepass, stage: all, keywords _DOUBLESIDED_ON _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_LitRecursiveRendering, pass: RayTracingPrepass, stage: pixel, keywords _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _REFRACTION_SPHERE _SURFACE_TYPE_TRANSPARENT @@ -2420,17 +2468,16 @@ Compiled shader: Shader Graphs/SG_StackLit, pass: DepthForwardOnly, stage: pixel Compiled shader: Shader Graphs/SG_StackLit, pass: DepthForwardOnly, stage: pixel, keywords WRITE_DECAL_BUFFER _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SG_StackLit, pass: DepthForwardOnly, stage: vertex, keywords Compiled shader: Shader Graphs/SG_StackLit, pass: ForwardOnly, stage: all, keywords -Compiled shader: Shader Graphs/SG_StackLit, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DEBUG_DISPLAY DECALS_3RT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SG_StackLit, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_3RT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SG_StackLit, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT -Compiled shader: Shader Graphs/SG_StackLit, pass: ForwardOnly, stage: all, keywords DEBUG_DISPLAY Compiled shader: Shader Graphs/SG_StackLit, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DEBUG_DISPLAY DECALS_3RT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SG_StackLit, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_3RT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SG_StackLit, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SG_StackLit, pass: ForwardOnly, stage: vertex, keywords Compiled shader: Shader Graphs/SG_StackLit, pass: ForwardOnly, stage: vertex, keywords DEBUG_DISPLAY -Compiled shader: Shader Graphs/SG_StackLit, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT -Compiled shader: Shader Graphs/SG_StackLit, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/SG_StackLit, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY DECALS_3RT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/SG_StackLit, pass: IndirectDXR, stage: raytracing, keywords DECALS_3RT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/SG_StackLit, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SG_StackLit, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SG_StackLit, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/SG_StackLit, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR_TRANSPARENT @@ -2441,7 +2488,7 @@ Compiled shader: Shader Graphs/SG_StackLit_RTRT_OpaqueSSROff, pass: ForwardOnly, Compiled shader: Shader Graphs/SG_StackLit_RTRT_OpaqueSSROff, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_StackLit_RTRT_OpaqueSSROff, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_StackLit_RTRT_OpaqueSSROff, pass: ForwardOnly, stage: vertex, keywords _SURFACE_TYPE_TRANSPARENT -Compiled shader: Shader Graphs/SG_StackLit_RTRT_OpaqueSSROff, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/SG_StackLit_RTRT_OpaqueSSROff, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_StackLit_RTRT_OpaqueSSROff, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_StackLit_RTRT_OpaqueSSROff, pass: ShadowCaster, stage: all, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_StackLit_RTRT_OpaqueSSROff, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT @@ -2455,7 +2502,7 @@ Compiled shader: Shader Graphs/SG_StackLit_RTRT_OpaqueSSROn, pass: ForwardOnly, Compiled shader: Shader Graphs/SG_StackLit_RTRT_OpaqueSSROn, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_StackLit_RTRT_OpaqueSSROn, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_CLUSTERED_LIGHTLIST _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_StackLit_RTRT_OpaqueSSROn, pass: ForwardOnly, stage: vertex, keywords _SURFACE_TYPE_TRANSPARENT -Compiled shader: Shader Graphs/SG_StackLit_RTRT_OpaqueSSROn, pass: IndirectDXR, stage: raytracing, keywords _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/SG_StackLit_RTRT_OpaqueSSROn, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_StackLit_RTRT_OpaqueSSROn, pass: ShadowCaster, stage: all, keywords _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_StackLit_RTRT_OpaqueSSROn, pass: ShadowCaster, stage: all, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/SG_StackLit_RTRT_OpaqueSSROn, pass: ShadowCaster, stage: pixel, keywords _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT @@ -2595,7 +2642,7 @@ Compiled shader: Shader Graphs/SGTessellationLit, pass: GBuffer, stage: domain, Compiled shader: Shader Graphs/SGTessellationLit, pass: GBuffer, stage: hull, keywords Compiled shader: Shader Graphs/SGTessellationLit, pass: GBuffer, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SGTessellationLit, pass: GBuffer, stage: vertex, keywords -Compiled shader: Shader Graphs/SGTessellationLit, pass: GBufferDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/SGTessellationLit, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SGTessellationLit, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SGTessellationLit, pass: ShadowCaster, stage: all, keywords _TESSELLATION_PHONG Compiled shader: Shader Graphs/SGTessellationLit, pass: ShadowCaster, stage: all, keywords @@ -2617,7 +2664,7 @@ Compiled shader: Shader Graphs/SGTessellationUnlit, pass: GBuffer, stage: domain Compiled shader: Shader Graphs/SGTessellationUnlit, pass: GBuffer, stage: hull, keywords Compiled shader: Shader Graphs/SGTessellationUnlit, pass: GBuffer, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SGTessellationUnlit, pass: GBuffer, stage: vertex, keywords -Compiled shader: Shader Graphs/SGTessellationUnlit, pass: GBufferDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/SGTessellationUnlit, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SGTessellationUnlit, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/SGTessellationUnlit, pass: ShadowCaster, stage: all, keywords _TESSELLATION_PHONG Compiled shader: Shader Graphs/SGTessellationUnlit, pass: ShadowCaster, stage: all, keywords @@ -2638,8 +2685,14 @@ Compiled shader: Shader Graphs/ShadowMatteGraphDefault, pass: DepthForwardOnly, Compiled shader: Shader Graphs/ShadowMatteGraphDefault, pass: PathTracingDXR, stage: raytracing, keywords Compiled shader: Shader Graphs/ShadowMatteGraphDefault, pass: ShadowCaster, stage: pixel, keywords Compiled shader: Shader Graphs/ShadowMatteGraphDefault, pass: ShadowCaster, stage: vertex, keywords +Compiled shader: Shader Graphs/Smoothness Decal, pass: AtlasProjector, stage: all, keywords DECALS_4RT _MATERIAL_AFFECTS_MASKMAP +Compiled shader: Shader Graphs/Smoothness Decal, pass: AtlasProjector, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _MATERIAL_AFFECTS_MASKMAP Compiled shader: Shader Graphs/Smoothness Decal, pass: AtlasProjector, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _MATERIAL_AFFECTS_MASKMAP Compiled shader: Shader Graphs/Smoothness Decal, pass: AtlasProjector, stage: vertex, keywords DECALS_4RT _MATERIAL_AFFECTS_MASKMAP +Compiled shader: Shader Graphs/Smoothness Decal, pass: DBufferProjector, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT INSTANCING_ON _MATERIAL_AFFECTS_MASKMAP +Compiled shader: Shader Graphs/Smoothness Decal, pass: DBufferProjector, stage: all, keywords DECALS_4RT INSTANCING_ON _MATERIAL_AFFECTS_MASKMAP +Compiled shader: Shader Graphs/Smoothness Decal, pass: DBufferProjector, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT INSTANCING_ON _MATERIAL_AFFECTS_MASKMAP +Compiled shader: Shader Graphs/Smoothness Decal, pass: DBufferProjector, stage: vertex, keywords DECALS_4RT INSTANCING_ON _MATERIAL_AFFECTS_MASKMAP Compiled shader: Shader Graphs/StackLit_Anisotropy, pass: DepthForwardOnly, stage: all, keywords Compiled shader: Shader Graphs/StackLit_Anisotropy, pass: DepthForwardOnly, stage: all, keywords WRITE_DECAL_BUFFER _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Anisotropy, pass: DepthForwardOnly, stage: pixel, keywords WRITE_DECAL_BUFFER _DISABLE_SSR_TRANSPARENT @@ -2649,7 +2702,7 @@ Compiled shader: Shader Graphs/StackLit_Anisotropy, pass: ForwardOnly, stage: al Compiled shader: Shader Graphs/StackLit_Anisotropy, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Anisotropy, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Anisotropy, pass: ForwardOnly, stage: vertex, keywords -Compiled shader: Shader Graphs/StackLit_Anisotropy, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/StackLit_Anisotropy, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Anisotropy, pass: PathTracingDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Anisotropy, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Anisotropy, pass: ShadowCaster, stage: all, keywords @@ -2665,7 +2718,7 @@ Compiled shader: Shader Graphs/StackLit_Coat, pass: ForwardOnly, stage: all, key Compiled shader: Shader Graphs/StackLit_Coat, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Coat, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Coat, pass: ForwardOnly, stage: vertex, keywords -Compiled shader: Shader Graphs/StackLit_Coat, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/StackLit_Coat, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Coat, pass: PathTracingDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Coat, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Coat, pass: ShadowCaster, stage: all, keywords @@ -2681,7 +2734,7 @@ Compiled shader: Shader Graphs/StackLit_DualSpecLobe, pass: ForwardOnly, stage: Compiled shader: Shader Graphs/StackLit_DualSpecLobe, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_DualSpecLobe, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_DualSpecLobe, pass: ForwardOnly, stage: vertex, keywords -Compiled shader: Shader Graphs/StackLit_DualSpecLobe, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/StackLit_DualSpecLobe, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_DualSpecLobe, pass: PathTracingDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_DualSpecLobe, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_DualSpecLobe, pass: ShadowCaster, stage: all, keywords @@ -2697,7 +2750,7 @@ Compiled shader: Shader Graphs/StackLit_DualSpecLobe_Hazy, pass: ForwardOnly, st Compiled shader: Shader Graphs/StackLit_DualSpecLobe_Hazy, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_DualSpecLobe_Hazy, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_DualSpecLobe_Hazy, pass: ForwardOnly, stage: vertex, keywords -Compiled shader: Shader Graphs/StackLit_DualSpecLobe_Hazy, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/StackLit_DualSpecLobe_Hazy, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_DualSpecLobe_Hazy, pass: PathTracingDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_DualSpecLobe_Hazy, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_DualSpecLobe_Hazy, pass: ShadowCaster, stage: all, keywords @@ -2713,7 +2766,7 @@ Compiled shader: Shader Graphs/StackLit_Iridescence, pass: ForwardOnly, stage: a Compiled shader: Shader Graphs/StackLit_Iridescence, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Iridescence, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Iridescence, pass: ForwardOnly, stage: vertex, keywords -Compiled shader: Shader Graphs/StackLit_Iridescence, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/StackLit_Iridescence, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Iridescence, pass: PathTracingDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Iridescence, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Iridescence, pass: ShadowCaster, stage: all, keywords @@ -2729,7 +2782,7 @@ Compiled shader: Shader Graphs/StackLit_Spec, pass: ForwardOnly, stage: all, key Compiled shader: Shader Graphs/StackLit_Spec, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Spec, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Spec, pass: ForwardOnly, stage: vertex, keywords -Compiled shader: Shader Graphs/StackLit_Spec, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/StackLit_Spec, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Spec, pass: PathTracingDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Spec, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Spec, pass: ShadowCaster, stage: all, keywords @@ -2750,8 +2803,8 @@ Compiled shader: Shader Graphs/StackLit_Standard, pass: ForwardOnly, stage: pixe Compiled shader: Shader Graphs/StackLit_Standard, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Standard, pass: ForwardOnly, stage: vertex, keywords _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Standard, pass: ForwardOnly, stage: vertex, keywords -Compiled shader: Shader Graphs/StackLit_Standard, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT -Compiled shader: Shader Graphs/StackLit_Standard, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT _SURFACE_TYPE_TRANSPARENT +Compiled shader: Shader Graphs/StackLit_Standard, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/StackLit_Standard, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT _SURFACE_TYPE_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Standard, pass: PathTracingDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Standard, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Standard, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT @@ -2772,7 +2825,7 @@ Compiled shader: Shader Graphs/StackLit_SubSurface, pass: ForwardOnly, stage: al Compiled shader: Shader Graphs/StackLit_SubSurface, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_SubSurface, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_SubSurface, pass: ForwardOnly, stage: vertex, keywords -Compiled shader: Shader Graphs/StackLit_SubSurface, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/StackLit_SubSurface, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_SubSurface, pass: PathTracingDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_SubSurface, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_SubSurface, pass: ShadowCaster, stage: all, keywords @@ -2788,7 +2841,7 @@ Compiled shader: Shader Graphs/StackLit_Transmission, pass: ForwardOnly, stage: Compiled shader: Shader Graphs/StackLit_Transmission, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Transmission, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Transmission, pass: ForwardOnly, stage: vertex, keywords -Compiled shader: Shader Graphs/StackLit_Transmission, pass: IndirectDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/StackLit_Transmission, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Transmission, pass: PathTracingDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Transmission, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLit_Transmission, pass: ShadowCaster, stage: all, keywords @@ -2807,9 +2860,9 @@ Compiled shader: Shader Graphs/StackLitSG, pass: ForwardOnly, stage: pixel, keyw Compiled shader: Shader Graphs/StackLitSG, pass: ForwardOnly, stage: pixel, keywords AREA_SHADOW_MEDIUM DECALS_4RT DECAL_SURFACE_GRADIENT DIRECTIONAL_SHADOW_MEDIUM PUNCTUAL_SHADOW_MEDIUM SCREEN_SPACE_SHADOWS_ON USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLitSG, pass: ForwardOnly, stage: vertex, keywords Compiled shader: Shader Graphs/StackLitSG, pass: ForwardOnly, stage: vertex, keywords DEBUG_DISPLAY -Compiled shader: Shader Graphs/StackLitSG, pass: GBufferDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT -Compiled shader: Shader Graphs/StackLitSG, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT -Compiled shader: Shader Graphs/StackLitSG, pass: IndirectDXR, stage: raytracing, keywords MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/StackLitSG, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/StackLitSG, pass: IndirectDXR, stage: raytracing, keywords DEBUG_DISPLAY DECALS_4RT DECAL_SURFACE_GRADIENT MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/StackLitSG, pass: IndirectDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT MULTI_BOUNCE_INDIRECT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLitSG, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/StackLitSG, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/StackLitSG, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR_TRANSPARENT @@ -2889,7 +2942,7 @@ Compiled shader: Shader Graphs/VertexColorShader, pass: GBuffer, stage: all, key Compiled shader: Shader Graphs/VertexColorShader, pass: GBuffer, stage: all, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/VertexColorShader, pass: GBuffer, stage: pixel, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/VertexColorShader, pass: GBuffer, stage: vertex, keywords -Compiled shader: Shader Graphs/VertexColorShader, pass: GBufferDXR, stage: raytracing, keywords _DISABLE_SSR_TRANSPARENT +Compiled shader: Shader Graphs/VertexColorShader, pass: GBufferDXR, stage: raytracing, keywords DECALS_4RT DECAL_SURFACE_GRADIENT _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/VertexColorShader, pass: ShadowCaster, stage: all, keywords _DISABLE_SSR_TRANSPARENT Compiled shader: Shader Graphs/VertexColorShader, pass: ShadowCaster, stage: all, keywords Compiled shader: Shader Graphs/VertexColorShader, pass: ShadowCaster, stage: pixel, keywords _DISABLE_SSR_TRANSPARENT diff --git a/Tests/SRPTests/Projects/HDRP_DXR_Tests/Packages/manifest.json b/Tests/SRPTests/Projects/HDRP_DXR_Tests/Packages/manifest.json index ddde972eb85..ba39e357216 100644 --- a/Tests/SRPTests/Projects/HDRP_DXR_Tests/Packages/manifest.json +++ b/Tests/SRPTests/Projects/HDRP_DXR_Tests/Packages/manifest.json @@ -4,6 +4,7 @@ "dependencies": { "com.unity.ide.visualstudio": "2.0.0", "com.unity.render-pipelines.core": "file:../../../../../Packages/com.unity.render-pipelines.core", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "com.unity.render-pipelines.high-definition": "file:../../../../../Packages/com.unity.render-pipelines.high-definition", "com.unity.render-pipelines.high-definition-config": "file:../../../../../Packages/com.unity.render-pipelines.high-definition-config", "com.unity.rendering.denoising": "1.0.4", diff --git a/Tests/SRPTests/Projects/HDRP_PerformanceTests/Packages/manifest.json b/Tests/SRPTests/Projects/HDRP_PerformanceTests/Packages/manifest.json index 8d88445f7b7..e7b446a8086 100644 --- a/Tests/SRPTests/Projects/HDRP_PerformanceTests/Packages/manifest.json +++ b/Tests/SRPTests/Projects/HDRP_PerformanceTests/Packages/manifest.json @@ -4,6 +4,7 @@ "com.unity.ide.visualstudio": "2.0.0", "com.unity.ide.vscode": "1.2.0", "com.unity.render-pipelines.core": "file:../../../../../Packages/com.unity.render-pipelines.core", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "com.unity.render-pipelines.high-definition": "file:../../../../../Packages/com.unity.render-pipelines.high-definition", "com.unity.render-pipelines.high-definition-config": "file:../../../../../Packages/com.unity.render-pipelines.high-definition-config", "com.unity.shaderanalysis": "file:../../../../../Packages/com.unity.shaderanalysis", diff --git a/Tests/SRPTests/Projects/HDRP_RuntimeTests/Packages/manifest.json b/Tests/SRPTests/Projects/HDRP_RuntimeTests/Packages/manifest.json index 414511e6c90..63a3c46022a 100644 --- a/Tests/SRPTests/Projects/HDRP_RuntimeTests/Packages/manifest.json +++ b/Tests/SRPTests/Projects/HDRP_RuntimeTests/Packages/manifest.json @@ -4,6 +4,7 @@ "com.unity.ide.visualstudio": "2.0.0", "com.unity.ide.vscode": "1.1.3", "com.unity.render-pipelines.core": "file:../../../../../Packages/com.unity.render-pipelines.core", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "com.unity.render-pipelines.high-definition": "file:../../../../../Packages/com.unity.render-pipelines.high-definition", "com.unity.render-pipelines.high-definition-config": "file:../../../../../Packages/com.unity.render-pipelines.high-definition-config", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", diff --git a/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2120_APV_Baking.unity b/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2120_APV_Baking.unity index edc271df6f1..766a2b8ca06 100644 --- a/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2120_APV_Baking.unity +++ b/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2120_APV_Baking.unity @@ -13,7 +13,7 @@ OcclusionCullingSettings: --- !u!104 &2 RenderSettings: m_ObjectHideFlags: 0 - serializedVersion: 9 + serializedVersion: 10 m_Fog: 0 m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} m_FogMode: 3 @@ -44,7 +44,6 @@ RenderSettings: LightmapSettings: m_ObjectHideFlags: 0 serializedVersion: 12 - m_GIWorkflowMode: 1 m_GISettings: serializedVersion: 2 m_BounceScale: 1 @@ -95,8 +94,7 @@ LightmapSettings: m_ExportTrainingData: 0 m_TrainingDataDestination: TrainingData m_LightProbeSampleCountMultiplier: 4 - m_LightingDataAsset: {fileID: 112000004, guid: 58bd66709360b2847b07fe7404fd3f44, - type: 2} + m_LightingDataAsset: {fileID: 0} m_LightingSettings: {fileID: 4890085278179872738, guid: 83c11cb8eb865774787cad42d3095123, type: 2} --- !u!196 &4 @@ -158,6 +156,8 @@ MeshRenderer: m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -198,13 +198,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 15395105} + serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: -2.25, y: 5.25, z: 2.25} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1700685543} - m_RootOrder: 15 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &174787484 GameObject: @@ -229,6 +229,7 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 174787484} + serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} @@ -237,7 +238,6 @@ Transform: - {fileID: 1725355994} - {fileID: 1088673094} m_Father: {fileID: 0} - m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &213545934 GameObject: @@ -274,6 +274,8 @@ MeshRenderer: m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -314,13 +316,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 213545934} + serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0.75, y: 2.25, z: -0.75} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1700685543} - m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &339303381 GameObject: @@ -357,6 +359,8 @@ MeshRenderer: m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -397,13 +401,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 339303381} + serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: -0.75, y: 2.25, z: -0.75} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1700685543} - m_RootOrder: 6 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &421175317 GameObject: @@ -440,6 +444,8 @@ MeshRenderer: m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -480,13 +486,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 421175317} + serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 2.25, y: 3.75, z: 0.75} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1700685543} - m_RootOrder: 9 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &445915072 GameObject: @@ -523,6 +529,8 @@ MeshRenderer: m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -563,13 +571,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 445915072} + serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: -2.25, y: 3.75, z: 0.75} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1700685543} - m_RootOrder: 11 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &491812818 GameObject: @@ -606,6 +614,8 @@ MeshRenderer: m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -646,13 +656,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 491812818} + serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 2.25, y: 0.75, z: -2.25} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1700685543} - m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &594045504 GameObject: @@ -689,6 +699,8 @@ MeshRenderer: m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -729,13 +741,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 594045504} + serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0.75, y: 0.75, z: -2.25} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1700685543} - m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &703353110 PrefabInstance: @@ -1145,7 +1157,7 @@ MonoBehaviour: falloffMode: 0 maskMode: 0 materialMask: {fileID: 0} - m_Version: 2 + m_Version: 3 --- !u!4 &878726706 Transform: m_ObjectHideFlags: 0 @@ -1153,13 +1165,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 878726704} + serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 3, z: 1.2759334} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 1 m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 6 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &900459071 GameObject: @@ -1190,11 +1202,12 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a83d2f7ae04ab6f4f99b0d85377be998, type: 3} m_Name: m_EditorClassIdentifier: - asset: {fileID: 0} - sceneGUID: - cellSharedDataAsset: {fileID: 0} - cellSupportDataAsset: {fileID: 0} - serializedScenarios: + bakingSet: {fileID: 0} + sceneGUID: fc784678bf952de4482e78aea61ccdc8 + obsoleteAsset: {fileID: 0} + obsoleteCellSharedDataAsset: {fileID: 0} + obsoleteCellSupportDataAsset: {fileID: 0} + obsoleteSerializedScenarios: - scenario: Default data: sceneHash: -739037272 @@ -1207,13 +1220,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 900459071} + serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 1 m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 8 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &993487583 GameObject: @@ -1240,13 +1253,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 993487583} + serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: -0.75, y: 3.75, z: 0.75} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1700685543} - m_RootOrder: 10 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!23 &993487585 MeshRenderer: @@ -1265,6 +1278,8 @@ MeshRenderer: m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -1337,7 +1352,7 @@ MonoBehaviour: lowestSubdivLevelOverride: 0 highestSubdivLevelOverride: 0 overridesSubdivLevels: 0 - mightNeedRebaking: 0 + mightNeedRebaking: 1 cachedTransform: e00: 1 e01: 0 @@ -1355,7 +1370,7 @@ MonoBehaviour: e31: 0 e32: 0 e33: 1 - cachedHashCode: 2097291330 + cachedHashCode: -1098303298 fillEmptySpaces: 0 version: 1 globalVolume: 1 @@ -1366,13 +1381,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1032115242} + serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 3.2024999, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 1 m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1061647958 GameObject: @@ -1409,6 +1424,8 @@ MeshRenderer: m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -1449,13 +1466,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1061647958} + serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: -0.75, y: 0.75, z: -2.25} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1700685543} - m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1088673093 GameObject: @@ -1482,13 +1499,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1088673093} + serializedVersion: 2 m_LocalRotation: {x: 0.7071065, y: -0, z: -0, w: 0.7071072} m_LocalPosition: {x: 0, y: 5.326, z: -2.04} m_LocalScale: {x: 2.4, y: 1, z: 0.95999986} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 174787485} - m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 90.00001, y: 0, z: 0} --- !u!23 &1088673095 MeshRenderer: @@ -1507,6 +1524,8 @@ MeshRenderer: m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -1575,6 +1594,8 @@ MeshRenderer: m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -1615,13 +1636,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1178675243} + serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 2.25, y: 5.25, z: 2.25} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1700685543} - m_RootOrder: 13 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1306547388 GameObject: @@ -1658,6 +1679,8 @@ MeshRenderer: m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -1698,13 +1721,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1306547388} + serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0.75, y: 5.25, z: 2.25} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1700685543} - m_RootOrder: 12 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1331608283 GameObject: @@ -1736,6 +1759,9 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 7a68c43fe1f2a47cfa234b5eeaa98012, type: 3} m_Name: m_EditorClassIdentifier: + m_PointlightHDType: 1 + m_SpotLightShape: 0 + m_AreaLightShape: 0 m_Intensity: 200 m_EnableSpotReflector: 0 m_LuxAtDistance: 1 @@ -1767,9 +1793,17 @@ MonoBehaviour: m_UseScreenSpaceShadows: 0 m_InteractsWithSky: 1 m_AngularDiameter: 0 + m_DiameterMultiplerMode: 1 + m_DiameterMultiplier: 1 + m_DiameterOverride: 0.5 + m_EmissiveLightSource: 1 m_FlareSize: 2 m_FlareTint: {r: 1, g: 1, b: 1, a: 1} m_FlareFalloff: 4 + m_AutomaticMoonPhase: 1 + m_MoonPhase: 0.2 + m_MoonPhaseRotation: 0 + m_Earthshine: 1 m_SurfaceTexture: {fileID: 0} m_SurfaceTint: {r: 1, g: 1, b: 1, a: 1} m_Distance: 150000000 @@ -1792,6 +1826,14 @@ MonoBehaviour: m_BlockerSampleCount: 24 m_FilterSampleCount: 32 m_MinFilterSize: 0.01 + m_DirLightPCSSBlockerSampleCount: 24 + m_DirLightPCSSFilterSampleCount: 16 + m_DirLightPCSSMaxBlockerDistance: 64 + m_DirLightPCSSMaxSamplingDistance: 0.5 + m_DirLightPCSSMinFilterSizeTexels: 1.5 + m_DirLightPCSSMinFilterMaxAngularDiameter: 10 + m_DirLightPCSSBlockerSearchAngularDiameter: 12 + m_DirLightPCSSBlockerSamplingClumpExponent: 2 m_KernelSize: 5 m_LightAngle: 1 m_MaxDepthBias: 0.001 @@ -1838,14 +1880,11 @@ MonoBehaviour: m_AreaLightEmissiveMeshShadowCastingMode: 0 m_AreaLightEmissiveMeshMotionVectorGenerationMode: 0 m_AreaLightEmissiveMeshLayer: -1 - m_Version: 11 + m_Version: 12 m_ObsoleteShadowResolutionTier: 1 m_ObsoleteUseShadowQualitySettings: 0 m_ObsoleteCustomShadowResolution: 512 m_ObsoleteContactShadows: 0 - m_PointlightHDType: 1 - m_SpotLightShape: 0 - m_AreaLightShape: 0 --- !u!108 &1331608286 Light: m_ObjectHideFlags: 0 @@ -1854,9 +1893,8 @@ Light: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1331608283} m_Enabled: 1 - serializedVersion: 10 - m_Type: 2 - m_Shape: 0 + serializedVersion: 11 + m_Type: 3 m_Color: {r: 1, g: 1, b: 1, a: 1} m_Intensity: 7.0735526 m_Range: 10 @@ -1915,13 +1953,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1331608283} + serializedVersion: 2 m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068} m_LocalPosition: {x: 0, y: 6.171, z: 0} m_LocalScale: {x: 0.6, y: 0.6, z: 0.6} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} --- !u!1 &1368634317 GameObject: @@ -1958,6 +1996,8 @@ MeshRenderer: m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -1998,13 +2038,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1368634317} + serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: -0.75, y: 5.25, z: 2.25} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1700685543} - m_RootOrder: 14 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1378461305 GameObject: @@ -2047,13 +2087,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1378461305} + serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 1 m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 7 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1443910206 GameObject: @@ -2090,6 +2130,8 @@ MeshRenderer: m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -2130,13 +2172,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1443910206} + serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0.75, y: 3.75, z: 0.75} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1700685543} - m_RootOrder: 8 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1492081487 GameObject: @@ -2173,6 +2215,8 @@ MeshRenderer: m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -2213,13 +2257,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1492081487} + serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 2.25, y: 2.25, z: -0.75} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1700685543} - m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1644068431 GameObject: @@ -2256,6 +2300,8 @@ MeshRenderer: m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -2296,13 +2342,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1644068431} + serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: -2.25, y: 0.75, z: -2.25} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1700685543} - m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1700685542 GameObject: @@ -2327,6 +2373,7 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1700685542} + serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} @@ -2349,7 +2396,6 @@ Transform: - {fileID: 1368634321} - {fileID: 15395109} m_Father: {fileID: 0} - m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1725026262 GameObject: @@ -2387,13 +2433,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1725026262} + serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 1 m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 9 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1725355993 GameObject: @@ -2420,13 +2466,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1725355993} + serializedVersion: 2 m_LocalRotation: {x: 0.38268322, y: -0, z: -0, w: 0.9238797} m_LocalPosition: {x: 0, y: 1.5, z: 1.5} m_LocalScale: {x: 1.5, y: 1, z: 1.4999999} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 174787485} - m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 45.000004, y: 0, z: 0} --- !u!23 &1725355995 MeshRenderer: @@ -2445,6 +2491,8 @@ MeshRenderer: m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -2513,6 +2561,8 @@ MeshRenderer: m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -2553,13 +2603,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1816145187} + serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: -2.25, y: 2.25, z: -0.75} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1700685543} - m_RootOrder: 7 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &2077743424 PrefabInstance: @@ -2611,3 +2661,17 @@ PrefabInstance: m_AddedGameObjects: [] m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 9c31666db73c94448ad9133b2aeff0e5, type: 3} +--- !u!1660057539 &9223372036854775807 +SceneRoots: + m_ObjectHideFlags: 0 + m_Roots: + - {fileID: 703353110} + - {fileID: 2077743424} + - {fileID: 1032115244} + - {fileID: 1331608287} + - {fileID: 1700685543} + - {fileID: 174787485} + - {fileID: 878726706} + - {fileID: 1378461307} + - {fileID: 900459073} + - {fileID: 1725026264} diff --git a/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2120_APV_Baking/Default.asset b/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2120_APV_Baking/Default.asset index 02532d841e5..eb347fb6400 100644 --- a/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2120_APV_Baking/Default.asset +++ b/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2120_APV_Baking/Default.asset @@ -24,50 +24,46 @@ MonoBehaviour: virtualOffsetSettings: useVirtualOffset: 1 outOfGeoOffset: 0.01 - searchMultiplier: 0.2 + searchMultiplier: 0.3 rayOriginBias: -0.001 - maxHitsPerRay: 10 collisionMask: serializedVersion: 2 m_Bits: 4294967291 m_SceneGUIDs: - fc784678bf952de4482e78aea61ccdc8 scenesToNotBake: [] - lightingScenarios: + m_LightingScenarios: - Default cellDescs: m_Keys: m_Values: [] - cellCounts: - m_Keys: - m_Values: [] m_SerializedPerSceneCellList: - sceneGUID: fc784678bf952de4482e78aea61ccdc8 cellList: cellSharedDataAsset: - assetGUID: - streamableAssetPath: - streamableCellDescs: + m_AssetGUID: + m_StreamableAssetPath: + m_ElementSize: 0 + m_StreamableCellDescs: m_Keys: m_Values: [] - elementSize: 0 scenarios: m_Keys: [] m_Values: [] cellBricksDataAsset: - assetGUID: - streamableAssetPath: - streamableCellDescs: + m_AssetGUID: + m_StreamableAssetPath: + m_ElementSize: 0 + m_StreamableCellDescs: m_Keys: m_Values: [] - elementSize: 0 cellSupportDataAsset: - assetGUID: - streamableAssetPath: - streamableCellDescs: + m_AssetGUID: + m_StreamableAssetPath: + m_ElementSize: 0 + m_StreamableCellDescs: m_Keys: m_Values: [] - elementSize: 0 chunkSizeInBricks: 128 maxCellPosition: {x: 0, y: 0, z: 0} minCellPosition: {x: -1, y: -1, z: -1} @@ -76,6 +72,7 @@ MonoBehaviour: m_Extent: {x: 81, y: 81, z: 81} bakedSimplificationLevels: 3 bakedMinDistanceBetweenProbes: 1 + maxSHChunkCount: 1 L0ChunkSize: 65536 L1ChunkSize: 32768 L2TextureChunkSize: 32768 @@ -85,9 +82,6 @@ MonoBehaviour: supportTouchupChunkSize: 32768 supportOffsetsChunkSize: 98304 supportDataChunkSize: 262144 - totalCellCounts: - bricksCount: 64 - chunksCount: 8 lightingScenario: Default version: 0 freezePlacement: 0 diff --git a/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2120_APV_Baking/LightingData.asset b/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2120_APV_Baking/LightingData.asset index 847da00d497..6fa060cf840 100644 Binary files a/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2120_APV_Baking/LightingData.asset and b/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/Scenes/2x_Lighting/2120_APV_Baking/LightingData.asset differ diff --git a/Tests/SRPTests/Projects/HDRP_Tests/Packages/manifest.json b/Tests/SRPTests/Projects/HDRP_Tests/Packages/manifest.json index 67aa388d312..db114505645 100644 --- a/Tests/SRPTests/Projects/HDRP_Tests/Packages/manifest.json +++ b/Tests/SRPTests/Projects/HDRP_Tests/Packages/manifest.json @@ -5,8 +5,8 @@ "com.unity.formats.alembic": "2.3.0", "com.unity.ide.rider": "3.0.16", "com.unity.ide.visualstudio": "2.0.0", - "com.unity.ide.vscode": "1.1.3", "com.unity.render-pipelines.core": "file:../../../../../Packages/com.unity.render-pipelines.core", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "com.unity.render-pipelines.high-definition": "file:../../../../../Packages/com.unity.render-pipelines.high-definition", "com.unity.render-pipelines.high-definition-config": "file:../../../../../Packages/com.unity.render-pipelines.high-definition-config", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", diff --git a/Tests/SRPTests/Projects/MultipleSRP_Tests/Packages/manifest.json b/Tests/SRPTests/Projects/MultipleSRP_Tests/Packages/manifest.json index 1400a6cb34b..31bd740819e 100644 --- a/Tests/SRPTests/Projects/MultipleSRP_Tests/Packages/manifest.json +++ b/Tests/SRPTests/Projects/MultipleSRP_Tests/Packages/manifest.json @@ -8,6 +8,7 @@ "com.unity.render-pipelines.high-definition-config": "file:../../../../../Packages/com.unity.render-pipelines.high-definition-config", "com.unity.render-pipelines.universal": "file:../../../../../Packages/com.unity.render-pipelines.universal", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "local.utf.references": "file:../../../Packages/local.utf.references", "local.gtf.references": "file:../../../Packages/local.gtf.references", "com.unity.timeline": "1.8.0", diff --git a/Tests/SRPTests/Projects/RPCore_PerformanceTests/Packages/manifest.json b/Tests/SRPTests/Projects/RPCore_PerformanceTests/Packages/manifest.json index ef1773c01d2..84ba611c8c1 100644 --- a/Tests/SRPTests/Projects/RPCore_PerformanceTests/Packages/manifest.json +++ b/Tests/SRPTests/Projects/RPCore_PerformanceTests/Packages/manifest.json @@ -4,6 +4,7 @@ "dependencies": { "com.unity.feature.development": "1.0.2", "com.unity.render-pipelines.core": "file:../../../../../Packages/com.unity.render-pipelines.core", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "com.unity.test-framework.performance": "3.0.2", "com.unity.ugui": "2.0.0", "local.utf.references": "file:../../../Packages/local.utf.references", diff --git a/Tests/SRPTests/Projects/SRP_SmokeTest/Packages/manifest.json b/Tests/SRPTests/Projects/SRP_SmokeTest/Packages/manifest.json index 878448a8a3c..399ae795c60 100644 --- a/Tests/SRPTests/Projects/SRP_SmokeTest/Packages/manifest.json +++ b/Tests/SRPTests/Projects/SRP_SmokeTest/Packages/manifest.json @@ -11,6 +11,7 @@ "com.unity.render-pipelines.high-definition-config": "file:../../../../../Packages/com.unity.render-pipelines.high-definition-config", "com.unity.render-pipelines.universal": "file:../../../../../Packages/com.unity.render-pipelines.universal", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "local.code.coverage.references": "file:../../../Packages/local.code.coverage.references", "local.utf.references": "file:../../../Packages/local.utf.references", "local.gtf.references": "file:../../../Packages/local.gtf.references", diff --git a/Tests/SRPTests/Projects/ShaderGraph/Packages/manifest.json b/Tests/SRPTests/Projects/ShaderGraph/Packages/manifest.json index 6c01a8f1dfe..05d60844a30 100644 --- a/Tests/SRPTests/Projects/ShaderGraph/Packages/manifest.json +++ b/Tests/SRPTests/Projects/ShaderGraph/Packages/manifest.json @@ -5,6 +5,7 @@ "com.unity.render-pipelines.core": "file:../../../../../Packages/com.unity.render-pipelines.core", "com.unity.render-pipelines.universal": "file:../../../../../Packages/com.unity.render-pipelines.universal", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "com.unity.visualeffectgraph": "file:../../../../../Packages/com.unity.visualeffectgraph", "local.code.coverage.references": "file:../../../Packages/local.code.coverage.references", "local.utf.references": "file:../../../Packages/local.utf.references", diff --git a/Tests/SRPTests/Projects/ShaderGraphUniversalStereo/Packages/manifest.json b/Tests/SRPTests/Projects/ShaderGraphUniversalStereo/Packages/manifest.json index 91fcc303702..d66f38db6f8 100644 --- a/Tests/SRPTests/Projects/ShaderGraphUniversalStereo/Packages/manifest.json +++ b/Tests/SRPTests/Projects/ShaderGraphUniversalStereo/Packages/manifest.json @@ -7,6 +7,7 @@ "com.unity.render-pipelines.core": "file:../../../../../Packages/com.unity.render-pipelines.core", "com.unity.render-pipelines.universal": "file:../../../../../Packages/com.unity.render-pipelines.universal", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "local.utf.references": "file:../../../Packages/local.utf.references", "local.gtf.references": "file:../../../Packages/local.gtf.references", "com.unity.ugui": "2.0.0", diff --git a/Tests/SRPTests/Projects/UniversalGfxTestStereo/Packages/manifest.json b/Tests/SRPTests/Projects/UniversalGfxTestStereo/Packages/manifest.json index 91fcc303702..d66f38db6f8 100644 --- a/Tests/SRPTests/Projects/UniversalGfxTestStereo/Packages/manifest.json +++ b/Tests/SRPTests/Projects/UniversalGfxTestStereo/Packages/manifest.json @@ -7,6 +7,7 @@ "com.unity.render-pipelines.core": "file:../../../../../Packages/com.unity.render-pipelines.core", "com.unity.render-pipelines.universal": "file:../../../../../Packages/com.unity.render-pipelines.universal", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "local.utf.references": "file:../../../Packages/local.utf.references", "local.gtf.references": "file:../../../Packages/local.gtf.references", "com.unity.ugui": "2.0.0", diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_2D/Packages/manifest.json b/Tests/SRPTests/Projects/UniversalGraphicsTest_2D/Packages/manifest.json index cb06930cc32..4757972ab6f 100644 --- a/Tests/SRPTests/Projects/UniversalGraphicsTest_2D/Packages/manifest.json +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_2D/Packages/manifest.json @@ -11,6 +11,7 @@ "com.unity.render-pipelines.core": "file:../../../../../Packages/com.unity.render-pipelines.core", "com.unity.render-pipelines.universal": "file:../../../../../Packages/com.unity.render-pipelines.universal", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "com.unity.testing.urp": "file:../../../Packages/com.unity.testing.urp", "com.unity.visualeffectgraph": "file:../../../../../Packages/com.unity.visualeffectgraph", "local.code.coverage.references": "file:../../../Packages/local.code.coverage.references", diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/CommonAssets/URPAssets/DefaultURPAsset.asset b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/CommonAssets/URPAssets/DefaultURPAsset.asset index 5c1dd4bd511..86efead8a05 100644 --- a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/CommonAssets/URPAssets/DefaultURPAsset.asset +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/CommonAssets/URPAssets/DefaultURPAsset.asset @@ -34,6 +34,8 @@ MonoBehaviour: - {fileID: 11400000, guid: 9a26b2a5c669cc1409605b459d1696ea, type: 2} - {fileID: 11400000, guid: 7ea39ebe5c005724080e9ffa68153bcc, type: 2} - {fileID: 11400000, guid: f6caeba8e73a4774fa061ede8461fc20, type: 2} + - {fileID: 11400000, guid: 1f0ec70d2f6284f04a23236fd067dec1, type: 2} + - {fileID: 11400000, guid: 81c60c102f7364ff7a219d5723b5a355, type: 2} m_DefaultRendererIndex: 0 m_RequireDepthTexture: 1 m_RequireOpaqueTexture: 1 diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred.meta new file mode 100644 index 00000000000..7462f3a3484 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 04e1441589fd04e94a4628c6d5688aef +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_ComplexLit_Graph.shadergraph b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_ComplexLit_Graph.shadergraph new file mode 100644 index 00000000000..97275b55cd0 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_ComplexLit_Graph.shadergraph @@ -0,0 +1,853 @@ +{ + "m_SGVersion": 3, + "m_Type": "UnityEditor.ShaderGraph.GraphData", + "m_ObjectId": "ba15506cb41c441186ff65e82df753b6", + "m_Properties": [], + "m_Keywords": [], + "m_Dropdowns": [], + "m_CategoryData": [ + { + "m_Id": "9bdf306d19264d968e91cf1d71a7e358" + } + ], + "m_Nodes": [ + { + "m_Id": "6a88fea26ed343adb5ee1314432871aa" + }, + { + "m_Id": "54651f2d5a0845af998e9277ca48a57b" + }, + { + "m_Id": "7abc36b9a35e41b9bbb266ea7d9f7657" + }, + { + "m_Id": "4f8137e638004a8eb94afe7d3b8ca38b" + }, + { + "m_Id": "f93fbe86820e4b3eb981c223d108cf4a" + }, + { + "m_Id": "2719c973bdac4d8bbb3e0986c4678f8e" + }, + { + "m_Id": "ea20427b2b334fb0a658a9052a12a640" + }, + { + "m_Id": "a3cd8d95a97b4e8a9b5e386d3176aaaa" + }, + { + "m_Id": "9f495d789e0b429f8195d4a47f847a11" + }, + { + "m_Id": "f9bdc64107584fc3a34b5224c6b9c1e6" + }, + { + "m_Id": "f136e946937b4102879cde2da778f55a" + }, + { + "m_Id": "0f57414ce7e9434faa0d719256b6f50f" + } + ], + "m_GroupDatas": [], + "m_StickyNoteDatas": [], + "m_Edges": [ + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "7abc36b9a35e41b9bbb266ea7d9f7657" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "6a88fea26ed343adb5ee1314432871aa" + }, + "m_SlotId": 0 + } + } + ], + "m_VertexContext": { + "m_Position": { + "x": 0.0, + "y": 0.0 + }, + "m_Blocks": [ + { + "m_Id": "4f8137e638004a8eb94afe7d3b8ca38b" + }, + { + "m_Id": "f93fbe86820e4b3eb981c223d108cf4a" + }, + { + "m_Id": "2719c973bdac4d8bbb3e0986c4678f8e" + } + ] + }, + "m_FragmentContext": { + "m_Position": { + "x": 0.0, + "y": 200.0 + }, + "m_Blocks": [ + { + "m_Id": "6a88fea26ed343adb5ee1314432871aa" + }, + { + "m_Id": "54651f2d5a0845af998e9277ca48a57b" + }, + { + "m_Id": "ea20427b2b334fb0a658a9052a12a640" + }, + { + "m_Id": "a3cd8d95a97b4e8a9b5e386d3176aaaa" + }, + { + "m_Id": "9f495d789e0b429f8195d4a47f847a11" + }, + { + "m_Id": "f9bdc64107584fc3a34b5224c6b9c1e6" + }, + { + "m_Id": "f136e946937b4102879cde2da778f55a" + }, + { + "m_Id": "0f57414ce7e9434faa0d719256b6f50f" + } + ] + }, + "m_PreviewData": { + "serializedMesh": { + "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", + "m_Guid": "" + }, + "preventRotation": false + }, + "m_Path": "Shader Graphs", + "m_GraphPrecision": 1, + "m_PreviewMode": 2, + "m_OutputNode": { + "m_Id": "" + }, + "m_ActiveTargets": [ + { + "m_Id": "b439bb209ef84a4aa08c77adf19ac190" + } + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "0f57414ce7e9434faa0d719256b6f50f", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.CoatSmoothness", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "bf48c89f4a54411794965d725721eab4" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.CoatSmoothness" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "2719c973bdac4d8bbb3e0986c4678f8e", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Tangent", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "9c5c0728ad7248939f5d4c3e2c82dcd9" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Tangent" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "46b7a0b21ba24b0d871a41db10bbeec8", + "m_Id": 0, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "4f8137e638004a8eb94afe7d3b8ca38b", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Position", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "9bccd39c992542339016cafa8b03ea64" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Position" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "54651f2d5a0845af998e9277ca48a57b", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.Smoothness", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "f160a4849bc9465f8233b6948f294c4e" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.Smoothness" +} + +{ + "m_SGVersion": 2, + "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalLitSubTarget", + "m_ObjectId": "659abee6fb6e4c3e880847294082f099", + "m_WorkflowMode": 1, + "m_NormalDropOffSpace": 0, + "m_ClearCoat": true, + "m_BlendModePreserveSpecular": true +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "6a88fea26ed343adb5ee1314432871aa", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.BaseColor", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "aa0aef8991374317bddb64ce0b1bb6aa" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.BaseColor" +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.ColorNode", + "m_ObjectId": "7abc36b9a35e41b9bbb266ea7d9f7657", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Color", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -314.0, + "y": 200.0, + "width": 208.0, + "height": 125.0 + } + }, + "m_Slots": [ + { + "m_Id": "46b7a0b21ba24b0d871a41db10bbeec8" + } + ], + "synonyms": [ + "rgba" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Color": { + "color": { + "r": 0.0, + "g": 0.7529411911964417, + "b": 0.501960813999176, + "a": 0.0 + }, + "mode": 0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "89e7faebe0434c048190652c68e5f8da", + "m_Id": 0, + "m_DisplayName": "Coat Mask", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "CoatMask", + "m_StageCapability": 2, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", + "m_ObjectId": "9751618f74584b57acba85e5c1d3ffe4", + "m_Id": 0, + "m_DisplayName": "Emission", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Emission", + "m_StageCapability": 2, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_ColorMode": 1, + "m_DefaultColor": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot", + "m_ObjectId": "9bccd39c992542339016cafa8b03ea64", + "m_Id": 0, + "m_DisplayName": "Position", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Position", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.CategoryData", + "m_ObjectId": "9bdf306d19264d968e91cf1d71a7e358", + "m_Name": "", + "m_ChildObjectList": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", + "m_ObjectId": "9c5c0728ad7248939f5d4c3e2c82dcd9", + "m_Id": 0, + "m_DisplayName": "Tangent", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Tangent", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "9f495d789e0b429f8195d4a47f847a11", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.Occlusion", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "b3b21f7f57d647d0bd203bbea97c50dc" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.Occlusion" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "a3cd8d95a97b4e8a9b5e386d3176aaaa", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.Emission", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "9751618f74584b57acba85e5c1d3ffe4" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.Emission" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", + "m_ObjectId": "aa0aef8991374317bddb64ce0b1bb6aa", + "m_Id": 0, + "m_DisplayName": "Base Color", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "BaseColor", + "m_StageCapability": 2, + "m_Value": { + "x": 0.5, + "y": 0.5, + "z": 0.5 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_ColorMode": 0, + "m_DefaultColor": { + "r": 0.5, + "g": 0.5, + "b": 0.5, + "a": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "b3b21f7f57d647d0bd203bbea97c50dc", + "m_Id": 0, + "m_DisplayName": "Ambient Occlusion", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Occlusion", + "m_StageCapability": 2, + "m_Value": 1.0, + "m_DefaultValue": 1.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget", + "m_ObjectId": "b439bb209ef84a4aa08c77adf19ac190", + "m_Datas": [], + "m_ActiveSubTarget": { + "m_Id": "659abee6fb6e4c3e880847294082f099" + }, + "m_AllowMaterialOverride": false, + "m_SurfaceType": 0, + "m_ZTestMode": 4, + "m_ZWriteControl": 0, + "m_AlphaMode": 0, + "m_RenderFace": 2, + "m_AlphaClip": false, + "m_CastShadows": true, + "m_ReceiveShadows": true, + "m_AdditionalMotionVectorMode": 0, + "m_AlembicMotionVectors": false, + "m_SupportsLODCrossFade": false, + "m_CustomEditorGUI": "", + "m_SupportVFX": false +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "bf48c89f4a54411794965d725721eab4", + "m_Id": 0, + "m_DisplayName": "Coat Smoothness", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "CoatSmoothness", + "m_StageCapability": 2, + "m_Value": 1.0, + "m_DefaultValue": 1.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", + "m_ObjectId": "cb6b0a1d79b74d56a190735bdcb8414d", + "m_Id": 0, + "m_DisplayName": "Normal (Tangent Space)", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "NormalTS", + "m_StageCapability": 2, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 3 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", + "m_ObjectId": "cf9f1435a30f4dcfac8eb0f2b5d40df3", + "m_Id": 0, + "m_DisplayName": "Normal", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Normal", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "e158b5f387b548ee8cd6815894b40193", + "m_Id": 0, + "m_DisplayName": "Metallic", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Metallic", + "m_StageCapability": 2, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "ea20427b2b334fb0a658a9052a12a640", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.NormalTS", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "cb6b0a1d79b74d56a190735bdcb8414d" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.NormalTS" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "f136e946937b4102879cde2da778f55a", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.CoatMask", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "89e7faebe0434c048190652c68e5f8da" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.CoatMask" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "f160a4849bc9465f8233b6948f294c4e", + "m_Id": 0, + "m_DisplayName": "Smoothness", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Smoothness", + "m_StageCapability": 2, + "m_Value": 0.699999988079071, + "m_DefaultValue": 0.5, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "f93fbe86820e4b3eb981c223d108cf4a", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Normal", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "cf9f1435a30f4dcfac8eb0f2b5d40df3" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Normal" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "f9bdc64107584fc3a34b5224c6b9c1e6", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.Metallic", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "e158b5f387b548ee8cd6815894b40193" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.Metallic" +} + diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_ComplexLit_Graph.shadergraph.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_ComplexLit_Graph.shadergraph.meta new file mode 100644 index 00000000000..e2c8c0c79e8 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_ComplexLit_Graph.shadergraph.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: da9733adb95ad4886b345327507aa2a8 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_ComplexLit_O.mat b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_ComplexLit_O.mat new file mode 100644 index 00000000000..bac84e7a199 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_ComplexLit_O.mat @@ -0,0 +1,142 @@ +%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: Deferred_ComplexLit_O + m_Shader: {fileID: 4800000, guid: ee7e4c9a5f6364b688a332c67fc32cca, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ClearCoatMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BlendOp: 0 + - _BumpScale: 1 + - _ClearCoat: 0 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _Smoothness: 0.7 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 0.7529412, g: 0.5019608, b: 0, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _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 &6380172852636000544 +MonoBehaviour: + m_ObjectHideFlags: 11 + 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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 9 diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_ComplexLit_O.mat.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_ComplexLit_O.mat.meta new file mode 100644 index 00000000000..8717541c539 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_ComplexLit_O.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9f88666de509042afafe5f55bc937b74 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_ComplexLit_SG_C.mat b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_ComplexLit_SG_C.mat new file mode 100644 index 00000000000..a82f70dded1 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_ComplexLit_SG_C.mat @@ -0,0 +1,154 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-2938662716500970180 +MonoBehaviour: + m_ObjectHideFlags: 11 + 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: 639247ca83abc874e893eb93af2b5e44, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 0 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Deferred_ComplexLit_SG_C + m_Shader: {fileID: -6465566751694194690, guid: da9733adb95ad4886b345327507aa2a8, + type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _BUILTIN_QueueControl: 0 + - _BUILTIN_QueueOffset: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BlendOp: 0 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueControl: 0 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _SampleGI: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 0.7529412, g: 0, b: 0, a: 1} + - _Color: {r: 0.7529412, g: 0, b: 0, a: 1} + - _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 &6380172852636000544 +MonoBehaviour: + m_ObjectHideFlags: 11 + 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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 9 diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_ComplexLit_SG_C.mat.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_ComplexLit_SG_C.mat.meta new file mode 100644 index 00000000000..02de50bfeab --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_ComplexLit_SG_C.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c67bc245325b24fabb57406085ff3cf9 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Alpha_Visualization_Renderer.asset b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Alpha_Visualization_Renderer.asset new file mode 100644 index 00000000000..e146dd38e62 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Alpha_Visualization_Renderer.asset @@ -0,0 +1,93 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-4989252576251722143 +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: 4d661a87bf0d747eda25e011da3db58c, type: 3} + m_Name: DeferredGBufferVisualizationRenderFeature + m_EditorClassIdentifier: + m_Active: 1 + visualizeShader: {fileID: 4800000, guid: 05f75adf3dbb04d61937b7c461ab5b4f, type: 3} + visualizeAlphaChannel: 1 +--- !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: Deferred_GBuffer_Alpha_Visualization_Renderer + m_EditorClassIdentifier: + debugShaders: + debugReplacementPS: {fileID: 4800000, guid: cf852408f2e174538bcd9b7fda1c5ae7, + type: 3} + hdrDebugViewPS: {fileID: 4800000, guid: 573620ae32aec764abd4d728906d2587, type: 3} + probeVolumeSamplingDebugComputeShader: {fileID: 7200000, guid: 53626a513ea68ce47b59dc1299fe3959, + type: 3} + probeVolumeResources: + probeVolumeDebugShader: {fileID: 4800000, guid: e5c6678ed2aaa91408dd3df699057aae, + type: 3} + probeVolumeFragmentationDebugShader: {fileID: 4800000, guid: 03cfc4915c15d504a9ed85ecc404e607, + type: 3} + probeVolumeOffsetDebugShader: {fileID: 4800000, guid: 53a11f4ebaebf4049b3638ef78dc9664, + type: 3} + probeVolumeSamplingDebugShader: {fileID: 4800000, guid: 8f96cd657dc40064aa21efcc7e50a2e7, + type: 3} + probeSamplingDebugMesh: {fileID: -3555484719484374845, guid: 57d7c4c16e2765b47a4d2069b311bffe, + type: 3} + probeSamplingDebugTexture: {fileID: 2800000, guid: 24ec0e140fb444a44ab96ee80844e18e, + type: 3} + m_RendererFeatures: + - {fileID: -4989252576251722143} + m_RendererFeatureMap: 6146d051379dc2ba + m_UseNativeRenderPass: 0 + postProcessData: {fileID: 0} + xrSystemData: {fileID: 11400000, guid: 60e1133243b97e347b653163a8c01b64, type: 2} + shaders: + blitPS: {fileID: 4800000, guid: c17132b1f77d20942aa75f8429c0f8bc, type: 3} + copyDepthPS: {fileID: 4800000, guid: d6dae50ee9e1bfa4db75f19f99355220, type: 3} + screenSpaceShadowPS: {fileID: 0} + 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: 0} + 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} + screenSpaceLensFlare: {fileID: 4800000, guid: 701880fecb344ea4c9cd0db3407ab287, + type: 3} + dataDrivenLensFlare: {fileID: 4800000, guid: 6cda457ac28612740adb23da5d39ea92, + type: 3} + m_AssetVersion: 2 + m_OpaqueLayerMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_TransparentLayerMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_DefaultStencilState: + overrideStencilState: 0 + stencilReference: 0 + stencilCompareFunction: 8 + passOperation: 2 + failOperation: 0 + zFailOperation: 0 + m_ShadowTransparentReceive: 1 + m_RenderingMode: 1 + m_DepthPrimingMode: 0 + m_CopyDepthMode: 1 + m_AccurateGbufferNormals: 0 + m_IntermediateTextureMode: 1 diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Alpha_Visualization_Renderer.asset.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Alpha_Visualization_Renderer.asset.meta new file mode 100644 index 00000000000..7fd1d9a9057 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Alpha_Visualization_Renderer.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 81c60c102f7364ff7a219d5723b5a355 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_Material.mat b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_Material.mat new file mode 100644 index 00000000000..3aa8d96eaae --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_Material.mat @@ -0,0 +1,136 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-2733923283665781058 +MonoBehaviour: + m_ObjectHideFlags: 11 + 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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 9 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Deferred_GBuffer_Visualization_Material + m_Shader: {fileID: 4800000, guid: 05f75adf3dbb04d61937b7c461ab5b4f, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BlendOp: 0 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _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 diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_Material.mat.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_Material.mat.meta new file mode 100644 index 00000000000..a5183456544 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_Material.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6e778bd742f0d4ed4a631381b32de324 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_RenderFeature.cs b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_RenderFeature.cs new file mode 100644 index 00000000000..5453cff5bb3 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_RenderFeature.cs @@ -0,0 +1,140 @@ +using UnityEngine; +using UnityEngine.Rendering; +using UnityEngine.Rendering.Universal; +using UnityEngine.Experimental.Rendering.RenderGraphModule; + +public class Deferred_GBuffer_Visualization_RenderFeature : ScriptableRendererFeature +{ + public Shader visualizeShader; + public bool visualizeAlphaChannel = false; + private Material m_Material; + + class CustomRenderPass : ScriptableRenderPass + { + internal Material m_Material; + internal bool m_VisualizeAlphaChannel = false; + + public CustomRenderPass(Shader visualizeShader, bool visualizeAlphaChannel) + { + m_VisualizeAlphaChannel = visualizeAlphaChannel; + } + + public void Setup(Material material) + { + m_Material = material; + } + + // This method is called before executing the render pass. + // It can be used to configure render targets and their clear state. Also to create temporary render target textures. + // When empty this render pass will render to the active camera render target. + // You should never call CommandBuffer.SetRenderTarget. Instead call ConfigureTarget and ConfigureClear. + // The render pipeline will ensure target setup and clearing happens in a performant manner. + public override void OnCameraSetup(CommandBuffer cmd, ref RenderingData renderingData) + { + } + + // Here you can implement the rendering logic. + // Use ScriptableRenderContext to issue drawing commands or execute command buffers + // https://docs.unity3d.com/ScriptReference/Rendering.ScriptableRenderContext.html + // You don't have to call ScriptableRenderContext.submit, the render pipeline will call it at specific points in the pipeline. + public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData) + { + CommandBuffer cmd = CommandBufferPool.Get(); + + ExecutePass(cmd, ref renderingData); + + context.ExecuteCommandBuffer(cmd); + cmd.Clear(); + + CommandBufferPool.Release(cmd); + } + + void ExecutePass(CommandBuffer cmd, ref RenderingData renderingData) + { + if (m_Material == null) + return; + + UniversalRenderer renderer = renderingData.cameraData.renderer as UniversalRenderer; + + ConfigureTarget(renderer?.cameraColorTargetHandle); + ConfigureClear(ClearFlag.Color, Color.yellow); + + if (m_Material) + { + CoreUtils.SetKeyword(m_Material,"VIS_ALPHA", m_VisualizeAlphaChannel); + cmd.DrawProcedural(Matrix4x4.identity, m_Material, 0, MeshTopology.Triangles, 3, 1); + } + } + + // Cleanup any allocated resources that were created during the execution of this render pass. + public override void OnCameraCleanup(CommandBuffer cmd) + { + } + + private class PassData + { + internal Material material; + internal bool visualizeAlphaChannel; + } + + public override void RecordRenderGraph(RenderGraph renderGraph, FrameResources frameResources, ref RenderingData renderingData) + { + if (m_Material == null) + return; + + UniversalRenderer renderer = renderingData.cameraData.renderer as UniversalRenderer; + if (renderer == null) + return; + + using (var builder = renderGraph.AddRasterRenderPass("Test GBuffer visualization.", out var passData)) + { + builder.UseTextureFragment(renderer.activeColorTexture, 0, IBaseRenderGraphBuilder.AccessFlags.Write); + passData.material = m_Material; + passData.visualizeAlphaChannel = m_VisualizeAlphaChannel; + + builder.SetRenderFunc(static (PassData data, RasterGraphContext context) => + { + CoreUtils.SetKeyword(data.material,"VIS_ALPHA", data.visualizeAlphaChannel); + context.cmd.DrawProcedural(Matrix4x4.identity, data.material, 0, MeshTopology.Triangles, 3, 1); + }); + } + } + } + + CustomRenderPass m_ScriptablePass; + + /// + public override void Create() + { + m_ScriptablePass = new CustomRenderPass(visualizeShader, visualizeAlphaChannel); + + // Configures where the render pass should be injected. + m_ScriptablePass.renderPassEvent = RenderPassEvent.AfterRenderingTransparents; + } + + // Here you can inject one or multiple render passes in the renderer. + // This method is called when setting up the renderer once per-camera. + public override void AddRenderPasses(ScriptableRenderer renderer, ref RenderingData renderingData) + { + if (!GetMaterials()) + { + Debug.LogErrorFormat("{0}.AddRenderPasses(): Missing material. {1} render pass will not be added.", GetType().Name, name); + return; + } + + m_ScriptablePass.Setup(m_Material); + renderer.EnqueuePass(m_ScriptablePass); + } + + protected override void Dispose(bool disposing) + { + CoreUtils.Destroy(m_Material); + } + + private bool GetMaterials() + { + if (m_Material == null && visualizeShader != null) + m_Material = CoreUtils.CreateEngineMaterial(visualizeShader); + return m_Material != null; + } +} diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_RenderFeature.cs.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_RenderFeature.cs.meta new file mode 100644 index 00000000000..6b7382cc883 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_RenderFeature.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 4d661a87bf0d747eda25e011da3db58c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: + - visualizeShader: {fileID: 4800000, guid: 05f75adf3dbb04d61937b7c461ab5b4f, type: 3} + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_Renderer.asset b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_Renderer.asset new file mode 100644 index 00000000000..c4e6985f32b --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_Renderer.asset @@ -0,0 +1,93 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-4989252576251722143 +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: 4d661a87bf0d747eda25e011da3db58c, type: 3} + m_Name: DeferredGBufferVisualizationRenderFeature + m_EditorClassIdentifier: + m_Active: 1 + visualizeShader: {fileID: 4800000, guid: 05f75adf3dbb04d61937b7c461ab5b4f, type: 3} + visualizeAlphaChannel: 0 +--- !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: Deferred_GBuffer_Visualization_Renderer + m_EditorClassIdentifier: + debugShaders: + debugReplacementPS: {fileID: 4800000, guid: cf852408f2e174538bcd9b7fda1c5ae7, + type: 3} + hdrDebugViewPS: {fileID: 4800000, guid: 573620ae32aec764abd4d728906d2587, type: 3} + probeVolumeSamplingDebugComputeShader: {fileID: 7200000, guid: 53626a513ea68ce47b59dc1299fe3959, + type: 3} + probeVolumeResources: + probeVolumeDebugShader: {fileID: 4800000, guid: e5c6678ed2aaa91408dd3df699057aae, + type: 3} + probeVolumeFragmentationDebugShader: {fileID: 4800000, guid: 03cfc4915c15d504a9ed85ecc404e607, + type: 3} + probeVolumeOffsetDebugShader: {fileID: 4800000, guid: 53a11f4ebaebf4049b3638ef78dc9664, + type: 3} + probeVolumeSamplingDebugShader: {fileID: 4800000, guid: 8f96cd657dc40064aa21efcc7e50a2e7, + type: 3} + probeSamplingDebugMesh: {fileID: -3555484719484374845, guid: 57d7c4c16e2765b47a4d2069b311bffe, + type: 3} + probeSamplingDebugTexture: {fileID: 2800000, guid: 24ec0e140fb444a44ab96ee80844e18e, + type: 3} + m_RendererFeatures: + - {fileID: -4989252576251722143} + m_RendererFeatureMap: 6146d051379dc2ba + m_UseNativeRenderPass: 0 + postProcessData: {fileID: 0} + xrSystemData: {fileID: 11400000, guid: 60e1133243b97e347b653163a8c01b64, type: 2} + shaders: + blitPS: {fileID: 4800000, guid: c17132b1f77d20942aa75f8429c0f8bc, type: 3} + copyDepthPS: {fileID: 4800000, guid: d6dae50ee9e1bfa4db75f19f99355220, type: 3} + screenSpaceShadowPS: {fileID: 0} + 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: 0} + 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} + screenSpaceLensFlare: {fileID: 4800000, guid: 701880fecb344ea4c9cd0db3407ab287, + type: 3} + dataDrivenLensFlare: {fileID: 4800000, guid: 6cda457ac28612740adb23da5d39ea92, + type: 3} + m_AssetVersion: 2 + m_OpaqueLayerMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_TransparentLayerMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_DefaultStencilState: + overrideStencilState: 0 + stencilReference: 0 + stencilCompareFunction: 8 + passOperation: 2 + failOperation: 0 + zFailOperation: 0 + m_ShadowTransparentReceive: 1 + m_RenderingMode: 1 + m_DepthPrimingMode: 0 + m_CopyDepthMode: 1 + m_AccurateGbufferNormals: 0 + m_IntermediateTextureMode: 1 diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_Renderer.asset.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_Renderer.asset.meta new file mode 100644 index 00000000000..6b5e62d9912 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_Renderer.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1f0ec70d2f6284f04a23236fd067dec1 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_Shader.shader b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_Shader.shader new file mode 100644 index 00000000000..19c76ab1d7c --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_Shader.shader @@ -0,0 +1,139 @@ +Shader "Universal Render Pipeline/Deferred_GBuffer_Visualization_Shader" +{ + Properties + { + // BlendMode + [HideInInspector]_Surface("__surface", Float) = 0.0 + [HideInInspector]_Blend("__mode", Float) = 0.0 + [HideInInspector]_Cull("__cull", Float) = 2.0 + [HideInInspector][ToggleUI] _AlphaClip("__clip", Float) = 0.0 + [HideInInspector] _BlendOp("__blendop", Float) = 0.0 + [HideInInspector] _SrcBlend("__src", Float) = 1.0 + [HideInInspector] _DstBlend("__dst", Float) = 0.0 + [HideInInspector] _SrcBlendAlpha("__srcA", Float) = 1.0 + [HideInInspector] _DstBlendAlpha("__dstA", Float) = 0.0 + [HideInInspector] _ZWrite("__zw", Float) = 1.0 + } + + SubShader + { + Tags + { + "RenderType" = "Opaque" + "IgnoreProjector" = "True" + "UniversalMaterialType" = "Unlit" + "RenderPipeline" = "UniversalPipeline" + } + LOD 100 + + // ------------------------------------- + // Render State Commands + Blend [_SrcBlend][_DstBlend], [_SrcBlendAlpha][_DstBlendAlpha] + ZWrite [_ZWrite] + Cull [_Cull] + + Pass + { + Name "Deferred_GBuffer_Visualization" + + HLSLPROGRAM + #pragma target 2.0 + + // ------------------------------------- + // Shader Stages + #pragma vertex GBufferVisPassVertex + #pragma fragment GBufferVisPassFragment + + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/GlobalSamplers.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/UnityInstancing.hlsl" + + #pragma multi_compile_fragment _ VIS_ALPHA + + TEXTURE2D_X(_GBuffer0); + TEXTURE2D_X(_GBuffer1); + TEXTURE2D_X(_GBuffer2); + TEXTURE2D_X(_GBuffer3); + + struct Attributes + { + uint vertexID : SV_VertexID; + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct Varyings + { + float4 positionCS : SV_POSITION; + float2 texcoord : TEXCOORD0; + + UNITY_VERTEX_INPUT_INSTANCE_ID + UNITY_VERTEX_OUTPUT_STEREO + }; + + Varyings GBufferVisPassVertex(Attributes input) + { + Varyings output; + UNITY_SETUP_INSTANCE_ID(input); + UNITY_TRANSFER_INSTANCE_ID(input, output); + UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(output); + + float4 pos = GetFullScreenTriangleVertexPosition(input.vertexID); + float2 uv = GetFullScreenTriangleTexCoord(input.vertexID); + + output.positionCS = pos; + output.texcoord = uv; + + return output; + } + + void GBufferVisPassFragment(Varyings input, out half4 outColor : SV_Target0) + { + UNITY_SETUP_INSTANCE_ID(input); + UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(input); + + outColor = float4(1,1,0,1); + + float2 uv = input.texcoord; + #ifndef UNITY_UV_STARTS_AT_TOP + uv.y = 1.0 - uv.y; + #endif + // Bottom row. + if(all(uv < float2(0.5, 0.5))) // GBuffer2 == normal.rgb, smoothness + { + float2 uvX = saturate(uv * 2); + outColor = SAMPLE_TEXTURE2D_X_LOD(_GBuffer2, sampler_PointClamp, uvX, 0); + } + else if(uv.x >= 0.5 && uv.y < 0.5) // GBuffer3 == GI.rgb + { + float2 uvX = saturate((uv - float2(0.5, 0.0)) * 2); + outColor = SAMPLE_TEXTURE2D_X_LOD(_GBuffer3, sampler_PointClamp, uvX, 0); + } + // Top row. + else if(uv.x < 0.5 && uv.y >= 0.5) // GBuffer0 == Color.rgb, material flags + { + float2 uvX = saturate((uv - float2(0.0, 0.5)) * 2); + outColor = SAMPLE_TEXTURE2D_X_LOD(_GBuffer0, sampler_PointClamp, uvX, 0); + } + else if(all(uv >= float2(0.5, 0.5))) // Gbuffer1 == Metallic.r/Specular.rgb, ambient occlusion + { + float2 uvX = saturate((uv - float2(0.5, 0.5)) * 2); + outColor = SAMPLE_TEXTURE2D_X_LOD(_GBuffer1, sampler_PointClamp, uvX, 0); + } + + // Visualize the alpha channel in rgb. + #ifdef VIS_ALPHA + outColor.rgb = outColor.aaa; + #endif + + // The testframework / refimages don't handle non-transparent alpha well, + // force alpha to 1 for visual test purposes. + // Comment out to check GBuffer alpha channels. + outColor.a = 1; + } + ENDHLSL + } + } + + FallBack "Hidden/Universal Render Pipeline/FallbackError" +} diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_Shader.shader.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_Shader.shader.meta new file mode 100644 index 00000000000..55a9e15eb75 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_GBuffer_Visualization_Shader.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 05f75adf3dbb04d61937b7c461ab5b4f +ShaderImporter: + externalObjects: {} + defaultTextures: [] + nonModifiableTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Lit_B.mat b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Lit_B.mat new file mode 100644 index 00000000000..3d0922f3f77 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Lit_B.mat @@ -0,0 +1,136 @@ +%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: Deferred_Lit_B + m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _Smoothness: 0.7 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 0, g: 0, b: 0.7529412, a: 1} + - _Color: {r: 0, g: 0, b: 0.7529412, a: 1} + - _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 &6380172852636000544 +MonoBehaviour: + m_ObjectHideFlags: 11 + 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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 9 diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Lit_B.mat.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Lit_B.mat.meta new file mode 100644 index 00000000000..7aa0446fc9a --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Lit_B.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0d1047310b0ac4c56a8e4436385f2347 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Lit_Graph.shadergraph b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Lit_Graph.shadergraph new file mode 100644 index 00000000000..3ab8f5bc0ec --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Lit_Graph.shadergraph @@ -0,0 +1,743 @@ +{ + "m_SGVersion": 3, + "m_Type": "UnityEditor.ShaderGraph.GraphData", + "m_ObjectId": "ba15506cb41c441186ff65e82df753b6", + "m_Properties": [], + "m_Keywords": [], + "m_Dropdowns": [], + "m_CategoryData": [ + { + "m_Id": "9bdf306d19264d968e91cf1d71a7e358" + } + ], + "m_Nodes": [ + { + "m_Id": "6a88fea26ed343adb5ee1314432871aa" + }, + { + "m_Id": "54651f2d5a0845af998e9277ca48a57b" + }, + { + "m_Id": "7abc36b9a35e41b9bbb266ea7d9f7657" + }, + { + "m_Id": "4f8137e638004a8eb94afe7d3b8ca38b" + }, + { + "m_Id": "f93fbe86820e4b3eb981c223d108cf4a" + }, + { + "m_Id": "2719c973bdac4d8bbb3e0986c4678f8e" + }, + { + "m_Id": "ea20427b2b334fb0a658a9052a12a640" + }, + { + "m_Id": "a3cd8d95a97b4e8a9b5e386d3176aaaa" + }, + { + "m_Id": "9f495d789e0b429f8195d4a47f847a11" + }, + { + "m_Id": "f9bdc64107584fc3a34b5224c6b9c1e6" + } + ], + "m_GroupDatas": [], + "m_StickyNoteDatas": [], + "m_Edges": [ + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "7abc36b9a35e41b9bbb266ea7d9f7657" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "6a88fea26ed343adb5ee1314432871aa" + }, + "m_SlotId": 0 + } + } + ], + "m_VertexContext": { + "m_Position": { + "x": 0.0, + "y": 0.0 + }, + "m_Blocks": [ + { + "m_Id": "4f8137e638004a8eb94afe7d3b8ca38b" + }, + { + "m_Id": "f93fbe86820e4b3eb981c223d108cf4a" + }, + { + "m_Id": "2719c973bdac4d8bbb3e0986c4678f8e" + } + ] + }, + "m_FragmentContext": { + "m_Position": { + "x": 0.0, + "y": 200.0 + }, + "m_Blocks": [ + { + "m_Id": "6a88fea26ed343adb5ee1314432871aa" + }, + { + "m_Id": "54651f2d5a0845af998e9277ca48a57b" + }, + { + "m_Id": "ea20427b2b334fb0a658a9052a12a640" + }, + { + "m_Id": "a3cd8d95a97b4e8a9b5e386d3176aaaa" + }, + { + "m_Id": "9f495d789e0b429f8195d4a47f847a11" + }, + { + "m_Id": "f9bdc64107584fc3a34b5224c6b9c1e6" + } + ] + }, + "m_PreviewData": { + "serializedMesh": { + "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", + "m_Guid": "" + }, + "preventRotation": false + }, + "m_Path": "Shader Graphs", + "m_GraphPrecision": 1, + "m_PreviewMode": 2, + "m_OutputNode": { + "m_Id": "" + }, + "m_ActiveTargets": [ + { + "m_Id": "b439bb209ef84a4aa08c77adf19ac190" + } + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "2719c973bdac4d8bbb3e0986c4678f8e", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Tangent", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "9c5c0728ad7248939f5d4c3e2c82dcd9" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Tangent" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "46b7a0b21ba24b0d871a41db10bbeec8", + "m_Id": 0, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "4f8137e638004a8eb94afe7d3b8ca38b", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Position", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "9bccd39c992542339016cafa8b03ea64" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Position" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "54651f2d5a0845af998e9277ca48a57b", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.Smoothness", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "f160a4849bc9465f8233b6948f294c4e" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.Smoothness" +} + +{ + "m_SGVersion": 2, + "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalLitSubTarget", + "m_ObjectId": "659abee6fb6e4c3e880847294082f099", + "m_WorkflowMode": 1, + "m_NormalDropOffSpace": 0, + "m_ClearCoat": false, + "m_BlendModePreserveSpecular": true +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "6a88fea26ed343adb5ee1314432871aa", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.BaseColor", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "aa0aef8991374317bddb64ce0b1bb6aa" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.BaseColor" +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.ColorNode", + "m_ObjectId": "7abc36b9a35e41b9bbb266ea7d9f7657", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Color", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -314.0, + "y": 200.0, + "width": 208.0, + "height": 125.0 + } + }, + "m_Slots": [ + { + "m_Id": "46b7a0b21ba24b0d871a41db10bbeec8" + } + ], + "synonyms": [ + "rgba" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Color": { + "color": { + "r": 0.3764705955982208, + "g": 0.0, + "b": 0.7529411911964417, + "a": 0.0 + }, + "mode": 0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", + "m_ObjectId": "9751618f74584b57acba85e5c1d3ffe4", + "m_Id": 0, + "m_DisplayName": "Emission", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Emission", + "m_StageCapability": 2, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_ColorMode": 1, + "m_DefaultColor": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot", + "m_ObjectId": "9bccd39c992542339016cafa8b03ea64", + "m_Id": 0, + "m_DisplayName": "Position", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Position", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.CategoryData", + "m_ObjectId": "9bdf306d19264d968e91cf1d71a7e358", + "m_Name": "", + "m_ChildObjectList": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", + "m_ObjectId": "9c5c0728ad7248939f5d4c3e2c82dcd9", + "m_Id": 0, + "m_DisplayName": "Tangent", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Tangent", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "9f495d789e0b429f8195d4a47f847a11", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.Occlusion", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "b3b21f7f57d647d0bd203bbea97c50dc" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.Occlusion" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "a3cd8d95a97b4e8a9b5e386d3176aaaa", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.Emission", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "9751618f74584b57acba85e5c1d3ffe4" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.Emission" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", + "m_ObjectId": "aa0aef8991374317bddb64ce0b1bb6aa", + "m_Id": 0, + "m_DisplayName": "Base Color", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "BaseColor", + "m_StageCapability": 2, + "m_Value": { + "x": 0.5, + "y": 0.5, + "z": 0.5 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_ColorMode": 0, + "m_DefaultColor": { + "r": 0.5, + "g": 0.5, + "b": 0.5, + "a": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "b3b21f7f57d647d0bd203bbea97c50dc", + "m_Id": 0, + "m_DisplayName": "Ambient Occlusion", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Occlusion", + "m_StageCapability": 2, + "m_Value": 1.0, + "m_DefaultValue": 1.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget", + "m_ObjectId": "b439bb209ef84a4aa08c77adf19ac190", + "m_Datas": [], + "m_ActiveSubTarget": { + "m_Id": "659abee6fb6e4c3e880847294082f099" + }, + "m_AllowMaterialOverride": false, + "m_SurfaceType": 0, + "m_ZTestMode": 4, + "m_ZWriteControl": 0, + "m_AlphaMode": 0, + "m_RenderFace": 2, + "m_AlphaClip": false, + "m_CastShadows": true, + "m_ReceiveShadows": true, + "m_AdditionalMotionVectorMode": 0, + "m_AlembicMotionVectors": false, + "m_SupportsLODCrossFade": false, + "m_CustomEditorGUI": "", + "m_SupportVFX": false +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", + "m_ObjectId": "cb6b0a1d79b74d56a190735bdcb8414d", + "m_Id": 0, + "m_DisplayName": "Normal (Tangent Space)", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "NormalTS", + "m_StageCapability": 2, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 3 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", + "m_ObjectId": "cf9f1435a30f4dcfac8eb0f2b5d40df3", + "m_Id": 0, + "m_DisplayName": "Normal", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Normal", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "e158b5f387b548ee8cd6815894b40193", + "m_Id": 0, + "m_DisplayName": "Metallic", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Metallic", + "m_StageCapability": 2, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "ea20427b2b334fb0a658a9052a12a640", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.NormalTS", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "cb6b0a1d79b74d56a190735bdcb8414d" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.NormalTS" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "f160a4849bc9465f8233b6948f294c4e", + "m_Id": 0, + "m_DisplayName": "Smoothness", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Smoothness", + "m_StageCapability": 2, + "m_Value": 0.699999988079071, + "m_DefaultValue": 0.5, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "f93fbe86820e4b3eb981c223d108cf4a", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Normal", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "cf9f1435a30f4dcfac8eb0f2b5d40df3" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Normal" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "f9bdc64107584fc3a34b5224c6b9c1e6", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.Metallic", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "e158b5f387b548ee8cd6815894b40193" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.Metallic" +} + diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Lit_Graph.shadergraph.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Lit_Graph.shadergraph.meta new file mode 100644 index 00000000000..ec5d0f77a19 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Lit_Graph.shadergraph.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 2231fadcb49d04f3199446445965bbcd +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Lit_SG_V.mat b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Lit_SG_V.mat new file mode 100644 index 00000000000..4fa43b2c75c --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Lit_SG_V.mat @@ -0,0 +1,154 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-2938662716500970180 +MonoBehaviour: + m_ObjectHideFlags: 11 + 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: 639247ca83abc874e893eb93af2b5e44, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 0 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Deferred_Lit_SG_V + m_Shader: {fileID: -6465566751694194690, guid: 2231fadcb49d04f3199446445965bbcd, + type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _BUILTIN_QueueControl: 0 + - _BUILTIN_QueueOffset: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BlendOp: 0 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueControl: 0 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _SampleGI: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 0.7529412, g: 0, b: 0, a: 1} + - _Color: {r: 0.7529412, g: 0, b: 0, a: 1} + - _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 &6380172852636000544 +MonoBehaviour: + m_ObjectHideFlags: 11 + 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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 9 diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Lit_SG_V.mat.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Lit_SG_V.mat.meta new file mode 100644 index 00000000000..ddea386e0d7 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Lit_SG_V.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d4d9a10f9be044c0eb903a5c8a00fa25 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_SimpleLit_G.mat b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_SimpleLit_G.mat new file mode 100644 index 00000000000..870c414a2f2 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_SimpleLit_G.mat @@ -0,0 +1,141 @@ +%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: Deferred_SimpleLit_G + m_Shader: {fileID: 4800000, guid: 8d2bb70cbf9db8d4da26e15b26e74248, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _SPECULAR_COLOR + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossinessSource: 0 + - _GlossyReflections: 0 + - _Metallic: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _Shininess: 0 + - _Smoothness: 0.7 + - _SmoothnessSource: 0 + - _SmoothnessTextureChannel: 0 + - _SpecSource: 0 + - _SpecularHighlights: 0 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 0, g: 0.7529412, b: 0, a: 1} + - _Color: {r: 0, g: 0.7529412, b: 0, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _SpecColor: {r: 1, g: 1, b: 1, a: 0.7} + m_BuildTextureStacks: [] + m_AllowLocking: 1 +--- !u!114 &6380172852636000544 +MonoBehaviour: + m_ObjectHideFlags: 11 + 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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 9 diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_SimpleLit_G.mat.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_SimpleLit_G.mat.meta new file mode 100644 index 00000000000..79e669c30f0 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_SimpleLit_G.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7ad1b489ce18c4b4cbd0a851deb9e10d +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Unlit_Graph.shadergraph b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Unlit_Graph.shadergraph new file mode 100644 index 00000000000..855915c7467 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Unlit_Graph.shadergraph @@ -0,0 +1,440 @@ +{ + "m_SGVersion": 3, + "m_Type": "UnityEditor.ShaderGraph.GraphData", + "m_ObjectId": "38b788e09d1b427982e4a981ca11f2ca", + "m_Properties": [], + "m_Keywords": [], + "m_Dropdowns": [], + "m_CategoryData": [ + { + "m_Id": "a80897217bda4c84a1e6686b6d46f808" + } + ], + "m_Nodes": [ + { + "m_Id": "fc7791af09444c6f923c948536a483ed" + }, + { + "m_Id": "3caecccae3c24d8596db1d95d683c426" + }, + { + "m_Id": "5646b8aef570403895acbc83b1860d78" + }, + { + "m_Id": "cba7cbe93171438c9197c427ff81f703" + }, + { + "m_Id": "10e6732ef24e4cf59dd1092d97341fde" + } + ], + "m_GroupDatas": [], + "m_StickyNoteDatas": [], + "m_Edges": [ + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "10e6732ef24e4cf59dd1092d97341fde" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "cba7cbe93171438c9197c427ff81f703" + }, + "m_SlotId": 0 + } + } + ], + "m_VertexContext": { + "m_Position": { + "x": 0.0, + "y": 0.0 + }, + "m_Blocks": [ + { + "m_Id": "fc7791af09444c6f923c948536a483ed" + }, + { + "m_Id": "3caecccae3c24d8596db1d95d683c426" + }, + { + "m_Id": "5646b8aef570403895acbc83b1860d78" + } + ] + }, + "m_FragmentContext": { + "m_Position": { + "x": 0.0, + "y": 200.0 + }, + "m_Blocks": [ + { + "m_Id": "cba7cbe93171438c9197c427ff81f703" + } + ] + }, + "m_PreviewData": { + "serializedMesh": { + "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", + "m_Guid": "" + }, + "preventRotation": false + }, + "m_Path": "Shader Graphs", + "m_GraphPrecision": 1, + "m_PreviewMode": 2, + "m_OutputNode": { + "m_Id": "" + }, + "m_ActiveTargets": [ + { + "m_Id": "44ebde2d057846548c1fb21ee177b88c" + } + ] +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.ColorNode", + "m_ObjectId": "10e6732ef24e4cf59dd1092d97341fde", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Color", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -389.0, + "y": 200.0, + "width": 208.0, + "height": 125.0 + } + }, + "m_Slots": [ + { + "m_Id": "fabdc5fba92444d4a40ccc4dc605b5f4" + } + ], + "synonyms": [ + "rgba" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Color": { + "color": { + "r": 0.7529411911964417, + "g": 0.7529411911964417, + "b": 0.0, + "a": 0.0 + }, + "mode": 0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "3caecccae3c24d8596db1d95d683c426", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Normal", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "8ee33ac227434bab9a1911c10c609870" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Normal" +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget", + "m_ObjectId": "44ebde2d057846548c1fb21ee177b88c", + "m_Datas": [], + "m_ActiveSubTarget": { + "m_Id": "af9eb4d3db4b438db36f7819416fd50f" + }, + "m_AllowMaterialOverride": false, + "m_SurfaceType": 0, + "m_ZTestMode": 4, + "m_ZWriteControl": 0, + "m_AlphaMode": 0, + "m_RenderFace": 2, + "m_AlphaClip": false, + "m_CastShadows": true, + "m_ReceiveShadows": true, + "m_AdditionalMotionVectorMode": 0, + "m_AlembicMotionVectors": false, + "m_SupportsLODCrossFade": false, + "m_CustomEditorGUI": "", + "m_SupportVFX": false +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "5646b8aef570403895acbc83b1860d78", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Tangent", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "efeebbf44e4e42eda056a3940dc9bcc3" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Tangent" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", + "m_ObjectId": "8ee33ac227434bab9a1911c10c609870", + "m_Id": 0, + "m_DisplayName": "Normal", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Normal", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", + "m_ObjectId": "a242b36b6fcf480aae4d4d500f07dddd", + "m_Id": 0, + "m_DisplayName": "Base Color", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "BaseColor", + "m_StageCapability": 2, + "m_Value": { + "x": 0.5, + "y": 0.5, + "z": 0.5 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_ColorMode": 0, + "m_DefaultColor": { + "r": 0.5, + "g": 0.5, + "b": 0.5, + "a": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.CategoryData", + "m_ObjectId": "a80897217bda4c84a1e6686b6d46f808", + "m_Name": "", + "m_ChildObjectList": [] +} + +{ + "m_SGVersion": 2, + "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget", + "m_ObjectId": "af9eb4d3db4b438db36f7819416fd50f" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "cba7cbe93171438c9197c427ff81f703", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.BaseColor", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "a242b36b6fcf480aae4d4d500f07dddd" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.BaseColor" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot", + "m_ObjectId": "e83bdf9df65f4c2b861601099a050c9d", + "m_Id": 0, + "m_DisplayName": "Position", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Position", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", + "m_ObjectId": "efeebbf44e4e42eda056a3940dc9bcc3", + "m_Id": 0, + "m_DisplayName": "Tangent", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Tangent", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "fabdc5fba92444d4a40ccc4dc605b5f4", + "m_Id": 0, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "fc7791af09444c6f923c948536a483ed", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Position", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "e83bdf9df65f4c2b861601099a050c9d" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Position" +} + diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Unlit_Graph.shadergraph.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Unlit_Graph.shadergraph.meta new file mode 100644 index 00000000000..3df2db9309c --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Unlit_Graph.shadergraph.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: c5bdf0bf23b3340719648b2d60f0a55a +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Unlit_R.mat b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Unlit_R.mat new file mode 100644 index 00000000000..e6bace6726f --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Unlit_R.mat @@ -0,0 +1,138 @@ +%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: Deferred_Unlit_R + m_Shader: {fileID: 4800000, guid: 650dd9526735d5b46b79224bc6e94025, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BlendOp: 0 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _SampleGI: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 0.7529412, g: 0, b: 0, a: 1} + - _Color: {r: 0.7529412, g: 0, b: 0, a: 1} + - _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 &6380172852636000544 +MonoBehaviour: + m_ObjectHideFlags: 11 + 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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 9 diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Unlit_R.mat.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Unlit_R.mat.meta new file mode 100644 index 00000000000..f1ccf3773a3 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Unlit_R.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d0341a47ec4c841ad86e3bbcbf7ef84f +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Unlit_SG_Y.mat b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Unlit_SG_Y.mat new file mode 100644 index 00000000000..6fdda6c6300 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Unlit_SG_Y.mat @@ -0,0 +1,139 @@ +%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: Deferred_Unlit_SG_Y + m_Shader: {fileID: -6465566751694194690, guid: c5bdf0bf23b3340719648b2d60f0a55a, + type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BlendOp: 0 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueControl: 0 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _SampleGI: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 0.7529412, g: 0, b: 0, a: 1} + - _Color: {r: 0.7529412, g: 0, b: 0, a: 1} + - _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 &6380172852636000544 +MonoBehaviour: + m_ObjectHideFlags: 11 + 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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 9 diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Unlit_SG_Y.mat.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Unlit_SG_Y.mat.meta new file mode 100644 index 00000000000..6bb2ee231ac --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred/Deferred_Unlit_SG_Y.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7ce354a4fbd5f4da29ab84be2123934a +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred_GBuffer.unity b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred_GBuffer.unity new file mode 100644 index 00000000000..e26bc7a1178 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred_GBuffer.unity @@ -0,0 +1,1540 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 10 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0.18028378, g: 0.22571412, b: 0.30692285, a: 1} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 12 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 256 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 1 + m_PVRDenoiserTypeDirect: 1 + m_PVRDenoiserTypeIndirect: 1 + m_PVRDenoiserTypeAO: 1 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + m_LightingDataAsset: {fileID: 20201, guid: 0000000000000000f000000000000000, type: 0} + m_LightingSettings: {fileID: 0} +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 3 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + buildHeightMesh: 0 + maxJobWorkers: 0 + preserveTilesOutsideBounds: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &65625740 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 65625744} + - component: {fileID: 65625743} + - component: {fileID: 65625742} + - component: {fileID: 65625741} + m_Layer: 0 + m_Name: SphereUnlit + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!135 &65625741 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 65625740} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &65625742 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 65625740} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: d0341a47ec4c841ad86e3bbcbf7ef84f, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &65625743 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 65625740} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &65625744 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 65625740} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -6, y: 2, z: 0} + m_LocalScale: {x: 4, y: 4, z: 4} + m_ConstrainProportionsScale: 1 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &202023670 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 202023673} + - component: {fileID: 202023672} + - component: {fileID: 202023671} + m_Layer: 0 + m_Name: Point Light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &202023671 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 202023670} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Version: 3 + m_UsePipelineSettings: 1 + m_AdditionalLightsShadowResolutionTier: 2 + m_LightLayerMask: 1 + m_RenderingLayers: 1 + m_CustomShadowLayers: 0 + m_ShadowLayerMask: 1 + m_ShadowRenderingLayers: 1 + m_LightCookieSize: {x: 1, y: 1} + m_LightCookieOffset: {x: 0, y: 0} + m_SoftShadowQuality: 0 +--- !u!108 &202023672 +Light: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 202023670} + m_Enabled: 1 + serializedVersion: 11 + m_Type: 2 + m_Color: {r: 1, g: 0, b: 0, a: 1} + m_Intensity: 1 + m_Range: 20 + m_SpotAngle: 30 + m_InnerSpotAngle: 21.80208 + m_CookieSize: 10 + m_Shadows: + m_Type: 0 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_CullingMatrixOverride: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 + m_UseCullingMatrixOverride: 0 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingLayerMask: 1 + m_Lightmapping: 4 + m_LightShadowCasterMode: 0 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} + m_UseBoundingSphereOverride: 0 + m_UseViewFrustumForShadowCasterCull: 1 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &202023673 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 202023670} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: -5, z: -1} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &318533621 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 318533625} + - component: {fileID: 318533624} + - component: {fileID: 318533623} + - component: {fileID: 318533622} + m_Layer: 0 + m_Name: SphereComplexLit + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!135 &318533622 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 318533621} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &318533623 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 318533621} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 9f88666de509042afafe5f55bc937b74, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &318533624 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 318533621} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &318533625 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 318533621} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 6, y: 2, z: 0} + m_LocalScale: {x: 4, y: 4, z: 4} + m_ConstrainProportionsScale: 1 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &570808776 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 570808780} + - component: {fileID: 570808779} + - component: {fileID: 570808778} + - component: {fileID: 570808777} + m_Layer: 0 + m_Name: SphereLit + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!135 &570808777 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 570808776} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &570808778 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 570808776} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 0d1047310b0ac4c56a8e4436385f2347, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &570808779 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 570808776} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &570808780 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 570808776} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 2, y: 2, z: 0} + m_LocalScale: {x: 4, y: 4, z: 4} + m_ConstrainProportionsScale: 1 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &829075400 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 829075404} + - component: {fileID: 829075403} + - component: {fileID: 829075402} + - component: {fileID: 829075401} + m_Layer: 0 + m_Name: SphereLit_SG + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!135 &829075401 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 829075400} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &829075402 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 829075400} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: d4d9a10f9be044c0eb903a5c8a00fa25, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &829075403 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 829075400} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &829075404 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 829075400} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: -2, z: 0} + m_LocalScale: {x: 4, y: 4, z: 4} + m_ConstrainProportionsScale: 1 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &878973496 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 878973500} + - component: {fileID: 878973499} + - component: {fileID: 878973498} + - component: {fileID: 878973497} + m_Layer: 0 + m_Name: ShaderRef + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!65 &878973497 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 878973496} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &878973498 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 878973496} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &878973499 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 878973496} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &878973500 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 878973496} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &961636401 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 961636405} + - component: {fileID: 961636404} + - component: {fileID: 961636402} + - component: {fileID: 961636406} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &961636402 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 961636401} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_RenderShadows: 1 + m_RequiresDepthTextureOption: 2 + m_RequiresOpaqueTextureOption: 2 + m_CameraType: 0 + m_Cameras: [] + m_RendererIndex: 17 + m_VolumeLayerMask: + serializedVersion: 2 + m_Bits: 1 + m_VolumeTrigger: {fileID: 0} + m_VolumeFrameworkUpdateModeOption: 2 + m_RenderPostProcessing: 0 + m_Antialiasing: 0 + m_AntialiasingQuality: 2 + m_StopNaN: 0 + m_Dithering: 0 + m_ClearDepth: 1 + m_AllowXRRendering: 1 + m_AllowHDROutput: 1 + m_UseScreenCoordOverride: 0 + m_ScreenSizeOverride: {x: 0, y: 0, z: 0, w: 0} + m_ScreenCoordScaleBias: {x: 0, y: 0, z: 0, w: 0} + m_RequiresDepthTexture: 0 + m_RequiresColorTexture: 0 + m_Version: 2 + m_TaaSettings: + quality: 3 + frameInfluence: 0.1 + jitterScale: 1 + mipBias: 0 + varianceClampScale: 0.9 + contrastAdaptiveSharpening: 0 +--- !u!20 &961636404 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 961636401} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_Iso: 200 + m_ShutterSpeed: 0.005 + m_Aperture: 16 + m_FocusDistance: 10 + m_FocalLength: 50 + m_BladeCount: 5 + m_Curvature: {x: 2, y: 11} + m_BarrelClipping: 0.25 + m_Anamorphism: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &961636405 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 961636401} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -7.85} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &961636406 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 961636401} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 73231aa468d81ea49bc3d914080de185, type: 3} + m_Name: + m_EditorClassIdentifier: + ImageComparisonSettings: + TargetWidth: 960 + TargetHeight: 540 + TargetMSAASamples: 4 + PerPixelCorrectnessThreshold: 0.001 + PerPixelGammaThreshold: 0.003921569 + PerPixelAlphaThreshold: 0.003921569 + RMSEThreshold: 0 + AverageCorrectnessThreshold: 0.0025 + IncorrectPixelsThreshold: 0.0000038146973 + UseHDR: 0 + UseBackBuffer: 0 + ImageResolution: 3 + ActiveImageTests: 1 + ActivePixelTests: -1 + WaitFrames: 0 + XRCompatible: 1 + CheckMemoryAllocation: 1 + SetBackBufferResolution: 0 +--- !u!1 &1010744422 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1010744425} + - component: {fileID: 1010744424} + - component: {fileID: 1010744423} + m_Layer: 0 + m_Name: Directional Light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1010744423 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1010744422} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Version: 3 + m_UsePipelineSettings: 1 + m_AdditionalLightsShadowResolutionTier: 2 + m_LightLayerMask: 1 + m_RenderingLayers: 1 + m_CustomShadowLayers: 0 + m_ShadowLayerMask: 1 + m_ShadowRenderingLayers: 1 + m_LightCookieSize: {x: 1, y: 1} + m_LightCookieOffset: {x: 0, y: 0} + m_SoftShadowQuality: 0 +--- !u!108 &1010744424 +Light: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1010744422} + m_Enabled: 1 + serializedVersion: 11 + m_Type: 1 + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Intensity: 1 + m_Range: 10 + m_SpotAngle: 30 + m_InnerSpotAngle: 21.80208 + m_CookieSize: 10 + m_Shadows: + m_Type: 2 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_CullingMatrixOverride: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 + m_UseCullingMatrixOverride: 0 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingLayerMask: 1 + m_Lightmapping: 4 + m_LightShadowCasterMode: 0 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_ColorTemperature: 6570 + m_UseColorTemperature: 1 + m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} + m_UseBoundingSphereOverride: 0 + m_UseViewFrustumForShadowCasterCull: 1 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &1010744425 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1010744422} + serializedVersion: 2 + m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} + m_LocalPosition: {x: 0, y: 3, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} +--- !u!1 &1190471343 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1190471347} + - component: {fileID: 1190471346} + - component: {fileID: 1190471345} + - component: {fileID: 1190471344} + m_Layer: 0 + m_Name: SphereSimpleLit + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!135 &1190471344 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1190471343} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1190471345 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1190471343} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 7ad1b489ce18c4b4cbd0a851deb9e10d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &1190471346 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1190471343} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &1190471347 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1190471343} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -2, y: 2, z: 0} + m_LocalScale: {x: 4, y: 4, z: 4} + m_ConstrainProportionsScale: 1 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1269189928 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1269189932} + - component: {fileID: 1269189931} + - component: {fileID: 1269189930} + - component: {fileID: 1269189929} + m_Layer: 0 + m_Name: SphereComplexLit_SG + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!135 &1269189929 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1269189928} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1269189930 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1269189928} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: c67bc245325b24fabb57406085ff3cf9, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &1269189931 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1269189928} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &1269189932 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1269189928} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 4, y: -2, z: 0} + m_LocalScale: {x: 4, y: 4, z: 4} + m_ConstrainProportionsScale: 1 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1458745968 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1458745972} + - component: {fileID: 1458745971} + - component: {fileID: 1458745970} + - component: {fileID: 1458745969} + m_Layer: 0 + m_Name: SphereUnlit_SG + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!135 &1458745969 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1458745968} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1458745970 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1458745968} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 7ce354a4fbd5f4da29ab84be2123934a, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &1458745971 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1458745968} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &1458745972 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1458745968} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -4, y: -2, z: 0} + m_LocalScale: {x: 4, y: 4, z: 4} + m_ConstrainProportionsScale: 1 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1521124715 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1521124719} + - component: {fileID: 1521124718} + - component: {fileID: 1521124717} + - component: {fileID: 1521124716} + m_Layer: 0 + m_Name: Cube + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!65 &1521124716 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1521124715} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1521124717 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1521124715} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: da9b80098755d4473bd0041bd485d6ed, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &1521124718 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1521124715} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &1521124719 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1521124715} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 16, y: 9, z: 0.1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1698873373 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1698873375} + - component: {fileID: 1698873374} + m_Layer: 0 + m_Name: SelectQualitySetting + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1698873374 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1698873373} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4f1decc188d2f3146ab93291a5c743e9, type: 3} + m_Name: + m_EditorClassIdentifier: + qualityLevelIndex: 0 +--- !u!4 &1698873375 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1698873373} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -1.5195698, y: 1.3765798, z: 0.5559635} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1660057539 &9223372036854775807 +SceneRoots: + m_ObjectHideFlags: 0 + m_Roots: + - {fileID: 1698873375} + - {fileID: 961636405} + - {fileID: 1010744425} + - {fileID: 1521124719} + - {fileID: 65625744} + - {fileID: 1190471347} + - {fileID: 570808780} + - {fileID: 318533625} + - {fileID: 1458745972} + - {fileID: 829075404} + - {fileID: 1269189932} + - {fileID: 202023673} + - {fileID: 878973500} diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred_GBuffer.unity.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred_GBuffer.unity.meta new file mode 100644 index 00000000000..37c7fdec430 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred_GBuffer.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: f42c387ccdc6840159743027165e1b7c +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred_GBuffer_Alpha.unity b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred_GBuffer_Alpha.unity new file mode 100644 index 00000000000..d87f9bd2e6c --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred_GBuffer_Alpha.unity @@ -0,0 +1,1540 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 10 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0.18028378, g: 0.22571412, b: 0.30692285, a: 1} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 12 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 256 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 1 + m_PVRDenoiserTypeDirect: 1 + m_PVRDenoiserTypeIndirect: 1 + m_PVRDenoiserTypeAO: 1 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + m_LightingDataAsset: {fileID: 20201, guid: 0000000000000000f000000000000000, type: 0} + m_LightingSettings: {fileID: 0} +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 3 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + buildHeightMesh: 0 + maxJobWorkers: 0 + preserveTilesOutsideBounds: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &65625740 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 65625744} + - component: {fileID: 65625743} + - component: {fileID: 65625742} + - component: {fileID: 65625741} + m_Layer: 0 + m_Name: SphereUnlit + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!135 &65625741 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 65625740} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &65625742 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 65625740} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: d0341a47ec4c841ad86e3bbcbf7ef84f, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &65625743 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 65625740} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &65625744 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 65625740} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -6, y: 2, z: 0} + m_LocalScale: {x: 4, y: 4, z: 4} + m_ConstrainProportionsScale: 1 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &202023670 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 202023673} + - component: {fileID: 202023672} + - component: {fileID: 202023671} + m_Layer: 0 + m_Name: Point Light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &202023671 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 202023670} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Version: 3 + m_UsePipelineSettings: 1 + m_AdditionalLightsShadowResolutionTier: 2 + m_LightLayerMask: 1 + m_RenderingLayers: 1 + m_CustomShadowLayers: 0 + m_ShadowLayerMask: 1 + m_ShadowRenderingLayers: 1 + m_LightCookieSize: {x: 1, y: 1} + m_LightCookieOffset: {x: 0, y: 0} + m_SoftShadowQuality: 0 +--- !u!108 &202023672 +Light: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 202023670} + m_Enabled: 1 + serializedVersion: 11 + m_Type: 2 + m_Color: {r: 1, g: 0, b: 0, a: 1} + m_Intensity: 1 + m_Range: 20 + m_SpotAngle: 30 + m_InnerSpotAngle: 21.80208 + m_CookieSize: 10 + m_Shadows: + m_Type: 0 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_CullingMatrixOverride: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 + m_UseCullingMatrixOverride: 0 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingLayerMask: 1 + m_Lightmapping: 4 + m_LightShadowCasterMode: 0 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} + m_UseBoundingSphereOverride: 0 + m_UseViewFrustumForShadowCasterCull: 1 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &202023673 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 202023670} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: -5, z: -1} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &318533621 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 318533625} + - component: {fileID: 318533624} + - component: {fileID: 318533623} + - component: {fileID: 318533622} + m_Layer: 0 + m_Name: SphereComplexLit + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!135 &318533622 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 318533621} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &318533623 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 318533621} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 9f88666de509042afafe5f55bc937b74, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &318533624 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 318533621} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &318533625 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 318533621} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 6, y: 2, z: 0} + m_LocalScale: {x: 4, y: 4, z: 4} + m_ConstrainProportionsScale: 1 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &570808776 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 570808780} + - component: {fileID: 570808779} + - component: {fileID: 570808778} + - component: {fileID: 570808777} + m_Layer: 0 + m_Name: SphereLit + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!135 &570808777 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 570808776} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &570808778 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 570808776} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 0d1047310b0ac4c56a8e4436385f2347, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &570808779 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 570808776} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &570808780 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 570808776} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 2, y: 2, z: 0} + m_LocalScale: {x: 4, y: 4, z: 4} + m_ConstrainProportionsScale: 1 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &829075400 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 829075404} + - component: {fileID: 829075403} + - component: {fileID: 829075402} + - component: {fileID: 829075401} + m_Layer: 0 + m_Name: SphereLit_SG + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!135 &829075401 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 829075400} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &829075402 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 829075400} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: d4d9a10f9be044c0eb903a5c8a00fa25, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &829075403 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 829075400} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &829075404 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 829075400} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: -2, z: 0} + m_LocalScale: {x: 4, y: 4, z: 4} + m_ConstrainProportionsScale: 1 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &961636401 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 961636405} + - component: {fileID: 961636404} + - component: {fileID: 961636402} + - component: {fileID: 961636406} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &961636402 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 961636401} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_RenderShadows: 1 + m_RequiresDepthTextureOption: 2 + m_RequiresOpaqueTextureOption: 2 + m_CameraType: 0 + m_Cameras: [] + m_RendererIndex: 18 + m_VolumeLayerMask: + serializedVersion: 2 + m_Bits: 1 + m_VolumeTrigger: {fileID: 0} + m_VolumeFrameworkUpdateModeOption: 2 + m_RenderPostProcessing: 0 + m_Antialiasing: 0 + m_AntialiasingQuality: 2 + m_StopNaN: 0 + m_Dithering: 0 + m_ClearDepth: 1 + m_AllowXRRendering: 1 + m_AllowHDROutput: 1 + m_UseScreenCoordOverride: 0 + m_ScreenSizeOverride: {x: 0, y: 0, z: 0, w: 0} + m_ScreenCoordScaleBias: {x: 0, y: 0, z: 0, w: 0} + m_RequiresDepthTexture: 0 + m_RequiresColorTexture: 0 + m_Version: 2 + m_TaaSettings: + quality: 3 + frameInfluence: 0.1 + jitterScale: 1 + mipBias: 0 + varianceClampScale: 0.9 + contrastAdaptiveSharpening: 0 +--- !u!20 &961636404 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 961636401} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_Iso: 200 + m_ShutterSpeed: 0.005 + m_Aperture: 16 + m_FocusDistance: 10 + m_FocalLength: 50 + m_BladeCount: 5 + m_Curvature: {x: 2, y: 11} + m_BarrelClipping: 0.25 + m_Anamorphism: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &961636405 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 961636401} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -7.85} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &961636406 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 961636401} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 73231aa468d81ea49bc3d914080de185, type: 3} + m_Name: + m_EditorClassIdentifier: + ImageComparisonSettings: + TargetWidth: 960 + TargetHeight: 540 + TargetMSAASamples: 4 + PerPixelCorrectnessThreshold: 0.001 + PerPixelGammaThreshold: 0.003921569 + PerPixelAlphaThreshold: 0.003921569 + RMSEThreshold: 0 + AverageCorrectnessThreshold: 0.0025 + IncorrectPixelsThreshold: 0.0000038146973 + UseHDR: 0 + UseBackBuffer: 0 + ImageResolution: 3 + ActiveImageTests: 1 + ActivePixelTests: -1 + WaitFrames: 0 + XRCompatible: 1 + CheckMemoryAllocation: 1 + SetBackBufferResolution: 0 +--- !u!1 &1010744422 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1010744425} + - component: {fileID: 1010744424} + - component: {fileID: 1010744423} + m_Layer: 0 + m_Name: Directional Light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1010744423 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1010744422} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Version: 3 + m_UsePipelineSettings: 1 + m_AdditionalLightsShadowResolutionTier: 2 + m_LightLayerMask: 1 + m_RenderingLayers: 1 + m_CustomShadowLayers: 0 + m_ShadowLayerMask: 1 + m_ShadowRenderingLayers: 1 + m_LightCookieSize: {x: 1, y: 1} + m_LightCookieOffset: {x: 0, y: 0} + m_SoftShadowQuality: 0 +--- !u!108 &1010744424 +Light: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1010744422} + m_Enabled: 1 + serializedVersion: 11 + m_Type: 1 + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Intensity: 1 + m_Range: 10 + m_SpotAngle: 30 + m_InnerSpotAngle: 21.80208 + m_CookieSize: 10 + m_Shadows: + m_Type: 2 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_CullingMatrixOverride: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 + m_UseCullingMatrixOverride: 0 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingLayerMask: 1 + m_Lightmapping: 4 + m_LightShadowCasterMode: 0 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_ColorTemperature: 6570 + m_UseColorTemperature: 1 + m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} + m_UseBoundingSphereOverride: 0 + m_UseViewFrustumForShadowCasterCull: 1 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &1010744425 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1010744422} + serializedVersion: 2 + m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} + m_LocalPosition: {x: 0, y: 3, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} +--- !u!1 &1115557141 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1115557145} + - component: {fileID: 1115557144} + - component: {fileID: 1115557143} + - component: {fileID: 1115557142} + m_Layer: 0 + m_Name: ShaderRef + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!65 &1115557142 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1115557141} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1115557143 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1115557141} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &1115557144 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1115557141} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &1115557145 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1115557141} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1190471343 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1190471347} + - component: {fileID: 1190471346} + - component: {fileID: 1190471345} + - component: {fileID: 1190471344} + m_Layer: 0 + m_Name: SphereSimpleLit + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!135 &1190471344 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1190471343} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1190471345 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1190471343} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 7ad1b489ce18c4b4cbd0a851deb9e10d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &1190471346 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1190471343} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &1190471347 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1190471343} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -2, y: 2, z: 0} + m_LocalScale: {x: 4, y: 4, z: 4} + m_ConstrainProportionsScale: 1 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1269189928 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1269189932} + - component: {fileID: 1269189931} + - component: {fileID: 1269189930} + - component: {fileID: 1269189929} + m_Layer: 0 + m_Name: SphereComplexLit_SG + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!135 &1269189929 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1269189928} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1269189930 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1269189928} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: c67bc245325b24fabb57406085ff3cf9, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &1269189931 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1269189928} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &1269189932 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1269189928} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 4, y: -2, z: 0} + m_LocalScale: {x: 4, y: 4, z: 4} + m_ConstrainProportionsScale: 1 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1458745968 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1458745972} + - component: {fileID: 1458745971} + - component: {fileID: 1458745970} + - component: {fileID: 1458745969} + m_Layer: 0 + m_Name: SphereUnlit_SG + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!135 &1458745969 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1458745968} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1458745970 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1458745968} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 7ce354a4fbd5f4da29ab84be2123934a, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &1458745971 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1458745968} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &1458745972 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1458745968} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -4, y: -2, z: 0} + m_LocalScale: {x: 4, y: 4, z: 4} + m_ConstrainProportionsScale: 1 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1521124715 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1521124719} + - component: {fileID: 1521124718} + - component: {fileID: 1521124717} + - component: {fileID: 1521124716} + m_Layer: 0 + m_Name: Cube + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!65 &1521124716 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1521124715} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1521124717 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1521124715} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: da9b80098755d4473bd0041bd485d6ed, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &1521124718 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1521124715} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &1521124719 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1521124715} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 16, y: 9, z: 0.1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1698873373 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1698873375} + - component: {fileID: 1698873374} + m_Layer: 0 + m_Name: SelectQualitySetting + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1698873374 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1698873373} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4f1decc188d2f3146ab93291a5c743e9, type: 3} + m_Name: + m_EditorClassIdentifier: + qualityLevelIndex: 0 +--- !u!4 &1698873375 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1698873373} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -1.5195698, y: 1.3765798, z: 0.5559635} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1660057539 &9223372036854775807 +SceneRoots: + m_ObjectHideFlags: 0 + m_Roots: + - {fileID: 1698873375} + - {fileID: 961636405} + - {fileID: 1010744425} + - {fileID: 1521124719} + - {fileID: 65625744} + - {fileID: 1190471347} + - {fileID: 570808780} + - {fileID: 318533625} + - {fileID: 1458745972} + - {fileID: 829075404} + - {fileID: 1269189932} + - {fileID: 202023673} + - {fileID: 1115557145} diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred_GBuffer_Alpha.unity.meta b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred_GBuffer_Alpha.unity.meta new file mode 100644 index 00000000000..f67d167c3b1 --- /dev/null +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Scenes/060_Deferred_GBuffer_Alpha.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: e90c743b5f0d84d30bc98e6d5be68eca +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Test/TestFilters/TestCaseFilters.asset b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Test/TestFilters/TestCaseFilters.asset index bdb5bd25d1b..5af8616aa1c 100644 --- a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Test/TestFilters/TestCaseFilters.asset +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Assets/Test/TestFilters/TestCaseFilters.asset @@ -574,6 +574,26 @@ MonoBehaviour: XrSdk: OculusLoader StereoModes: 0 Reason: Unstable for OpenGLES3 on Quest + - FilteredScene: {fileID: 0} + FilteredScenes: + - {fileID: 102900000, guid: f42c387ccdc6840159743027165e1b7c, type: 3} + - {fileID: 102900000, guid: e90c743b5f0d84d30bc98e6d5be68eca, type: 3} + ColorSpace: -1 + BuildPlatform: -2 + GraphicsDevice: 17 + XrSdk: + StereoModes: 0 + Reason: No GL on Deferred. + - FilteredScene: {fileID: 0} + FilteredScenes: + - {fileID: 102900000, guid: f42c387ccdc6840159743027165e1b7c, type: 3} + - {fileID: 102900000, guid: e90c743b5f0d84d30bc98e6d5be68eca, type: 3} + ColorSpace: -1 + BuildPlatform: -2 + GraphicsDevice: 11 + XrSdk: + StereoModes: 0 + Reason: No GLES on Deferred. - FilteredScene: {fileID: 0} FilteredScenes: - {fileID: 102900000, guid: 0bcaa565757b243bba6bd2c007b0977c, type: 3} diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Packages/manifest.json b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Packages/manifest.json index ac6c158cf94..b86afa50a00 100644 --- a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Packages/manifest.json +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/Packages/manifest.json @@ -12,6 +12,7 @@ "com.unity.render-pipelines.core": "file:../../../../../Packages/com.unity.render-pipelines.core", "com.unity.render-pipelines.universal": "file:../../../../../Packages/com.unity.render-pipelines.universal", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "local.code.coverage.references": "file:../../../Packages/local.code.coverage.references", "local.utf.references": "file:../../../Packages/local.utf.references", "local.gtf.references": "file:../../../Packages/local.gtf.references", diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/ProjectSettings/EditorBuildSettings.asset b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/ProjectSettings/EditorBuildSettings.asset index 4bd1a5416f1..17aaa6a9096 100644 --- a/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/ProjectSettings/EditorBuildSettings.asset +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Foundation/ProjectSettings/EditorBuildSettings.asset @@ -155,6 +155,12 @@ EditorBuildSettings: - enabled: 1 path: Assets/Scenes/056_SoftShadowQuality_Custom_8K_4Cascades.unity guid: db7018b6563a7684fa69876b4864c270 + - enabled: 1 + path: Assets/Scenes/060_Deferred_GBuffer.unity + guid: f42c387ccdc6840159743027165e1b7c + - enabled: 1 + path: Assets/Scenes/060_Deferred_GBuffer_Alpha.unity + guid: e90c743b5f0d84d30bc98e6d5be68eca - enabled: 1 path: Assets/Scenes/066_Blending.unity guid: d27c51a5aecee4e0e9c29141a0819c8b diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Lighting/Packages/manifest.json b/Tests/SRPTests/Projects/UniversalGraphicsTest_Lighting/Packages/manifest.json index 909dfc9f893..75baa3c5324 100644 --- a/Tests/SRPTests/Projects/UniversalGraphicsTest_Lighting/Packages/manifest.json +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Lighting/Packages/manifest.json @@ -11,6 +11,7 @@ "com.unity.render-pipelines.core": "file:../../../../../Packages/com.unity.render-pipelines.core", "com.unity.render-pipelines.universal": "file:../../../../../Packages/com.unity.render-pipelines.universal", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "local.code.coverage.references": "file:../../../Packages/local.code.coverage.references", "local.utf.references": "file:../../../Packages/local.utf.references", "local.gtf.references": "file:../../../Packages/local.gtf.references", diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_PostPro/Packages/manifest.json b/Tests/SRPTests/Projects/UniversalGraphicsTest_PostPro/Packages/manifest.json index e330cc69c88..a93dc70ba24 100644 --- a/Tests/SRPTests/Projects/UniversalGraphicsTest_PostPro/Packages/manifest.json +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_PostPro/Packages/manifest.json @@ -12,6 +12,7 @@ "com.unity.render-pipelines.universal": "file:../../../../../Packages/com.unity.render-pipelines.universal", "com.unity.testing.hdr-faking": "file:../../../Packages/com.unity.testing.hdr-faking", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "local.code.coverage.references": "file:../../../Packages/local.code.coverage.references", "local.utf.references": "file:../../../Packages/local.utf.references", "local.gtf.references": "file:../../../Packages/local.gtf.references", diff --git a/Tests/SRPTests/Projects/UniversalGraphicsTest_Terrain/Packages/manifest.json b/Tests/SRPTests/Projects/UniversalGraphicsTest_Terrain/Packages/manifest.json index 0a742fff631..74ef81c6fe7 100644 --- a/Tests/SRPTests/Projects/UniversalGraphicsTest_Terrain/Packages/manifest.json +++ b/Tests/SRPTests/Projects/UniversalGraphicsTest_Terrain/Packages/manifest.json @@ -11,6 +11,7 @@ "com.unity.render-pipelines.core": "file:../../../../../Packages/com.unity.render-pipelines.core", "com.unity.render-pipelines.universal": "file:../../../../../Packages/com.unity.render-pipelines.universal", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "local.code.coverage.references": "file:../../../Packages/local.code.coverage.references", "local.utf.references": "file:../../../Packages/local.utf.references", "local.gtf.references": "file:../../../Packages/local.gtf.references", diff --git a/Tests/SRPTests/Projects/UniversalUpgradeTest/Packages/manifest.json b/Tests/SRPTests/Projects/UniversalUpgradeTest/Packages/manifest.json index b6dcf8ab904..d39602b3bfb 100644 --- a/Tests/SRPTests/Projects/UniversalUpgradeTest/Packages/manifest.json +++ b/Tests/SRPTests/Projects/UniversalUpgradeTest/Packages/manifest.json @@ -8,6 +8,7 @@ "com.unity.render-pipelines.core": "file:../../../../../Packages/com.unity.render-pipelines.core", "com.unity.render-pipelines.universal": "file:../../../../../Packages/com.unity.render-pipelines.universal", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "local.utf.references": "file:../../../Packages/local.utf.references", "com.unity.timeline": "1.6.0-pre.3", "com.unity.ugui": "2.0.0", diff --git a/Tests/SRPTests/Projects/VisualEffectGraph_HDRP/Packages/manifest.json b/Tests/SRPTests/Projects/VisualEffectGraph_HDRP/Packages/manifest.json index 749f608501c..8924d77cf7e 100644 --- a/Tests/SRPTests/Projects/VisualEffectGraph_HDRP/Packages/manifest.json +++ b/Tests/SRPTests/Projects/VisualEffectGraph_HDRP/Packages/manifest.json @@ -11,6 +11,7 @@ "com.unity.render-pipelines.high-definition-config": "file:../../../../../Packages/com.unity.render-pipelines.high-definition-config", "com.unity.shaderanalysis": "file:../../../../../Packages/com.unity.shaderanalysis", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "com.unity.testing.graphics-performance": "file:../../../Packages/com.unity.testing.graphics-performance", "com.unity.testing.visualeffectgraph": "file:../../../Packages/com.unity.testing.visualeffectgraph", "com.unity.testing.xr": "file:../../../Packages/com.unity.testing.xr", diff --git a/Tests/SRPTests/Projects/VisualEffectGraph_URP/Packages/manifest.json b/Tests/SRPTests/Projects/VisualEffectGraph_URP/Packages/manifest.json index 23c1549c886..0c1559cfd2a 100644 --- a/Tests/SRPTests/Projects/VisualEffectGraph_URP/Packages/manifest.json +++ b/Tests/SRPTests/Projects/VisualEffectGraph_URP/Packages/manifest.json @@ -9,6 +9,7 @@ "com.unity.render-pipelines.universal": "file:../../../../../Packages/com.unity.render-pipelines.universal", "com.unity.shaderanalysis": "file:../../../../../Packages/com.unity.shaderanalysis", "com.unity.shadergraph": "file:../../../../../Packages/com.unity.shadergraph", + "com.unity.rendering.light-transport": "file:../../../../../Packages/com.unity.rendering.light-transport", "com.unity.testing.graphics-performance": "file:../../../Packages/com.unity.testing.graphics-performance", "com.unity.testing.visualeffectgraph": "file:../../../Packages/com.unity.testing.visualeffectgraph", "com.unity.testing.xr": "file:../../../Packages/com.unity.testing.xr",