浏览代码
Refactor GetBakedDiffuseLighting
Refactor GetBakedDiffuseLighting
- Shader code change: Rename GetBakedDiffuseLighting to ModifyBakedDiffuseLighting. This function now handle lighting model for transmission too. Lux meter debug mode is factor outisde. - Shader code change: GetBakedDiffuseLighting is not call anymore in GBuffer or forward pass, including the ConvertSurfaceDataToBSDFData and GetPreLightData, this is done in ModifyBakedDiffuseLighting now - Shader code change: Added a backBakeDiffuseLighting to BuiltinData to handle lighting for transmission - Shader code change: Material must now call InitBuiltinData (Init all to zero + init bakeDiffuseLighting and backBakeDiffuseLighting ) and PostInitBuiltinData - Update shader graph associate code/main
Sebastien Lagarde
6 年前
当前提交
56790568
共有 20 个文件被更改,包括 153 次插入 和 221 次删除
-
42com.unity.render-pipelines.high-definition/HDRP/Editor/ShaderGraph/HDPBRPass.template
-
14com.unity.render-pipelines.high-definition/HDRP/Editor/ShaderGraph/HDUnlitPassForward.template
-
6com.unity.render-pipelines.high-definition/HDRP/Material/Builtin/BuiltinData.cs
-
26com.unity.render-pipelines.high-definition/HDRP/Material/Builtin/BuiltinData.cs.hlsl
-
5com.unity.render-pipelines.high-definition/HDRP/Material/Decal/DecalData.hlsl
-
6com.unity.render-pipelines.high-definition/HDRP/Material/LayeredLit/LayeredLitData.hlsl
-
35com.unity.render-pipelines.high-definition/HDRP/Material/Lit/Lit.hlsl
-
45com.unity.render-pipelines.high-definition/HDRP/Material/Lit/LitBuiltinData.hlsl
-
10com.unity.render-pipelines.high-definition/HDRP/Material/Lit/LitData.hlsl
-
60com.unity.render-pipelines.high-definition/HDRP/Material/MaterialUtilities.hlsl
-
34com.unity.render-pipelines.high-definition/HDRP/Material/StackLit/StackLit.hlsl
-
46com.unity.render-pipelines.high-definition/HDRP/Material/StackLit/StackLitData.hlsl
-
18com.unity.render-pipelines.high-definition/HDRP/Material/Unlit/UnlitData.hlsl
-
3com.unity.render-pipelines.high-definition/HDRP/ShaderPass/ShaderPassDepthOnly.hlsl
-
3com.unity.render-pipelines.high-definition/HDRP/ShaderPass/ShaderPassDistortion.hlsl
-
4com.unity.render-pipelines.high-definition/HDRP/ShaderPass/ShaderPassForward.hlsl
-
3com.unity.render-pipelines.high-definition/HDRP/ShaderPass/ShaderPassForwardUnlit.hlsl
-
8com.unity.render-pipelines.high-definition/HDRP/ShaderPass/ShaderPassGBuffer.hlsl
-
3com.unity.render-pipelines.high-definition/HDRP/ShaderPass/ShaderPassLightTransport.hlsl
-
3com.unity.render-pipelines.high-definition/HDRP/ShaderPass/ShaderPassVelocity.hlsl
撰写
预览
正在加载...
取消
保存
Reference in new issue