ShaderEffect

Up and coming: shot check knows this class and its members today, and programs run it once the native runtime lands.

Up and coming

Run your own fragment shader as one step of the chain.

One of the effects an ImageProcessor runs. Shader is a ShaderModule or a .frag: any shader that reads Texture at SamplePosition works, and Uniforms hands it values by name.

Made with Instance.new("ShaderEffect") or Clone().

Properties

NameTypeDefaultDescription
ShaderShaderModule | stringThe fragment shader to run, a ShaderModule or a .frag; any shader that reads Texture at SamplePosition works.
Uniforms{ [string]: UniformValue }
From ImageEffect 2
From ShotInstance 33