Version: Unity 6.7 Alpha (6000.7)
Language : English
Reconstruct world space positions in a shader in URP
Import a file from the URP shader library

Shader methods in URP

Resources for the library of High-Level Shader Language (HLSL) shader files that contain helper methods.

Page Description
Import a file from the URP shader library Use the #include directive in HLSL to import a URP shader file.
Transform positions in a custom URP shader Transform vertex, fragment, normal and tangent positions between coordinate spaces.
Use the camera in a custom URP shader Get the position and direction of the camera.
Use lighting in a custom URP shader Get the lights in a scene, and calculate lighting.
Use indirect lighting in a custom URP shader Use reflection probes or Adaptive Probe Volumes in a URP shader.
Use shadows in a custom URP shader Get shadow data from lights in the scene, and calculate shadows.
ShaderLab Pass tags in URP reference Find the Pass tags URP uses to determine which shader passes to run in different parts of the render pipeline.

Additional resources

Reconstruct world space positions in a shader in URP
Import a file from the URP shader library