CVR Global Shader Updater
Defines global Shader properties that any shader in the scene can read. Vector values can be driven by animation; changes are committed via Shader.SetGlobalVector whenever OnDidApplyAnimationProperties fires.
Properties
Section titled “Properties”Update Values
Section titled “Update Values”When enabled, writes the four CVR_CCK_Global_n Vector4 globals on animation ticks. Each global only writes when its value changes.
CVR_CCK_Global_1 / _2 / _3 / _4
Section titled “CVR_CCK_Global_1 / _2 / _3 / _4”Four Vector4 variables. Each is exposed globally under the name CVR_CCK_Global_1 through CVR_CCK_Global_4.
Update Texture
Section titled “Update Texture”When enabled, writes a global texture every Update. Leave off if the texture doesn’t change.
Render Texture
Section titled “Render Texture”RenderTexture assigned to the global. Required for texture mode.
Property Name
Section titled “Property Name”Global texture property name that shaders sample. Must be non-empty whitespace-trimmed for the update to fire.
Lifecycle
Section titled “Lifecycle”The component registers itself with CVRTexturePropertyParserManager on Start and deregisters on destroy. When destroyed, the global texture binding is cleared (set to null).
Source
Section titled “Source”CVR-GameFiles/ABI.CCK.Components/CVRGlobalShaderUpdater.cs