SC Post Effects Documentation

SC Post Effects
Version: 2.2.0
Review

6.Scripting #

Familiarity with C# and OOP programming is assumed. Support cannot be extended to coding help. Some specific functionality and use cases really need to be handled on a project-specific basis with some creative thinking.
If you are using an assembly definition, ensure you add a reference to the sc.posteffects.runtime assembly, otherwise you won’t be able to access the SCPE namespace and effect classes.

The most common use case is modifying an effect’s parameters at runtime. How it works is practically identical to Unity’s own effects can be modified, the difference being the effect you want to address.

Built-in Render Pipeline (Post Processing package)

The package’s manual has a dedicated section regarding this.

Universal Render Pipeline

The concept is the same, yet the syntax differs slightly.

Examples

I’ve composed an example script, which jolts the intensity of the Radial Blur effect quickly up and down when you press the Space bar.

View the script on Pastebin:

Built-in RP URP

 

Yes No Suggest edit
Last updated on February 22, 2022
1 of 1 users found this section helpful
Suggest Edit