diff --git a/com.unity.render-pipelines.high-definition/Documentation~/whats-new-13.md b/com.unity.render-pipelines.high-definition/Documentation~/whats-new-13.md index fd9b961fde8..10a6f18a3a5 100644 --- a/com.unity.render-pipelines.high-definition/Documentation~/whats-new-13.md +++ b/com.unity.render-pipelines.high-definition/Documentation~/whats-new-13.md @@ -4,6 +4,16 @@ This page contains an overview of new features, improvements, and issues resolve ## Added +### Material Runtime API + +From this HDRP version, you can use new APIs to run shader validation steps from script at runtime, both in the editor and in standalone builds. You can use this to change the keyword state or one or more properties in order to enable or disable HDRP shader features on a Material. +For more information, see the [Material Scripting API documentation](Material-API.md). + +### Access main directional light from ShaderGraph + +From HDRP version 13.0, [ShaderGraph](https://docs.unity3d.com/Packages/com.unity.shadergraph@13.1/manual/index.html) includes a new node called *Main Light Direction* that you can use to control the direction of the main light. +For more information, see the [Main Light Direction Node](https://docs.unity3d.com/Packages/com.unity.shadergraph@13.1/manual/Main-Light-Direction-Node.html). + ## Updated ### Depth Of Field diff --git a/com.unity.shadergraph/Documentation~/TableOfContents.md b/com.unity.shadergraph/Documentation~/TableOfContents.md index 5617d796ba4..ecc20e83b44 100644 --- a/com.unity.shadergraph/Documentation~/TableOfContents.md +++ b/com.unity.shadergraph/Documentation~/TableOfContents.md @@ -103,6 +103,7 @@ * Lighting * [Ambient](Ambient-Node) * [Baked GI](Baked-GI-Node) + * [Main Light Direction](https://docs.unity3d.com/Packages/com.unity.shadergraph@13.1/manual/Main-Light-Direction-Node.html) * [Reflection Probe](Reflection-Probe-Node) * Matrix * [Matrix 2x2](Matrix-2x2-Node)