Develop

Scripts and Shaders

Updated: May 1, 2025

Scripts

Scripts are in Packages/Meta XR Movement SDK/Runtime/Scripts and Packages/Meta XR Movement SDK/Editor.

Shaders

MovementPBRMetallic

Metallic flow PBR shader similar to Unity standard’s metallic PBR. It includes more effects such as diffuse wrap to provide a softer appearance for skin materials, and better specularity using area light sampling.

MovementPBRSpecular

Specular flow PBR shader similar to Unity standard’s specular PBR. It includes more effects such as diffuse wrap to provide a softer appearance for skin materials, and better specularity using area light sampling.

ProceduralGradientSkybox

Produces a skybox by having a gradient that shifts between colors that exist at the bottom of the skybox, the horizon, and the top of the skybox.