Paul Melamed
7 年前
当前提交
797daf79
共有 252 个文件被更改,包括 1576 次插入 和 1072 次删除
-
1.gitignore
-
61TestProjects/GraphicsTests/Packages/manifest.json
-
3TestProjects/ShaderGraph/Assets/Testing/Editor/IntegrationTests/ShaderGenerationTest.cs
-
57TestProjects/ShaderGraph/Packages/manifest.json
-
4build.py
-
13com.unity.render-pipelines.core/CoreRP/Debugging/MousePositionDebug.cs
-
211com.unity.render-pipelines.core/CoreRP/Editor/CoreEditorUtils.cs
-
4com.unity.render-pipelines.core/CoreRP/Editor/Debugging/DebugWindow.cs
-
7com.unity.render-pipelines.core/CoreRP/Inputs/InputRegistering.cs
-
44com.unity.render-pipelines.core/CoreRP/ShaderLibrary/API/D3D11.hlsl
-
23com.unity.render-pipelines.core/CoreRP/ShaderLibrary/API/GLCore.hlsl
-
2com.unity.render-pipelines.core/CoreRP/ShaderLibrary/API/GLES2.hlsl
-
23com.unity.render-pipelines.core/CoreRP/ShaderLibrary/API/GLES3.hlsl
-
41com.unity.render-pipelines.core/CoreRP/ShaderLibrary/API/Metal.hlsl
-
44com.unity.render-pipelines.core/CoreRP/ShaderLibrary/API/PSSL.hlsl
-
44com.unity.render-pipelines.core/CoreRP/ShaderLibrary/API/Switch.hlsl
-
44com.unity.render-pipelines.core/CoreRP/ShaderLibrary/API/Vulkan.hlsl
-
44com.unity.render-pipelines.core/CoreRP/ShaderLibrary/API/XBoxOne.hlsl
-
7com.unity.render-pipelines.core/CoreRP/ShaderLibrary/Common.hlsl
-
7com.unity.render-pipelines.core/CoreRP/Shadow/AdditionalShadowData.cs
-
2com.unity.render-pipelines.core/CoreRP/Utilities/SceneRenderPipeline.cs
-
2com.unity.render-pipelines.core/package.json
-
24com.unity.render-pipelines.high-definition/CHANGELOG.md
-
9com.unity.render-pipelines.high-definition/HDRP/Camera/HDAdditionalCameraData.cs
-
6com.unity.render-pipelines.high-definition/HDRP/Camera/HDCamera.cs
-
5com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Reflection/PlanarReflectionProbeUI.Drawers.cs
-
4com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Reflection/SerializedPlanarReflectionProbe.cs
-
4com.unity.render-pipelines.high-definition/HDRP/Editor/Material/LayeredLit/LayeredLitUI.cs
-
11com.unity.render-pipelines.high-definition/HDRP/Editor/Material/Lit/LitUI.cs
-
15com.unity.render-pipelines.high-definition/HDRP/Editor/Material/Lit/StandardsToHDLitMaterialUpgrader.cs
-
6com.unity.render-pipelines.high-definition/HDRP/Editor/Material/StackLit/StackLitUI.cs
-
9com.unity.render-pipelines.high-definition/HDRP/Editor/Material/Unlit/UnlitUI.cs
-
105com.unity.render-pipelines.high-definition/HDRP/Editor/ShaderGraph/HDPBRPass.template
-
355com.unity.render-pipelines.high-definition/HDRP/Editor/ShaderGraph/HDPBRSubShader.cs
-
226com.unity.render-pipelines.high-definition/HDRP/Editor/ShaderGraph/HDSubShaderUtilities.cs
-
94com.unity.render-pipelines.high-definition/HDRP/Editor/ShaderGraph/HDUnlitPassForward.template
-
274com.unity.render-pipelines.high-definition/HDRP/Editor/ShaderGraph/HDUnlitSubShader.cs
-
2com.unity.render-pipelines.high-definition/HDRP/Editor/BuildProcessors/HDRPreprocessShaders.cs.meta
-
107com.unity.render-pipelines.high-definition/HDRP/Editor/BuildProcessors/HDRPreprocessShaders.cs
-
2com.unity.render-pipelines.high-definition/HDRP/Editor/BuildProcessors/HDRPPreprocessBuild.cs.meta
-
2com.unity.render-pipelines.high-definition/HDRP/Editor/BuildProcessors/HDRPPreprocessBuild.cs
-
2com.unity.render-pipelines.high-definition/HDRP/Editor/AssetProcessors/NormalMapAverageLengthTexturePostprocessor.cs.meta
-
4com.unity.render-pipelines.high-definition/HDRP/Lighting/GlobalIlluminationUtils.cs
-
7com.unity.render-pipelines.high-definition/HDRP/Lighting/Light/HDAdditionalLightData.cs
-
36com.unity.render-pipelines.high-definition/HDRP/Lighting/Light/HDLightEditorUtilities.cs
-
7com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/HDAdditionalReflectionData.cs
-
4com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/PlanarReflectionProbe.cs
-
9com.unity.render-pipelines.high-definition/HDRP/Lighting/Volumetrics/DensityVolume.cs
-
5com.unity.render-pipelines.high-definition/HDRP/Lighting/Volumetrics/DensityVolumeManager.cs
-
4com.unity.render-pipelines.high-definition/HDRP/Lighting/Volumetrics/VolumeTextureAtlas.cs
-
26com.unity.render-pipelines.high-definition/HDRP/Lighting/Volumetrics/VolumeVoxelization.compute
-
7com.unity.render-pipelines.high-definition/HDRP/Lighting/Volumetrics/VolumetricLighting.cs
-
4com.unity.render-pipelines.high-definition/HDRP/Material/Builtin/BuiltinData.cs
-
14com.unity.render-pipelines.high-definition/HDRP/Material/Builtin/BuiltinData.cs.hlsl
-
4com.unity.render-pipelines.high-definition/HDRP/Material/Builtin/BuiltinData.hlsl
-
8com.unity.render-pipelines.high-definition/HDRP/Material/LayeredLit/LayeredLit.shader
-
2com.unity.render-pipelines.high-definition/HDRP/Material/LayeredLit/LayeredLitData.hlsl
-
8com.unity.render-pipelines.high-definition/HDRP/Material/LayeredLit/LayeredLitTessellation.shader
-
14com.unity.render-pipelines.high-definition/HDRP/Material/Lit/Lit.hlsl
-
8com.unity.render-pipelines.high-definition/HDRP/Material/Lit/Lit.shader
-
5com.unity.render-pipelines.high-definition/HDRP/Material/Lit/LitBuiltinData.hlsl
-
1com.unity.render-pipelines.high-definition/HDRP/Material/Lit/LitProperties.hlsl
-
8com.unity.render-pipelines.high-definition/HDRP/Material/Lit/LitTessellation.shader
-
16com.unity.render-pipelines.high-definition/HDRP/Material/StackLit/StackLit.hlsl
-
29com.unity.render-pipelines.high-definition/HDRP/Material/StackLit/StackLit.shader
-
4com.unity.render-pipelines.high-definition/HDRP/Material/StackLit/StackLitData.hlsl
-
5com.unity.render-pipelines.high-definition/HDRP/Material/StackLit/StackLitProperties.hlsl
-
8com.unity.render-pipelines.high-definition/HDRP/Material/Unlit/Unlit.shader
-
7com.unity.render-pipelines.high-definition/HDRP/Material/Unlit/UnlitData.hlsl
-
2com.unity.render-pipelines.high-definition/HDRP/Material/Unlit/UnlitProperties.hlsl
-
1com.unity.render-pipelines.high-definition/HDRP/RenderPipelineResources/DefaultHDDecalMaterial.mat
-
1com.unity.render-pipelines.high-definition/HDRP/RenderPipelineResources/DefaultHDMaterial.mat
-
2com.unity.render-pipelines.high-definition/HDRP/RenderPipelineResources/DepthPyramid.compute
-
5com.unity.render-pipelines.high-definition/HDRP/RenderPipelineResources/HDRenderPipelineResources.asset
-
4com.unity.render-pipelines.high-definition/HDRP/RenderPipelineResources/RenderPipelineResources.cs
-
12com.unity.render-pipelines.high-definition/HDRP/ShaderPass/ShaderPassVelocity.hlsl
-
4com.unity.render-pipelines.high-definition/HDRP/ShaderPass/VertMesh.hlsl
-
2com.unity.render-pipelines.high-definition/package.json
-
58com.unity.render-pipelines.lightweight/LWRP/Editor/LightweightLightEditor.cs
-
30com.unity.render-pipelines.lightweight/LWRP/Editor/ShaderGraph/LightWeightPBRSubShader.cs
-
44com.unity.render-pipelines.lightweight/LWRP/Editor/ShaderGraph/LightWeightUnlitSubShader.cs
-
2com.unity.render-pipelines.lightweight/LWRP/Editor/ShaderGraph/lightweightPBRForwardPass.template
-
2com.unity.render-pipelines.lightweight/LWRP/Editor/ShaderGraph/lightweightUnlitPass.template
-
38com.unity.render-pipelines.lightweight/LWRP/Editor/ShaderPreprocessor.cs
-
22com.unity.render-pipelines.lightweight/LWRP/LightweightForwardRenderer.cs
-
4com.unity.render-pipelines.lightweight/LWRP/LightweightPipeline.cs
-
30com.unity.render-pipelines.lightweight/LWRP/LightweightPipelineCore.cs
-
3com.unity.render-pipelines.lightweight/LWRP/Passes/DepthOnlyPass.cs
-
3com.unity.render-pipelines.lightweight/LWRP/Passes/DirectionalShadowsPass.cs
-
49com.unity.render-pipelines.lightweight/LWRP/Passes/ForwardLitPass.cs
-
3com.unity.render-pipelines.lightweight/LWRP/Passes/LocalShadowsPass.cs
-
11com.unity.render-pipelines.lightweight/LWRP/Passes/ScreenSpaceShadowResolvePass.cs
-
4com.unity.render-pipelines.lightweight/LWRP/Passes/ScriptableRenderPass.cs
-
2com.unity.render-pipelines.lightweight/package.json
-
32com.unity.shadergraph/CHANGELOG.md
-
2com.unity.shadergraph/Editor/Data/Graphs/IShaderGraph.cs
-
4com.unity.shadergraph/Editor/Data/Graphs/MaterialGraph.cs
-
55com.unity.shadergraph/Editor/Data/Graphs/PreviewProperty.cs
-
8com.unity.shadergraph/Editor/Data/Graphs/ShaderGraphRequirements.cs
-
5com.unity.shadergraph/Editor/Data/MasterNodes/ISubShader.cs
|
|||
{ |
|||
"dependencies": { |
|||
"com.unity.postprocessing": "file:../../../com.unity.postprocessing", |
|||
"com.unity.render-pipelines.core": "file:../../../com.unity.render-pipelines.core", |
|||
"com.unity.shadergraph": "file:../../../com.unity.shadergraph", |
|||
"com.unity.render-pipelines.high-definition": "file:../../../com.unity.render-pipelines.high-definition", |
|||
"com.unity.render-pipelines.lightweight": "file:../../../com.unity.render-pipelines.lightweight" |
|||
}, |
|||
"testables": [ |
|||
"com.unity.render-pipelines.core", |
|||
"com.unity.render-pipelines.high-definition", |
|||
"com.unity.render-pipelines.lightweight" |
|||
] |
|||
"dependencies": { |
|||
"com.unity.ads": "2.0.8", |
|||
"com.unity.analytics": "2.0.16", |
|||
"com.unity.collab-proxy": "1.2.4-preview", |
|||
"com.unity.package-manager-ui": "2.0.0-preview.2", |
|||
"com.unity.postprocessing": "file:../../../com.unity.postprocessing", |
|||
"com.unity.purchasing": "2.0.1", |
|||
"com.unity.render-pipelines.core": "file:../../../com.unity.render-pipelines.core", |
|||
"com.unity.render-pipelines.high-definition": "file:../../../com.unity.render-pipelines.high-definition", |
|||
"com.unity.render-pipelines.lightweight": "file:../../../com.unity.render-pipelines.lightweight", |
|||
"com.unity.shadergraph": "file:../../../com.unity.shadergraph", |
|||
"com.unity.standardevents": "1.0.13", |
|||
"com.unity.textmeshpro": "1.2.1", |
|||
"com.unity.modules.ai": "1.0.0", |
|||
"com.unity.modules.animation": "1.0.0", |
|||
"com.unity.modules.assetbundle": "1.0.0", |
|||
"com.unity.modules.audio": "1.0.0", |
|||
"com.unity.modules.cloth": "1.0.0", |
|||
"com.unity.modules.director": "1.0.0", |
|||
"com.unity.modules.imageconversion": "1.0.0", |
|||
"com.unity.modules.imgui": "1.0.0", |
|||
"com.unity.modules.jsonserialize": "1.0.0", |
|||
"com.unity.modules.particlesystem": "1.0.0", |
|||
"com.unity.modules.physics": "1.0.0", |
|||
"com.unity.modules.physics2d": "1.0.0", |
|||
"com.unity.modules.screencapture": "1.0.0", |
|||
"com.unity.modules.terrain": "1.0.0", |
|||
"com.unity.modules.terrainphysics": "1.0.0", |
|||
"com.unity.modules.tilemap": "1.0.0", |
|||
"com.unity.modules.ui": "1.0.0", |
|||
"com.unity.modules.uielements": "1.0.0", |
|||
"com.unity.modules.umbra": "1.0.0", |
|||
"com.unity.modules.unityanalytics": "1.0.0", |
|||
"com.unity.modules.unitywebrequest": "1.0.0", |
|||
"com.unity.modules.unitywebrequestassetbundle": "1.0.0", |
|||
"com.unity.modules.unitywebrequestaudio": "1.0.0", |
|||
"com.unity.modules.unitywebrequesttexture": "1.0.0", |
|||
"com.unity.modules.unitywebrequestwww": "1.0.0", |
|||
"com.unity.modules.vehicles": "1.0.0", |
|||
"com.unity.modules.video": "1.0.0", |
|||
"com.unity.modules.vr": "1.0.0", |
|||
"com.unity.modules.wind": "1.0.0", |
|||
"com.unity.modules.xr": "1.0.0" |
|||
}, |
|||
"testables": [ |
|||
"com.unity.render-pipelines.core", |
|||
"com.unity.render-pipelines.high-definition", |
|||
"com.unity.render-pipelines.lightweight" |
|||
] |
|||
} |
|
|||
{ |
|||
"dependencies": { |
|||
"com.unity.postprocessing": "file:../../../com.unity.postprocessing", |
|||
"com.unity.render-pipelines.core": "file:../../../com.unity.render-pipelines.core", |
|||
"com.unity.shadergraph": "file:../../../com.unity.shadergraph", |
|||
"com.unity.render-pipelines.high-definition": "file:../../../com.unity.render-pipelines.high-definition", |
|||
"com.unity.render-pipelines.lightweight": "file:../../../com.unity.render-pipelines.lightweight" |
|||
}, |
|||
"testables": [ |
|||
"com.unity.render-pipelines.shadergraph" |
|||
] |
|||
"dependencies": { |
|||
"com.unity.ads": "2.0.8", |
|||
"com.unity.analytics": "2.0.16", |
|||
"com.unity.collab-proxy": "1.2.4-preview", |
|||
"com.unity.package-manager-ui": "2.0.0-preview.2", |
|||
"com.unity.postprocessing": "file:../../../com.unity.postprocessing", |
|||
"com.unity.purchasing": "2.0.1", |
|||
"com.unity.render-pipelines.core": "file:../../../com.unity.render-pipelines.core", |
|||
"com.unity.render-pipelines.high-definition": "file:../../../com.unity.render-pipelines.high-definition", |
|||
"com.unity.render-pipelines.lightweight": "file:../../../com.unity.render-pipelines.lightweight", |
|||
"com.unity.shadergraph": "file:../../../com.unity.shadergraph", |
|||
"com.unity.standardevents": "1.0.13", |
|||
"com.unity.textmeshpro": "1.2.1", |
|||
"com.unity.modules.ai": "1.0.0", |
|||
"com.unity.modules.animation": "1.0.0", |
|||
"com.unity.modules.assetbundle": "1.0.0", |
|||
"com.unity.modules.audio": "1.0.0", |
|||
"com.unity.modules.cloth": "1.0.0", |
|||
"com.unity.modules.director": "1.0.0", |
|||
"com.unity.modules.imageconversion": "1.0.0", |
|||
"com.unity.modules.imgui": "1.0.0", |
|||
"com.unity.modules.jsonserialize": "1.0.0", |
|||
"com.unity.modules.particlesystem": "1.0.0", |
|||
"com.unity.modules.physics": "1.0.0", |
|||
"com.unity.modules.physics2d": "1.0.0", |
|||
"com.unity.modules.screencapture": "1.0.0", |
|||
"com.unity.modules.terrain": "1.0.0", |
|||
"com.unity.modules.terrainphysics": "1.0.0", |
|||
"com.unity.modules.tilemap": "1.0.0", |
|||
"com.unity.modules.ui": "1.0.0", |
|||
"com.unity.modules.uielements": "1.0.0", |
|||
"com.unity.modules.umbra": "1.0.0", |
|||
"com.unity.modules.unityanalytics": "1.0.0", |
|||
"com.unity.modules.unitywebrequest": "1.0.0", |
|||
"com.unity.modules.unitywebrequestassetbundle": "1.0.0", |
|||
"com.unity.modules.unitywebrequestaudio": "1.0.0", |
|||
"com.unity.modules.unitywebrequesttexture": "1.0.0", |
|||
"com.unity.modules.unitywebrequestwww": "1.0.0", |
|||
"com.unity.modules.vehicles": "1.0.0", |
|||
"com.unity.modules.video": "1.0.0", |
|||
"com.unity.modules.vr": "1.0.0", |
|||
"com.unity.modules.wind": "1.0.0", |
|||
"com.unity.modules.xr": "1.0.0" |
|||
}, |
|||
"testables": [ |
|||
"com.unity.render-pipelines.shadergraph" |
|||
] |
|||
} |
|
|||
using System; |
|||
using UnityEditor.Graphing; |
|||
using UnityEngine.Experimental.UIElements; |
|||
using System.Collections.Generic; |
|||
string GetSubshader(IMasterNode masterNode, GenerationMode mode); |
|||
string GetSubshader(IMasterNode masterNode, GenerationMode mode, List<string> sourceAssetDependencyPaths = null); |
|||
} |
|||
} |
部分文件因为文件数量过多而无法显示
撰写
预览
正在加载...
取消
保存
Reference in new issue